[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] IFS & read
From: |
suvayu ali |
Subject: |
Re: [Help-bash] IFS & read |
Date: |
Tue, 29 May 2012 22:18:53 +0200 |
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.
Re: [Help-bash] IFS & read, Stephane Chazelas, 2012/05/26