diff options
Diffstat (limited to 'bsgrep')
-rwxr-xr-x | bsgrep | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -92,6 +92,7 @@ if($self =~ /join/) { } if($opt{r}) { + @ARGV = (".") unless @ARGV; for(@ARGV) { if(-d $_) { find({ @@ -248,7 +249,8 @@ that contain matches (same as B<grep>). =item -r Recursively read all files under each directory, following symlinks -only if they're on the command line (same as B<grep>). +only if they're on the command line. If no files or directories are +given, reads the current directory. Same as B<grep>. =item -v |