diff options
author | Ori Bernstein <ori@eigenstate.org> | 2019-06-04 22:36:32 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2019-06-04 22:36:32 -0700 |
commit | 033c2812c29b0e81e6c055b80e0334ba5ed1f871 (patch) | |
tree | 8c9a7f87d03c5ce9d2702bd3b9ac1cce4e6fd652 /sys/man/1 | |
parent | 12e136332a7dcb6e4d0b4a85fef9ff97dfa57200 (diff) |
Make 'g' grep recursively by default.
Diffstat (limited to 'sys/man/1')
-rw-r--r-- | sys/man/1/grep | 7 |
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 |