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