Programming and posix - April 2002
April 3, 2002
Solution Symposium
Page 79
hp e3000
programming
and posix
posix shell escaping and quoting
• \ - disregard the special meaning of the next character
• 'string' - disregard the special meaning of all
characters in the string
• "string" - disregard all special meanings except for
command substitution and variable dereferencing
• bad: callci run foo;info="bar"
• good: callci run foo\;info=\"bar\"
• good: callci 'run foo;info="bar"'