From 88be312e00fd7331dc85978121d0d5d0b7b4cf66 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 24 Apr 2004 20:14:25 +0000 Subject: [PATCH] Use egrep in place of a sequence of greps. --- verify-patches | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 ;; -- 2.34.1