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

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

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


From: Kaz Kylheku
Subject: grep is screwed on Debian, Ubuntu and others ...
Date: Fri, 4 May 2012 01:25:05 +0000 (UTC)
User-agent: slrn/pre1.0.0-18 (Linux)

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655293

I ran into this doing a simple grep job that needed to match upper
case characters, and so I started Googling.  This was only reported in January.

But the Red Hat people knew about what looks like the same bug two years ago.
Oops, they didn't share!

https://bugzilla.redhat.com/show_bug.cgi?id=583011

(So much for the spirit of collaboration in open source. My distro, my
patches, screw you!)

Watch this:

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

Ooops! Someone doesn't have a regression test suite, or at least not one
that is worth a damn.


reply via email to

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