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: Paul Eggert
Subject: Re: Dealing with character ranges in grep
Date: Wed, 15 Jun 2011 11:36:19 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10

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?
In that case, I can also speak for GNU tar: I'd like its
file name globbing to do the right thing here too.

Coreutils is also affected, both for regular expressions
(csplit, expr, nl, ptx, tac), and globbing (ls), as well
as some handcrafted stuff (tr), and I hope that it heads
in the same direction, though I'm not a maintainer.



reply via email to

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