bug-bash
[Top][All Lists]
Advanced

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

Re: Improper parsing of ! within double quotes


From: Paul Jarc
Subject: Re: Improper parsing of ! within double quotes
Date: 12 May 2001 18:50:32 -0400
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7

Saint skullY the Dazed <skully@netlsd.org> writes:
> Bash can't seem to handle correctly parsing backslash characters that appear
> just before the bang (!) character, when both are enclosed in double quotes.

This is the intended behavior.  The man page says:
# Enclosing characters in double quotes preserves the literal 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
# preceding it with a backslash.


paul



reply via email to

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