ref: 0850c5b8bb1562625f822fe7b4e7c0da5f5b28f7 dir: /cmd/cpp/cpp.rc/
#!/bin/rc for(f in *.test){ cpp $f > $f.out if(! cmp $f.out $f.expected){ >[2=1] echo fail: $f >[2=1] ape/diff $f.out $f.expected exit fail } } exit ''