On 24/01/2022 08:51, Austin Group Bug Tracker via austin-group-l at The Open Group wrote:

The following issue has been SUBMITTED.
======================================================================
https://www.austingroupbugs.net/view.php?id=1558
======================================================================
[...]

All of bash, zsh, yash, dash, BSDs (except those like OpenBSD, MirBSD that
use pdksh) allow [^...]. Most fnmatch() implementations do (including on
OpenBSD making it a discrepancy between sh and fnmatch()/find...).

Desired Action:
Require [^...] to negate the bracket expression in addition to [!...] in
issue8, or at least make it a "future direction" that it *will* be required
in a future version, so as to at last remove that unnecessary discrepancy
between regexp and shell pattern syntax.

This is highly misleading. Yes, all of those allow [^...] but not all of them treat the ^ in it as negation. Whether they treat it as negation is what's relevant, not whether they allow it.

Cheers,
Harald van Dijk

  • [1003.1(2016... Austin Group Bug Tracker via austin-group-l at The Open Group
    • Re: [10... Harald van Dijk via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to