<tt>"..."</tt>: Turn off Meaning of Special Characters EXCEPT $ and `



next up previous contents
Next: `...`: Use Output Up: Special Characters Previous: '...': Turn off

"...": Turn off Meaning of Special Characters EXCEPT $ and `

Within double quotes, all special characters are interpreted as their ASCII characters (not what they represent). This excludes the dollar sign ($) and the back quote (`).

Adding to the above example,

sh_prompt> echo VARI = $VARI
VARI = me
sh_prompt> echo "VARI = $VARI"
VARI = me
NOTE the spaces in the above example: they are printed as seen (spaces are significant within quotes).



Super-User
Fri Feb 17 15:55:40 EST 1995