1 #!/bin/sh 2 3 if [ $# != 1 ]; then 4 echo 'usage: 9a file.s' 1>&2 5 exit 1 6 fi 7 8 out=`echo $1 | sed 's/\.s$//;s/$/.o/'` 9 exec as -o $out $1