ref: 57029959788a4e399fb8de1127866bd1b66c1115 dir: /test/asm/test.sh/
fname=$(mktemp) for i in *.asm; do ../../rgbasm $i >$fname 2>&1 # diff -u $fname $(basename $i .asm).out diff -u $fname ${i%.asm}.out done