summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlain Magloire <alainm@rcsm.ee.mcgill.ca>1999-08-13 14:45:21 +0000
committerAlain Magloire <alainm@rcsm.ee.mcgill.ca>1999-08-13 14:45:21 +0000
commitaee993f557e9933c20d6e4753bf4ef2ee857b363 (patch)
tree5d1ed61cd558093dd1f8b563ed6e1c65e12899b9 /doc
parentfec4cbf73b8a79022e3793a29024dfe382488b3b (diff)
downloadgrep-aee993f557e9933c20d6e4753bf4ef2ee857b363.tar.gz
* src/grep.c, doc/grep{1,texi} :
--revert-match should be --invert-match. Correction proposed by Karl Berry.
Diffstat (limited to 'doc')
-rw-r--r--doc/grep.18
-rw-r--r--doc/grep.texi8
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/grep.1 b/doc/grep.1
index ee69c028..d56cf779 100644
--- a/doc/grep.1
+++ b/doc/grep.1
@@ -2,7 +2,7 @@
.de Id
.ds Dt \\$4
..
-.Id $Id: grep.1,v 1.3 1999/06/13 03:35:55 alainm Exp $
+.Id $Id: grep.1,v 1.4 1999/08/13 14:45:14 alainm Exp $
.TH GREP 1 \*(Dt "GNU Project"
.SH NAME
grep, egrep, fgrep \- print lines matching a pattern
@@ -12,7 +12,7 @@ grep, egrep, fgrep \- print lines matching a pattern
[-d ACTION] [--directories=ACTION]
[--extended-regexp] [--fixed-strings] [--basic-regexp]
[--regexp=PATTERN] [--file=FILE] [--ignore-case] [--word-regexp]
-[--line-regexp] [--line-regexp] [--no-messages] [--revert-match]
+[--line-regexp] [--line-regexp] [--no-messages] [--invert-match]
[--version] [--help] [--byte-offset] [--line-number]
[--with-filename] [--no-filename] [--quiet] [--silent] [--text]
[--files-without-match] [--files-with-matcces] [--count]
@@ -109,7 +109,7 @@ each line of output.
Suppress normal output; instead print a count of
matching lines for each input file.
With the
-.B \-v, --revert-match
+.B \-v, --invert-match
option (see below), count non-matching lines.
.TP
.BI \-d " ACTION" ", --directories=" ACTION
@@ -225,7 +225,7 @@ This option causes
to act as if the file is a text file,
even if it would otherwise be treated as binary.
.TP
-.B \-v, --revert-match
+.B \-v, --invert-match
Invert the sense of matching, to select non-matching lines.
.TP
.B \-w, --word-regexp
diff --git a/doc/grep.texi b/doc/grep.texi
index d161a8c9..c46afba6 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -139,7 +139,7 @@ is no way to match newline characters in a text.
@opindex -count
@cindex counting lines
Suppress normal output; instead print a count of matching
-lines for each input file. With the @samp{-v}, @samp{--revert-match} option,
+lines for each input file. With the @samp{-v}, @samp{--invert-match} option,
count non-matching lines.
@item -e @var{pattern}
@@ -205,10 +205,10 @@ scripts intended to be portable to BSD @sc{grep} should avoid both
output to @file{/dev/null} instead.
@item -v
-@itemx --revert-match
+@itemx --invert-match
@opindex -v
-@opindex --revert-match
-@cindex revert matching
+@opindex --invert-match
+@cindex invert matching
@cindex print non-matching lines
Invert the sense of matching, to select non-matching lines.