Is the tilde special?

May 20, 2008
12,354
135
Syracuse, NY, USA
Below, the percent sign doesn't print when the escape character is ~. [The newline escape sequences are correctly recognized.]

Code:
v:\> type pct.btm & pct.btm
echo ^r^n%@eval[1 / 3=1]%%^r^n
setdos /e~
echo ~r~n%@eval[1 / 3=1]%%~r~n
setdos /e#
echo #r#n%@eval[1 / 3=1]%%#r#n
setdos /e^


0.3%


0.3


0.3%


v:\>
 

Similar threads