Public bug reported:

Binary package hint: grep

1) 
[EMAIL PROTECTED]:~$ lsb_release -rd
Description:    Ubuntu 8.04.1
Release:        8.04

2) [EMAIL PROTECTED]:~$ apt-cache policy grep
grep:
  Installed: 2.5.3~dfsg-3
  Candidate: 2.5.3~dfsg-3
  Version table:
 *** 2.5.3~dfsg-3 0
        500 http://au.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

3) Only whole words returned.  There were a couple of spurious results
in a large grep.  Example file (from Linux kernel) is enclosed, and as
you can see, piping through same grep expression again "fixes" the
problem.

4) [EMAIL PROTECTED]:~$ grep -w alloca devel/kernel/linux-2.6/kernel/pid.c
 * Generic pidhash and scalable, time-bounded PID allocator
[EMAIL PROTECTED]:~$ grep -w alloca devel/kernel/linux-2.6/kernel/pid.c | grep 
-w alloca
[EMAIL PROTECTED]:~$

** Affects: grep (Ubuntu)
     Importance: Undecided
         Status: New

-- 
grep -w doesn't always grab whole words
https://bugs.launchpad.net/bugs/274221
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to