bug-gnulib
[Top][All Lists]
Advanced

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

Re: Dealing with character ranges in grep


From: Eric Blake
Subject: Re: Dealing with character ranges in grep
Date: Wed, 15 Jun 2011 14:09:45 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110419 Red Hat/3.1.10-1.el6_0 Mnenhy/0.8.3 Thunderbird/3.1.10

On 06/15/2011 12:36 PM, Paul Eggert wrote:
> On 06/15/11 10:00, Aharon Robbins wrote:
>> Can I get a clear "yes, grep and sed are going to change to Reasonable
>> Range Interpretation"?
> 
> I can't speak for grep and sed since I'm not a maintainer of
> either, but to my mind the only thing that makes sense is for
> regular expressions like [a-z] to have their traditional
> interpretations in all locales.
> 
> I can speak for diffutils, whose -I option uses regular expressions,
> and my intent is for it to go that direction.
> 
> Doesn't this issue also arise for file name globbing?

Yes, in which case bash is also impacted.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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