On 09/01/2010 08:25 AM, Eric Blake wrote:
Personally, I'd _like_ to try to get POSIX to allow unspecified behavior
for a bracket expression that starts and ends with colon, at which
point, we could then drop the POSIXLY_CORRECT notion, and blindly reject
[:upper:]. In fact, I'm going to go create that aardvark today (link to
follow soon...)

In fact, one could argue that since current POSIX appears to be silent on behavior for duplicate listing of the same collating element within a single bracket expression, that grep.git's behavior of erroring out on '[:alpha:]' need not depend on POSIXLY_CORRECT in the first place. But by that same argument, grep could error out on '[aa]', which is not very desirable.

At any rate, here's the bug report - now to see how the Austin Group reacts:
http://austingroupbugs.net/view.php?id=305

--
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Reply via email to