bug-bash
[Top][All Lists]
Advanced

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

What does extquote do


From: Enrique Perez-Terron
Subject: What does extquote do
Date: Sun, 16 Oct 2005 19:13:58 +0200
User-agent: Opera M2/8.50 (Linux, build 1358)

I am unable to make sense of the bash man-page description of the
extquote shopt option.

It says:

  extquote
   If set, $’string’ and $"string" quoting is performed within
   ${parameter} expansions enclosed in double quotes.  This option
   is enabled by default.

Can anybody come up with an example where the setting of extquote
makes a difference?   I would actually like to have two examples,
one with $'string' and one with $"string".

-Enrique




reply via email to

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