On Tue, May 29, 2012 at 10:02:30PM +0200, suvayu ali wrote:
> I have never seen the syntax above with the `$'. What is the difference
> between the two? I tried looking for it in the info manual under
> "Quoting", but could not find anything. Can someone point me to the
> relevant part of the docs?
QUOTING
...
Words of the form $'string' are treated specially. The word expands to
string, with backslash-escaped characters replaced as specified by the
ANSI C standard. ...
(Bash 4.1 manual on Debian.)