Skip to content

Commit

Permalink
zgrep(1): Note that -r/-R are not currently supported.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kevans91 committed May 3, 2018
1 parent 4cd0711 commit 2e45301
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions usr.bin/grep/zgrep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down

0 comments on commit 2e45301

Please sign in to comment.