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