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: Saint skullY the Dazed
Subject: Re: Improper parsing of ! within double quotes
Date: Mon, 14 May 2001 04:18:23 -0700
User-agent: Mutt/1.2.5i

On Mon, May 14, 2001 at 10:34:09AM -0400, Chet Ramey wrote:
> Only single quotes and backslashes can quote the history expansion character.
> Since backslash is not one of the characters that is treated specially within
> double quotes, backslashes before the history expansion character are not
> removed in double-quoted strings.

As Paul pointed out, that's appearantly expected behavior. Maybe the man page
section that relates to what gets parsed within double quotes should get 
updated so it lists ! as something that gets parsed, unless preceeded by
a backslash, in which case neither is parsed (That particular behavior,
though expected, is not documented anywhere in the man page).

-skullY



reply via email to

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