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