scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

update.sh (122B)


      1 #!/bin/sh
      2 
      3 for i
      4 do
      5 	(echo '/^PATTERN/+;/^\./-c'
      6 	 scc $CFLAGS -w -c $i 2>&1
      7 	 printf ".\nw\n"
      8 	 echo w) |
      9 	ed -s $i
     10 done