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
            ;;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to