ref: 8be7f27b758ef9ef818f68db0d8bcb7b038eae0e
dir: /sys/src/cmd/diff/test/merge.rc/
#!/bin/rc tests=`{seq 11} for(t in $tests){ echo ../$O.merge3 merge-t$t.l merge-t$t.c merge-t$t.r ../$O.merge3 merge-t$t.l merge-t$t.c merge-t$t.r > merge-t$t.out cmp merge-t$t.out merge-t$t.expected #|| {echo 'failed '$t; exit failed} }