commit - b2f08f618b3d5fcd1a6f816fa73bd7d77d888180
commit + 5348a6013ebe8f72aff8ca5e9cad013a980c6f4c
blob - 64f89efee508829c646fd29c95141f369dcaaa47
blob + fbb2cb92efb3ea1064720dadf6fea338a21c3af8
--- dist/isum.awk
+++ dist/isum.awk
BEGIN {
# print verbose
cd = ""
- out = "/dev/stdout";
+ out = "/dev/stdout"
+ debug = 0
}
-debug { print "# " $0 }
+debug!=0 { print "# " $0 }
/^$/ { next }
next
}
-/^ / && printtabs {
+/^ / && printtabs!=0 {
print >out
fflush(out)
next
cmd = cmd $0 "\n"
}
-errors {
+errors != 0 {
if(debug) print "% errors"
printf "%s", cmd >out
fflush(out)
next
}
-/^(up to date|nothing to see|assuming it will be|loop not entered|conflicts:)/ {
+/^(conflicts:)/ {
if(debug) print "% skip1"
next
}
-/is up to date/ {
+/(up to date|nothing to see|assuming it will be|loop not entered)/ {
next
}