[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15483: POSIXLY_CORRECT documentation vis a vis some simple EREs
From: |
Paul Eggert |
Subject: |
bug#15483: POSIXLY_CORRECT documentation vis a vis some simple EREs |
Date: |
Sun, 29 Sep 2013 16:53:21 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
Glenn Golden wrote:
> Per the final sentence of 9.5.3, "conforming applications cannot use
> [constructs like '*xyz']"
This is making the incorrect assumption that 'grep'
internally must be implemented as a strictly conforming
POSIX application. POSIX does not require that, and the
rest of your conclusions therefore do not follow.
Eric explained the intent of POSIXLY_CORRECT pretty well.
Occasionally people ask for a different feature, where
a GNU application diagnoses the use of any extension to
POSIX. The need for such a feature is less, though, and
the hassle is greater, and so it's typically not worth
the aggravation.
As this does not seem to be a bug in grep I'm going to
take the liberty of marking it 'done'.