[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: link to wherever REGEXP info is kept
From: |
Jim Meyering |
Subject: |
Re: link to wherever REGEXP info is kept |
Date: |
Wed, 10 Mar 2004 07:53:39 +0100 |
Dan Jacobson <address@hidden> 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),
address@hidden address@hidden
-number only lines that contain a match for @var{regexp}.
address@hidden address@hidden
+number only lines that contain a match for the basic regular
+expression @var{bre}.
address@hidden Expressions, , Regular Expressions, grep, The GNU Grep Manual}.
@end table
@item -d @var{cd}