Author: eugen
Date: Fri Nov 27 08:45:43 2020
New Revision: 368095
URL: https://svnweb.freebsd.org/changeset/base/368095
Log:
MFC r367866: bzgrep: make flag --no-filename work
PR: 248813
Modified:
stable/12/usr.bin/grep/zgrep.sh
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/usr.bin/grep/zgrep.sh
==============================================================================
--- stable/12/usr.bin/grep/zgrep.sh Fri Nov 27 08:41:38 2020
(r368094)
+++ stable/12/usr.bin/grep/zgrep.sh Fri Nov 27 08:45:43 2020
(r368095)
@@ -90,6 +90,10 @@ do
pattern_found=1
shift
;;
+ -h|--no-filename)
+ silent=1
+ shift
+ ;;
--*)
grep_args="${grep_args} $1"
shift
@@ -118,10 +122,6 @@ do
;;
-)
hyphen=1
- shift
- ;;
- -h)
- silent=1
shift
;;
-r|-R)
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"