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