[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Man page Entry
From: |
Benno Schulenberg |
Subject: |
Re: Man page Entry |
Date: |
Wed, 06 Feb 2008 11:56:14 +0100 |
User-agent: |
KMail/1.9.7 |
Tony Abou-Assaleh wrote:
> Benno Schulenberg wrote:
> >>> -e PATTERN, --regexp=PATTERN
> >>> Use PATTERN as the pattern. This can be used
> >>> to specify multiple patterns, or to protect a
> >>> pattern beginning with a hyphen (-).
>
> Benno: could you submit a patch with the above?
Index: doc/grep.1
===================================================================
RCS file: /sources/grep/grep/doc/grep.1,v
retrieving revision 1.38
diff -u -r1.38 grep.1
--- doc/grep.1 18 Aug 2006 22:00:31 -0000 1.38
+++ doc/grep.1 6 Feb 2008 10:52:44 -0000
@@ -125,7 +125,8 @@
Use
.I PATTERN
as the pattern.
-This is useful to protect patterns beginning with hyphen-minus
+This can be used to specify multiple search patterns,
+or to protect a pattern beginning with a hyphen
.RB ( \- ).
.RB ( \-e
is specified by \s-1POSIX\s0.)
Index: doc/grep.texi
===================================================================
RCS file: /sources/grep/grep/doc/grep.texi,v
retrieving revision 1.62
diff -u -r1.62 grep.texi
--- doc/grep.texi 18 Aug 2006 22:00:31 -0000 1.62
+++ doc/grep.texi 6 Feb 2008 10:52:45 -0000
@@ -211,8 +211,9 @@
@opindex -e
@opindex address@hidden
@cindex pattern list
-Use @var{pattern} as the pattern;
-useful to protect patterns beginning with a @samp{-}.
+Use @var{pattern} as the pattern.
+This can be used to specify multiple search patterns,
+or to protect a pattern beginning with a @samp{-}.
(@samp{-e} is specified by @sc{posix}.)
@item -f @var{file}
Tiny change, not worth a changelog entry, in my opinion.
Cheers,
Benno
- Re: Man page Entry, Tony Abou-Assaleh, 2008/02/05
- Re: Man page Entry,
Benno Schulenberg <=