gnu-misc-discuss
[Top][All Lists]
Advanced

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

Re: grep is screwed on Debian, Ubuntu and others ...


From: Wolfram Gloger
Subject: Re: grep is screwed on Debian, Ubuntu and others ...
Date: 04 May 2012 12:56:04 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Kaz Kylheku <kaz@kylheku.com> writes:

> Watch this:
> 
> $ echo a | grep '[A-B]'
> a

I can't reproduce this on Debian.  Neither in lenny nor in squeeze,
not even in etch.  (C and de_DE.UTF-8 locales tested)

What is your 'Debian'?

> $ echo b | grep '[A-B]'
> $ echo b | grep '[:upper:]'
> $ echo B | grep '[:upper:]'
> $ echo E | grep '[:upper:]'
> $ echo e | grep '[:upper:]'
> e

I can reproduce these -- are all expected, as explained in followup.

Regards,
Wolfram.


reply via email to

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