Date: Thu, 3 May 2018 02:56:13 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333193 - head/usr.bin/grep Message-ID: <201805030256.w432uDrS062376@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 ;;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805030256.w432uDrS062376>