On Tue, May 29, 2012 at 10:12 PM, Greg Wooledge <address@hidden> wrote:
> 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.)
Ah! I somehow overlooked that part. Thanks a lot Greg, and sorry for the noise.
--
Suvayu
Open source is the future. It sets us free.