bug-bash
[Top][All Lists]
Advanced

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

Re: escaping


From: Paul Jarc
Subject: Re: escaping
Date: Wed, 03 Oct 2001 13:42:13 -0400
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7

"leo" <address@hidden@telenet-ops.be> wrote:
> echo "\z" #when using double quotes, every special character is turned off
> except variable and argument substitution ($), backticks and backslash.

man bash, see QUOTING:
       Enclosing  characters  in double quotes preserves the lit=AD
       eral value of all characters within the quotes,  with  the
       exception  of  $, `, and \.  The characters $ and ` retain
       their special meaning within double quotes.  The backslash
       retains  its  special meaning only when followed by one of
       the following characters: $, `, ",  \,  or  <newline>.   A
       double quote may be quoted within double quotes by preced=AD
       ing it with a backslash.


paul



reply via email to

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