bug-bash
[Top][All Lists]
Advanced

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

Re: inconsistent treatment of backslash-bang


From: Lawrence D'Oliveiro
Subject: Re: inconsistent treatment of backslash-bang
Date: Mon, 21 Jul 2008 13:22:59 +1200
User-agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6

Paul Jarc wrote:

> Lawrence D'Oliveiro <address@hidden> wrote:
>>
>> Chet Ramey wrote:
>>
>>> I already explained that bash follows csh as closely as possible
>>> in its history expansion implementation.
>> 
>> Well, it doesn't:
> 
> Sure it does ...

I have shown that it doesn't.

> Where they differ is in escape/quote handling ...

Like I said, it doesn't.

>> Either \ acts as an escape or it doesn't
> 
> You would like that to be true, as would lots of other people.  But
> the current behavior is too well-entrenched to change now without
> breaking lots of people's expectations, based on bash's past behavior.

I would like to know of examples of such expectations. It's not going to
break any executable scripts, since it has already been pointed out to me
that history expansion doesn't happen in scripts.





reply via email to

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