Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.unix.shell > #4887
| From | Kaz Kylheku <kaz@kylheku.com> |
|---|---|
| Newsgroups | comp.unix.shell, gnu.misc.discuss |
| Subject | grep is screwed on Debian, Ubuntu and others ... |
| Date | 2012-05-04 01:25 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <20120503180629.531@kylheku.com> (permalink) |
Cross-posted to 2 groups.
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.
Back to comp.unix.shell | Previous | Next — Next in thread | Find similar
grep is screwed on Debian, Ubuntu and others ... Kaz Kylheku <kaz@kylheku.com> - 2012-05-04 01:25 +0000
Re: grep is screwed on Debian, Ubuntu and others ... Lew Pitcher <lpitcher@teksavvy.com> - 2012-05-03 22:05 -0400
Re: grep is screwed on Debian, Ubuntu and others ... Ed Morton <mortonspam@gmail.com> - 2012-05-03 21:32 -0500
Re: grep is screwed on Debian, Ubuntu and others ... Kaz Kylheku <kaz@kylheku.com> - 2012-05-04 04:51 +0000
Re: grep is screwed on Debian, Ubuntu and others ... Janis Papanagnou <janis_papanagnou@hotmail.com> - 2012-05-04 07:37 +0200
Re: grep is screwed on Debian, Ubuntu and others ... Ed Morton <mortonspam@gmail.com> - 2012-05-04 08:33 -0500
Re: grep is screwed on Debian, Ubuntu and others ... Kaz Kylheku <kaz@kylheku.com> - 2012-05-04 04:44 +0000
Re: grep is screwed on Debian, Ubuntu and others ... Ed Morton <mortonspam@gmail.com> - 2012-05-04 08:47 -0500
Re: grep is screwed on Debian, Ubuntu and others ... Ivan Shmakov <oneingray@gmail.com> - 2012-05-05 00:38 +0700
Re: grep is screwed on Debian, Ubuntu and others ... Kaz Kylheku <kaz@kylheku.com> - 2012-05-04 17:45 +0000
Re: grep is screwed on Debian, Ubuntu and others ... "Ed Morton" <mortonspam@gmail.com> - 2012-05-04 21:20 +0000
character classes & regular expressions Ivan Shmakov <oneingray@gmail.com> - 2012-05-05 09:35 +0700
Re: character classes & regular expressions Kaz Kylheku <kaz@kylheku.com> - 2012-05-05 02:42 +0000
Re: character classes & regular expressions Ivan Shmakov <oneingray@gmail.com> - 2012-05-05 10:00 +0700
Re: character classes & regular expressions Cydrome Leader <presence@MUNGEpanix.com> - 2012-05-06 02:31 +0000
Re: character classes & regular expressions Ivan Shmakov <oneingray@gmail.com> - 2012-05-06 12:15 +0700
Re: character classes & regular expressions Cydrome Leader <presence@MUNGEpanix.com> - 2012-05-06 07:47 +0000
copyright in Russia Ivan Shmakov <oneingray@gmail.com> - 2012-05-10 19:28 +0700
Re: grep is screwed on Debian, Ubuntu and others ... Lew Pitcher <lpitcher@teksavvy.com> - 2012-05-04 14:31 -0400
Re: grep is screwed on Debian, Ubuntu and others ... Richard Kettlewell <rjk@greenend.org.uk> - 2012-05-04 09:12 +0100
Re: grep is screwed on Debian, Ubuntu and others ... James Waldby <not@valid.invalid> - 2012-05-05 18:25 +0000
Re: grep is screwed on Debian, Ubuntu and others ... Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> - 2012-05-04 12:56 +0200
Re: grep is screwed on Debian, Ubuntu and others ... Kaz Kylheku <kaz@kylheku.com> - 2012-05-04 17:47 +0000
csiph-web