0009-ignore.sh (316B)
1 #!/bin/sh 2 3 trap 'rm -f $tmp1' EXIT 4 trap 'exit $?' HUP INT TERM 5 6 tmp1=tmp1.$$ 7 8 ($EXEC scc make -f - error hello 2>&1 | 9 sed 's/sh:.*: *no-/sh: no-/' > $tmp1) <<EOF 10 .IGNORE: 11 12 error: 13 no-valid-program 14 EOF 15 16 diff $tmp1 - <<EOF 17 no-valid-program 18 sh: no-valid-program: not found 19 make: error: don't know how to make hello 20 EOF