逃生美元符号html

Fen*_*ian 5 html

我想awk '$1==1' test.txt在网站上显示字符串.

但它不起作用,因为它包含$符号.

我怎么能在HTML中逃避这个符号?

Fen*_*ian 10

我知道了.

<p> awk '&#36;1==1' test.txt <\p>

这将显示在网站上:

awk '$1==1' test.txt
Run Code Online (Sandbox Code Playgroud)