update.sh - scc - simple c99 compiler
(HTM) git clone git://git.simple-cc.org/scc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
update.sh (164B)
---
1 #!/bin/sh
2
3 update()
4 {
5 for i
6 do
7 (echo '/^PATTERN/+;/^\./-c'
8 scc $CFLAGS -W -c $i 2>&1
9 printf ".\nw\n"
10 echo w) |
11 ed -s $i
12 done
13 }
14
15 update $@
16 update $@