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