Dan Jacobson <[EMAIL PROTECTED]> wrote:
> On the nl info page
> `pREGEXP'
> number only lines that contain a match for REGEXP.
>
> there should be a link at this point to more about REGEXPs,
> (even though we are supposed to know how to get to wherever that info
> is put on our own or not.)
Thanks for the suggestion.
I've done this:
* coreutils.texi (nl invocation): Specify that these are _basic_
regular expressions (BRE), and add a link to grep's documentation.
Suggestion from Dan Jacobson.
I'm deferring the corresponding change to nl's --help output
until after coreutils-5.2.1.
Index: doc/coreutils.texi
===================================================================
RCS file: /fetish/cu/doc/coreutils.texi,v
retrieving revision 1.162
retrieving revision 1.163
diff -u -p -u -r1.162 -r1.163
--- a/doc/coreutils.texi 3 Mar 2004 07:52:36 -0000 1.162
+++ b/doc/coreutils.texi 10 Mar 2004 06:50:59 -0000 1.163
@@ -1331,8 +1331,10 @@ number all lines,
number only nonempty lines (default for body),
@item n
do not number lines (default for header and footer),
[EMAIL PROTECTED] [EMAIL PROTECTED]
-number only lines that contain a match for @var{regexp}.
[EMAIL PROTECTED] [EMAIL PROTECTED]
+number only lines that contain a match for the basic regular
+expression @var{bre}.
[EMAIL PROTECTED] Expressions, , Regular Expressions, grep, The GNU Grep Manual}.
@end table
@item -d @var{cd}
_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils