ref: bee2710c5c6c08c1921adec648a1ef628ad9268c 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 ''