tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Nemholt, Jesper Frank" <JesperFrank.Nemholt () compaq ! com>
To: tru64-unix-managers
Subject: grep -w bug in 4.x but not in 5.x
Date: Tue, 19 Jun 2001 23:15:14 +0000	[thread overview]
Message-ID: <102653649621956.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~2001-06-19 23:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox