grep -w bug on Tru64 v4.0F

From: <nemholt_jf_at_tsm.es>
Date: Tue, 19 Jun 2001 19:23:55 +0200

Hi!

create a file like this (test.txt) :

3
33
333
3333

...then do this :

cat test.txt | grep -w 3


On Tru64 v4.0F patchkit 4 the result is that I get all the lines.
On Tru64 v5.1 patchkit 3 I get only the first line. The same happens on
Solaris 7.

I believe what 5.1 and Solaris 7 does is correct, and that v4 grep is
wrong.

Is this fixed in any patch/patchkit ???


/Jesper
Received on Wed Jun 20 2001 - 06:40:49 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT