summaryrefslogtreecommitdiff
path: root/sys/man/1/grep
diff options
context:
space:
mode:
Diffstat (limited to 'sys/man/1/grep')
-rw-r--r--sys/man/1/grep7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/man/1/grep b/sys/man/1/grep
index 433c2370e..2a5a98cfa 100644
--- a/sys/man/1/grep
+++ b/sys/man/1/grep
@@ -113,11 +113,16 @@ with
.B -n
(plus aditional flags, if provided)
and forces tagging of output lines by file name. If no files
-are listed, it searches all files matching
+are listed, it recursively searches the current directory for
+all files matching
.B *.b *.c *.C *.h *.l *.m *.s *.y
.B *.asm *.cc *.cs *.lx *.cgi *.pl
.B *.py *.tex *.ms *.java *.xy *.go
.B *.goc *.cpp
+.PP
+The recursive search can be suppressed by passing g the
+.B -n
+flag.
.SH SOURCE
.B /sys/src/cmd/grep
.br