* grep -w bug in 4.x but not in 5.x
@ 2001-06-19 23:15 Nemholt, Jesper Frank
0 siblings, 0 replies; only message in thread
From: Nemholt, Jesper Frank @ 2001-06-19 23:15 UTC (permalink / raw)
To: tru64-unix-managers
Hi!
Make a file (test.txt) containing :
3
33
333
3333
Then do a :
cat test.txt | grep -w 3
On 4.0F patchkit 4 and 4.0D patchkit something, grep returns all lines.
On 5.1 patchkit 3 grep returns only the first line. The same happens on
Solaris 7.
I believe grep -w in 5.1 and Solaris 7 is behaving correct according to the
man description, and wrong on 4.x.
Fixed in any patch, or ?
/Jesper
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-06-19 23:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-19 23:15 grep -w bug in 4.x but not in 5.x Nemholt, Jesper Frank
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox