ref: 483d94f88bccaa9ec3b78bb291f997164ec18c1e 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