|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#17799: closed (grep 2.5.4 ignoring parts of expression) |
Date: | Wed, 18 Jun 2014 15:33:02 +0000 |
Your message dated Wed, 18 Jun 2014 08:32:18 -0700 with message-id <address@hidden> and subject line Re: bug#17799: grep 2.5.4 ignoring parts of expression has caused the debbugs.gnu.org bug report #17799, regarding grep 2.5.4 ignoring parts of expression to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 17799: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17799 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: 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
address@hidden
address@hidden
http://RenewalComputerServices.com
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][2^10B=1,024^1B=1KiB]
[2^20B=1,024^2B=1,048,576B=1MiB]
[2^30B=1,024^3B=1,073,741,824B=1GiB]
[2^40B=1,024^4B=1,099,511,627,776B=1TiB]
[2^50B=1,024^5B=1,125,899,906,842,624B=1PiB]
SI Units: Hard disk industry disk size measurements:[kB] [MB] [GB] [TB]
[10^3B=1,000B=1kB]
[10^6B=1,000,000B=1MB]
[10^9B=1,000,000,000B=1GB]
[10^12B=1,000,000,000,000B=1TB]
[10^15B=1,000,000,000,000,000B=1PB]
--- End Message ---
--- Begin Message ---Subject: Re: bug#17799: grep 2.5.4 ignoring parts of expression Date: Wed, 18 Jun 2014 08:32:18 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 Jim Michaels wrote: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 itThat's because your command asked to find the word 'random'. It's of the form:grep random LIST-OF-FILE-NAMESThe first file name is "#include <(bits/)?random(\.h)?>", which grep complained to you about.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |