summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/grep
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-11-21 01:09:03 +0000
committerobrien <obrien@FreeBSD.org>1999-11-21 01:09:03 +0000
commit7daab43137dddb6a06e4cda4d8b3873f9c6f675b (patch)
treecb2789f5e7c997133c80a534e81faed40032eca1 /gnu/usr.bin/grep
parente237a6b4a1cb1b6abc70f62274b2e148792501c0 (diff)
downloadFreeBSD-src-7daab43137dddb6a06e4cda4d8b3873f9c6f675b.zip
FreeBSD-src-7daab43137dddb6a06e4cda4d8b3873f9c6f675b.tar.gz
Alias -R to -r for backward compatibility.
Submitted by: ru Requested by: wosch
Diffstat (limited to 'gnu/usr.bin/grep')
-rw-r--r--gnu/usr.bin/grep/grep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/grep/grep.c b/gnu/usr.bin/grep/grep.c
index fdbdc95..cf03988 100644
--- a/gnu/usr.bin/grep/grep.c
+++ b/gnu/usr.bin/grep/grep.c
@@ -1122,9 +1122,9 @@ main (argc, argv)
#if O_BINARY
"0123456789A:B:C::EFGHVX:abcd:e:f:hiLlnqrsvwxyUu",
#elif HAVE_LIBZ > 0
- "0123456789A:B:C::EFGHVX:Zabcd:e:f:hiLlnqrsvwxy",
+ "0123456789A:B:C::EFGHRVX:Zabcd:e:f:hiLlnqrsvwxy",
#else
- "0123456789A:B:C::EFGHVX:abcd:e:f:hiLlnqrsvwxy",
+ "0123456789A:B:C::EFGHRVX:abcd:e:f:hiLlnqrsvwxy",
#endif
long_options, NULL)) != EOF)
switch (opt)
@@ -1280,6 +1280,7 @@ main (argc, argv)
done_on_match = 1;
out_quiet = 1;
break;
+ case 'R':
case 'r':
directories = RECURSE_DIRECTORIES;
break;
OpenPOWER on IntegriCloud