aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/grep/grep.1
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2017-04-04 05:56:42 +0000
committerConrad Meyer <cem@FreeBSD.org>2017-04-04 05:56:42 +0000
commitbf10f246fe6fc35cb00aa6add53de05d63cfabde (patch)
tree5b817c2603d6851ecde96c7a87296d47affb52ad /usr.bin/grep/grep.1
parenta01b1aa787d88ec2b8c4cfe3cbbd03a047549291 (diff)
downloadsrc-bf10f246fe6fc35cb00aa6add53de05d63cfabde.tar.gz
src-bf10f246fe6fc35cb00aa6add53de05d63cfabde.zip
bsdgrep(1): create rgrep link
Create a convenience rgrep link for bsdgrep(1) that observes 'grep -r' behavior. A follow-up to r316473. Submitted by: Kyle Evans <kevans91 at ksu.edu> Reviewed by: emaste (earlier version), cem Differential Revision: https://reviews.freebsd.org/D10109
Notes
Notes: svn path=/head/; revision=316484
Diffstat (limited to 'usr.bin/grep/grep.1')
-rw-r--r--usr.bin/grep/grep.16
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/grep/grep.1 b/usr.bin/grep/grep.1
index 0cc759dd3a60..f06cfaa6cf88 100644
--- a/usr.bin/grep/grep.1
+++ b/usr.bin/grep/grep.1
@@ -34,7 +34,7 @@
.Dt GREP 1
.Os
.Sh NAME
-.Nm grep , egrep , fgrep ,
+.Nm grep , egrep , fgrep , rgrep ,
.Nm zgrep , zegrep , zfgrep
.Nd file pattern searcher
.Sh SYNOPSIS
@@ -341,6 +341,10 @@ will only search a file until a match has been found,
making searches potentially less expensive.
.It Fl R , Fl r , Fl Fl recursive
Recursively search subdirectories listed.
+(i.e. force
+.Nm grep
+to behave as
+.Nm rgrep ) .
.It Fl S
If
.Fl R