From Linux Bash Shell Scripting Tutorial Wiki
Jump to navigation Jump to 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!)


"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