bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep 2.5 bug


From: Laurent Papier
Subject: grep 2.5 bug
Date: Tue, 20 Jan 2004 18:34:27 +0100

Hi,
I found a bug today in grep 2.5. The bug is that a string is not found in a file
with -F and -w options.

Here is how to reproduce it:
address@hidden papier]$ echo -e "az\na" | grep -F -w a
address@hidden papier]$ 

The word 'a' is not found.

This bug occurs only:
- with -F and -w options
- when you search a word that match the beginning of a word on a line before the
line that should match.

This bug doesn't exist in grep 2.2.
This bug occurs on both linux/i386 and AIX/ppc.

If you need more info, just ask for.

Regards.
-- 
Laurent Papier
Admin. systeme - Sdv Plurimedia - <http://www.sdv.fr/>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]