Talk:Quoting

From Linux Shell Scripting Tutorial - A Beginner's handbook
Jump to: navigation, search

The ANSI C escapes are a functionality of the 'echo' command. There's a special quoting mechanism that implements this functionality directly into the shell. Use that. 'echo' was, is and stays unreliable in its behaviour (that's also why POSIX specified the printf(1) command!)


TheBonsai


"The special parameters * and @ have special meaning when in double quotes, but you can disable them with the backslash"

  • and @ alone are not special (* is, unquoted, okay). They're only special as parameters: $@ and $*, the examples don't show this