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
Received on Tue Jun 19 2001 - 23:14:09 NZST