svn commit: r333193 - head/usr.bin/grep
Kyle Evans
kevans at FreeBSD.org
Thu May 3 02:56:13 UTC 2018
Author: kevans
Date: Thu May 3 02:56:13 2018
New Revision: 333193
URL: https://svnweb.freebsd.org/changeset/base/333193
Log:
zgrep(1): Note that -r/-R are not currently supported.
This is better behavior than just silently doing the wrong thing. We do not
currently have plans to support -r/-R with the compression-enabled greps.
Reported by: jilles
Modified:
head/usr.bin/grep/zgrep.sh
Modified: head/usr.bin/grep/zgrep.sh
==============================================================================
--- head/usr.bin/grep/zgrep.sh Thu May 3 02:42:13 2018 (r333192)
+++ head/usr.bin/grep/zgrep.sh Thu May 3 02:56:13 2018 (r333193)
@@ -106,6 +106,10 @@ do
silent=1
shift
;;
+ -r|-R)
+ echo "${prg}: the ${1} flag is not currently supported" >&2
+ exit 1
+ ;;
-V|--version)
exec ${grep} -V
;;
More information about the svn-src-head
mailing list