Your message dated Tue, 9 Oct 2007 10:22:28 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#440342: "grep -w" implies "-o"
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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. grep-2.5.1.ds2-6 from Debian stable does not
have this bug.

</nk>


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22.5
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grep depends on:
ii  libc6                         2.6.1-1+b1 GNU C Library: Shared libraries

grep recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 2.5.3~dfsg-3

grep -w was broken in a previous upload but fixed by this version.

$ cat /proc/stat |./tmp/grep.unstable -w cpu; echo
cpu
$ cat /proc/stat |grep -w cpu; echo
cpu  6465668 212104 1288498 158553905 5061378 949080 15399 0

On Tue, Oct 09, 2007 at 01:19:01AM -0300, Tony Abou-Assaleh wrote:
> 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
> 
> -----------------------------------------------------
> Tony Abou-Assaleh
> Email:    [EMAIL PROTECTED]
> Web site: http://tony.abou-assaleh.net
> ----------------------[THE END]----------------------
> 
> On Fri, 31 Aug 2007, Justin Pryzby wrote:
> 
> > 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 "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. grep-2.5.1.ds2-6 from Debian stable does not
> > > have this bug.
> >
> >
> 
> 


--- End Message ---

Reply via email to