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