[Top][All Lists]

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

bug#17799: grep 2.5.4 ignoring parts of expression

From: Jim Michaels
Subject: bug#17799: grep 2.5.4 ignoring parts of expression
Date: Wed, 18 Jun 2014 01:53:16 -0700

grep random "#include <(bits/)?random(\.h)?>" *
expected: on the include/c++/bits dir of a gcc compiler should produce a couple 
of results. 

actual: produces pages and pages with just about every file in it. anything 
with the word random in it. grep is ignoring #include <(bits/)? and (\.h)?> and 
I have no clue why.

all I wanted was the header files in the compiler which #included anything 
related to random.h because I had a bug in gcc I was trying to report, so I 
ended up finding a bug in grep too.

Jim Michaels
http://JesusnJim.com (my personal site, has software)
IEC Units: Computer RAM & SSD measurements, microsoft disk size measurements 
(note: they will say GB or MB or KB or TB when it is IEC Units!):
[KiB] [MiB] [GiB] [TiB]
SI Units: Hard disk industry disk size measurements:

[kB] [MB] [GB] [TB]

reply via email to

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