From: Wayne Davison Date: Sat, 24 Apr 2004 20:14:25 +0000 (+0000) Subject: Use egrep in place of a sequence of greps. X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/commitdiff_plain/88be312e00fd7331dc85978121d0d5d0b7b4cf66 Use egrep in place of a sequence of greps. --- diff --git a/verify-patches b/verify-patches index ee2cddf..928e24c 100755 --- a/verify-patches +++ b/verify-patches @@ -61,11 +61,7 @@ for xx in "${@}"; do new='' rm -f *.rej *.orig sed '/^--- /,$ d' $xx >,new.patch - cvs diff -N | grep -v '^Index: ' | - grep -v '^=========' | - grep -v '^diff -' | - grep -v '^RCS file: ' | - grep -v '^retrieving revision ' >>,new.patch + cvs diff -N | egrep -v '^(diff -|===============|RCS file: |retrieving revision |Index: )' >>,new.patch vim -d $xx ,new.patch default=U ;;