X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=wc.sh;h=11894088d68e614e2db9d1f78247f3a28af4cb7e;hb=a8419eb994f3b59b70cfa12e1004711a830a43fa;hp=cfafe39ad1ab4d4fa8ce300ec351c5cf20f1009e;hpb=a530bbe337109d898d5b4a001fc8f1afa3b5dc39;p=sbcl.git diff --git a/wc.sh b/wc.sh index cfafe39..1189408 100755 --- a/wc.sh +++ b/wc.sh @@ -1,4 +1,5 @@ #!/bin/sh +set -e # How big is this project anyway? Crudely estimate non-comment source lines.. @@ -21,5 +22,4 @@ find . -name "*.[ch]" -print | xargs egrep -s '^[ ]*[^ /*]' | wc -l # * doesn't catch #if 0 convention for commenting out blocks # * doesn't catch stale source files which are no longer used -# There are assembler source lines, too, but there seem to be less than -# 1000 for each machine type. (Hardly worth considering!:-) +echo "(ignoring .sh, .S, etc.)"