Home
0008-ignore.sh - scc - simple c99 compiler HTML git clone git://git.simple-cc.org/scc DIR Log DIR Files DIR Refs DIR Submodules DIR README DIR LICENSE --- 0008-ignore.sh (280B) --- 1 #!/bin/sh 2 3 trap 'rm -f $tmp1 $tmp2' EXIT INT QUIT HUP TERM 4 5 tmp1=tmp1.$$ 6 tmp2=tmp2.$$ 7 8 cat <<EOF > $tmp2 9 no-valid-program 10 sh: no-valid-program: not found 11 Hello World! 12 EOF 13 14 scc-make -f test.mk ignored-error hello 2>&1 | 15 sed 's/sh:.*: *no-/sh: no-/' > $tmp1 2>&1 16 17 diff $tmp1 $tmp2