X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=bin%2Fcvsbranchdiff;h=cf627a381231caeac110b4075cc95f2af3b924b8;hp=b6dcf24a77285fc99f9190ce3ae46ad16591fff5;hb=1fc8f7d6c266e5bfd376cee3769e63b1d64f4ca4;hpb=b70e480c535be671c7b284d1ff19a024be64e80c diff --git a/bin/cvsbranchdiff b/bin/cvsbranchdiff index b6dcf24..cf627a3 100755 --- a/bin/cvsbranchdiff +++ b/bin/cvsbranchdiff @@ -4,7 +4,7 @@ if [ $# = 0 ];then - echo 'currendir == CVS (old) version; $1 == dir w/new version; [$2 == "print"]' + echo 'currentdir == CVS (old) version; $1 == dir w/new version; [$2 == "print"]' exit 1 fi @@ -18,7 +18,7 @@ function findnice } (findnice . ;echo "/") >$t/old (findnice "$1" ) >$t/new -diff -u999999 $t/old $t/new|sed -e '1,/^@@.*@@$/d' >$t/diff +diff -U 999999 $t/old $t/new|sed -e '1,/^@@.*@@$/d' >$t/diff if [ "$2" = print ];then grep '^[+-]' $t/diff exit 0