From: lace <> Date: Mon, 12 Mar 2007 20:55:06 +0000 (+0000) Subject: Strip also the "? " lines. X-Git-Url: https://git.jankratochvil.net/?a=commitdiff_plain;h=5b42066804db3c8574025ab7647a2d45a256fce9;p=nethome.git Strip also the "? " lines. --- diff --git a/bin/diffdecvs b/bin/diffdecvs index 6034f83..dfbedf1 100755 --- a/bin/diffdecvs +++ b/bin/diffdecvs @@ -6,7 +6,7 @@ if [ $# -ge 2 ];then exit 1 fi -prog='print if !/^Index:/ && !/^={67}$/ && !/^RCS file:/ && !/^retrieving revision / && !/^diff -/;' +prog='print if !/^[?]/ && !/^Index:/ && !/^={67}$/ && !/^RCS file:/ && !/^retrieving revision / && !/^diff -/;' if [ $# -eq 1 ];then exec perl -ne "$prog" -i "$1" else