bug-bash
[Top][All Lists]
Advanced

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

Re: [patch #10070] toggle invert flag when reading `!'


From: Chet Ramey
Subject: Re: [patch #10070] toggle invert flag when reading `!'
Date: Thu, 27 May 2021 12:13:55 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.2

On 5/27/21 11:43 AM, Andreas Schwab wrote:

True, but bash accepts it.

The manual doesn't document that extension, though.

The bash manual documents the bash implementation. You can argue that it's
not clear enough that it allows multiple `!' operators, but it does not say
that it uses the POSIX grammar as a base and documents deviations.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

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