The bug only happens (for me) with UTF-8 locale (massaged output below a
bit to compensate for the missing \n after the UTF-8 output)
% cat /proc/stat | env -i /bin/grep -w cpu
cpu 11736906 15928453 1355819 64884676 1101227 326476 32868 0
% cat /proc/stat | env -i LANG=en_US.UTF-8 /bin/grep -w cp
Package: grep
Version: 2.5.3~dfsg-1
Severity: important
There is a regression in this grep: a "cat /proc/stat | grep -w cpu"
only shows the word "cpu" and not the whole line containing that word
(i.e. it behaves as if I had run "cat /proc/stat | grep -wo cpu"). That
makes "-w" pretty useless. gre
tag 440342 upstream confirmed
forwarded 440342 [EMAIL PROTECTED]
thanks
This regression was reported for the new grep upload.
On Fri, Aug 31, 2007 at 10:43:26AM -0700, Norbert Kiesel wrote:
> Package: grep
> Version: 2.5.3~dfsg-1
> Severity: important
>
> There is a regression in this grep: a "c
On Fri, Aug 31, 2007 at 10:43:26AM -0700, Norbert Kiesel wrote:
>Package: grep
>Version: 2.5.3~dfsg-1
>Severity: important
>
>There is a regression in this grep: a "cat /proc/stat | grep -w cpu"
>only shows the word "cpu" and not the whole line containing that word
>(i.e. it behaves as if I had run
On Mon, Sep 03, 2007 at 01:29:48PM +, Aníbal Monsalve Salazar wrote:
> On Fri, Aug 31, 2007 at 10:43:26AM -0700, Norbert Kiesel wrote:
> >Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> >ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
> I couldn't r
I am unable to confirm this bug. GNU grep 2.5.3 from ftp.gnu.org and from
Savannah CVS works fine with -w in that it does not imply -o. I tested
this on Mac OS X and Debian under different locales.
If you can reproduce this bug with the CVS or the release version, let me
know.
Cheers,
TAA
-
6 matches
Mail list logo