Bug#440342: "grep -w" implies "-o"

2007-09-04 Thread Norbert Kiesel
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

Bug#440342: "grep -w" implies "-o"

2007-08-31 Thread Norbert Kiesel
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

Bug#440342: "grep -w" implies "-o"

2007-08-31 Thread Justin Pryzby
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

Bug#440342: "grep -w" implies "-o"

2007-09-03 Thread Aníbal Monsalve Salazar
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

Bug#440342: "grep -w" implies "-o"

2007-09-03 Thread Pierre Habouzit
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

Bug#440342: "grep -w" implies "-o"

2007-10-08 Thread Tony Abou-Assaleh
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 -