Article View: comp.unix.shell
Article #4144Re: grep is screwed on Debian, Ubuntu and others ...
From: Wolfram Gloger
Date: Fri, 04 May 2012 10:56
Date: Fri, 04 May 2012 10:56
23 lines
1813 bytes
1813 bytes
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.
Technical Details
Message-ID:
<u4wr4scj0b.fsf@md.dent.med.uni-muenchen.de>Path:
arc1-ca.pugleaf.net!pr3ni2750pbb.0!nntp.google.com!news1.google.com!news.glorb.com!feeder.erje.net!weretis.net!feeder1.news.weretis.net!news-peer.in.tum.de!lrz.de!not-for-mailReferences:
<20120503180629.531@kylheku.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1012a6,4e23b22adef8b0c2
X-Google-NewGroupId: yes
X-Google-Thread: 1025b4,4e23b22adef8b0c2
X-Google-NewGroupId: yes
X-Google-Attributes: gid9d2148d7bf,gidfeffdbf771,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.68.211.136 with SMTP id nc8mr5562821pbc.6.1336128991806;
Fri, 04 May 2012 03:56:31 -0700 (PDT)
Path: arc1-ca.pugleaf.net!pr3ni2750pbb.0!nntp.google.com!news1.google.com!news.glorb.com!feeder.erje.net!weretis.net!feeder1.news.weretis.net!news-peer.in.tum.de!lrz.de!not-for-mail
From: Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
Newsgroups: comp.unix.shell,gnu.misc.discuss
Subject: Re: grep is screwed on Debian, Ubuntu and others ...
Date: 04 May 2012 12:56:04 +0200
Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany)
Lines: 23
Sender: wmglo@md.dent.med.uni-muenchen.de
Message-ID: <u4wr4scj0b.fsf@md.dent.med.uni-muenchen.de>
References: <20120503180629.531@kylheku.com>
NNTP-Posting-Host: zep00a03.dent.med.uni-muenchen.de
Mime-Version: 1.0
X-Trace: news.lrz-muenchen.de 1336127898 18298 138.246.161.8 (4 May 2012 10:38:18 GMT)
X-Complaints-To: newsmaster@lrz-muenchen.de
NNTP-Posting-Date: Fri, 4 May 2012 10:38:18 +0000 (UTC)
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4
Content-Type: text/plain; charset=us-ascii