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

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

bug with grep 2.3 - 2.4.2 on Intel Redhat


From: Paul Holcomb
Subject: bug with grep 2.3 - 2.4.2 on Intel Redhat
Date: Wed, 11 Jul 2001 18:14:58 -0500
User-agent: Mutt/1.2.5i

 I have found a bug with grep that manifests itself *at least* with
 version 2.3 and 2.4.2 of grep included with Redhat Intel Linux
 systems. (6.1, 6.2, 7.0, 7.0.90)

 If you have a regular expression ending in 'c*' it matches the letter
 'g' instead of the letter 'c' and vice versa.

 How to replicate:

$> touch soggy
$> ls -l |grep 'soc\*'

-> file matches


$> touch local
$> ls -l |grep 'log\*'

-> file matches



 One gets the same behavior with other variations of escaping or not
 escaping the '*' wildcard character.

 Let me know if you require more detail.  I am going to try to
 replicate this bug on a few other operating systems.

-- 
Paul Holcomb                               *pholcomb    \@      cpoint  net*
Sr. Network Engineer                       Counterpoint Networking, Inc.



reply via email to

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