On Mon, 30 Aug 2010 18:35:46 +0800
"Clark J. Wang" <dearv...@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?

You can find out what strings are available on your system for translation
by using the -D option:

-D        A list of all double-quoted strings preceded by $ is printed on
          the standard output. These are the strings that are subject to
          language translation when the current locale is not C or POSIX.
          This implies the -n option; no commands will be executed.

(On my system and some other I could test, that prints nothing).

-- 
D.

Reply via email to