From: kolya Date: Sun, 12 Oct 2008 19:54:11 +0000 (+0000) Subject: minor cleanup with STUB macro X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=f73b81205e6c3ffc14b6f657f50ce3dd1fc99722;p=cs3210-lab1.git minor cleanup with STUB macro --- diff --git a/runoff b/runoff index f2cbc01..3da62b4 100755 --- a/runoff +++ b/runoff @@ -151,7 +151,9 @@ done ) >alltext perl -n -e 'print if s/^([0-9]+ [a-zA-Z0-9_]+)\(.*$/\1/;' alltext | - egrep -v ' (usage|main|if|for)$' >>defs + egrep -v ' (STUB|usage|main|if|for)$' >>defs +#perl -n -e 'print if s/^([0-9]+) STUB\(([a-zA-Z0-9_]+)\)$/\1 \2/;' alltext \ +# >>defs ( >s.defs