grep(1): correct typos for 'if a name patches' to 'if a name matches'
PR: 237635 Submitted by: durin42 <raf atdurin42 dot com> Reviewed by: kevans Approved by: kevans MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D25994
This commit is contained in:
+5
-5
@@ -30,7 +30,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" @(#)grep.1 8.3 (Berkeley) 4/18/94
|
.\" @(#)grep.1 8.3 (Berkeley) 4/18/94
|
||||||
.\"
|
.\"
|
||||||
.Dd August 21, 2018
|
.Dd August 7, 2020
|
||||||
.Dt GREP 1
|
.Dt GREP 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@@ -209,7 +209,7 @@ Note that
|
|||||||
and
|
and
|
||||||
.Fl Fl include
|
.Fl Fl include
|
||||||
patterns are processed in the order given.
|
patterns are processed in the order given.
|
||||||
If a name patches multiple patterns, the latest matching rule wins.
|
If a name matches multiple patterns, the latest matching rule wins.
|
||||||
If no
|
If no
|
||||||
.Fl Fl include
|
.Fl Fl include
|
||||||
pattern is specified, all files are searched that are
|
pattern is specified, all files are searched that are
|
||||||
@@ -228,7 +228,7 @@ Note that
|
|||||||
and
|
and
|
||||||
.Fl Fl include-dir
|
.Fl Fl include-dir
|
||||||
patterns are processed in the order given.
|
patterns are processed in the order given.
|
||||||
If a name patches multiple patterns, the latest matching rule wins.
|
If a name matches multiple patterns, the latest matching rule wins.
|
||||||
If no
|
If no
|
||||||
.Fl Fl include-dir
|
.Fl Fl include-dir
|
||||||
pattern is specified, all directories are searched that are
|
pattern is specified, all directories are searched that are
|
||||||
@@ -284,7 +284,7 @@ Note that
|
|||||||
and
|
and
|
||||||
.Fl Fl exclude
|
.Fl Fl exclude
|
||||||
patterns are processed in the order given.
|
patterns are processed in the order given.
|
||||||
If a name patches multiple patterns, the latest matching rule wins.
|
If a name matches multiple patterns, the latest matching rule wins.
|
||||||
Patterns are matched to the full path specified,
|
Patterns are matched to the full path specified,
|
||||||
not only to the filename component.
|
not only to the filename component.
|
||||||
.It Fl Fl include-dir Ar pattern
|
.It Fl Fl include-dir Ar pattern
|
||||||
@@ -298,7 +298,7 @@ Note that
|
|||||||
and
|
and
|
||||||
.Fl Fl exclude-dir
|
.Fl Fl exclude-dir
|
||||||
patterns are processed in the order given.
|
patterns are processed in the order given.
|
||||||
If a name patches multiple patterns, the latest matching rule wins.
|
If a name matches multiple patterns, the latest matching rule wins.
|
||||||
.It Fl L , Fl Fl files-without-match
|
.It Fl L , Fl Fl files-without-match
|
||||||
Only the names of files not containing selected lines are written to
|
Only the names of files not containing selected lines are written to
|
||||||
standard output.
|
standard output.
|
||||||
|
|||||||
Reference in New Issue
Block a user