ref: a3e95f99d2da1597feffe0fe1db8531197e86f59 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