ref: 75f5c7d3948bc647b21272c2e0bcbf841fb4d9f7 dir: /cmd/cpp/cpp.rc/
#!/bin/rc for(f in *.test){ cpp -P $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 ''