Programming and posix - February 2001
February 10, 2001
Solution Symposium
Page 78
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"'