bsdgrep: treat rgrep as grep -r
Submitted by: Kyle Evans <kevans91@ksu.edu>
This commit is contained in:
parent
ab38e32db6
commit
491b8b1623
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=316473
@ -360,6 +360,9 @@ main(int argc, char *argv[])
|
||||
} else if (pn[0] == 'l' && pn[1] == 'z') {
|
||||
filebehave = FILE_LZMA;
|
||||
pn += 2;
|
||||
} else if (pn[0] == 'r') {
|
||||
dirbehave = DIR_RECURSE;
|
||||
Hflag = true;
|
||||
} else if (pn[0] == 'z') {
|
||||
filebehave = FILE_GZIP;
|
||||
pn += 1;
|
||||
|
Loading…
Reference in New Issue
Block a user