bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How is $"string" translated?


From: Davide Brini
Subject: Re: How is $"string" translated?
Date: Mon, 30 Aug 2010 13:15:25 +0100

On Mon, 30 Aug 2010 14:30:45 +0300 Pierre Gaston <pierre.gaston@gmail.com>
wrote:

> On Mon, Aug 30, 2010 at 1:35 PM, Clark J. Wang <dearvoid@gmail.com> wrote:
> > The Bash manual says:
> >
> > "A double-quoted string preceded by a dollar sign ($) will cause the
> > string to be translated according to the current locale.  If the
> > current locale is C or  POSIX,  the dollar sign is ignored.  If the
> > string is translated and replaced, the replacement is double-quoted."
> >
> > Anyone can give an example to show how the $"string" is translated?
> >
> see:
> http://mywiki.wooledge.org/BashFAQ/098

Thanks, this is very useful (and shows I misunderstood how it works).

-- 
D.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]