aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2020-08-07 16:01:05 +0000
committerGordon Bergling <gbe@FreeBSD.org>2020-08-07 16:01:05 +0000
commit88d241831d991f7c79242bf0bfe034541d373951 (patch)
tree0d7268c7b1d1a384aceb9fdf2163cdc3fb458cce
parent826c0793734aa74f0f71f85662e42e8635afbd2c (diff)
downloadsrc-88d241831d991f7c79242bf0bfe034541d373951.tar.gz
src-88d241831d991f7c79242bf0bfe034541d373951.zip
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
Notes
Notes: svn path=/head/; revision=364021
-rw-r--r--usr.bin/grep/grep.110
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/grep/grep.1 b/usr.bin/grep/grep.1
index e2a966456593..b6f6e6f31d22 100644
--- a/usr.bin/grep/grep.1
+++ b/usr.bin/grep/grep.1
@@ -30,7 +30,7 @@
.\"
.\" @(#)grep.1 8.3 (Berkeley) 4/18/94
.\"
-.Dd August 21, 2018
+.Dd August 7, 2020
.Dt GREP 1
.Os
.Sh NAME
@@ -209,7 +209,7 @@ Note that
and
.Fl Fl include
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
.Fl Fl include
pattern is specified, all files are searched that are
@@ -228,7 +228,7 @@ Note that
and
.Fl Fl include-dir
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
.Fl Fl include-dir
pattern is specified, all directories are searched that are
@@ -284,7 +284,7 @@ Note that
and
.Fl Fl exclude
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,
not only to the filename component.
.It Fl Fl include-dir Ar pattern
@@ -298,7 +298,7 @@ Note that
and
.Fl Fl exclude-dir
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
Only the names of files not containing selected lines are written to
standard output.