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

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

grep man page/info [1999/10/12]


From: Steven Lucy
Subject: grep man page/info [1999/10/12]
Date: Sat, 21 Jul 2001 22:47:47 -0500
User-agent: Mutt/1.2.5i

i found the following discrepancy in the man page (1999/10/12) of
grep (GNU grep) 2.4:

in the body:
"
       {n,m}  The preceding item is matched at least n times, but
              not more than m times.
"

in BUGS:
"
       Large  repetition  counts in the {m,n} construct may cause
       grep to use lots of memory.  In  addition,  certain  other
       obscure  regular  expressions require exponential time and
       space, and may cause grep to run out of memory.
"

note the switching of the order of 'm' and 'n'.

i checked the info page, and it's even worse!

"
`{N,M}'
     The preceding item is matched at least N times, but not more than
     M times.
"

but its "Reporting Bugs" section is as above: "{m,n}" (switched case and
switched order).

my apologies if this has been fixed in more recent documentation, i do not
have easy access to any.

Steven



reply via email to

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