1#!/bin/sh 2fname=$(mktemp) 3 4for i in *.asm; do 5 ../../rgbasm $i >$fname 2>&1 6 mv -f $fname ${i%.asm}.out 7done 8 9rm -f $fname 10exit 0 11