aboutsummaryrefslogtreecommitdiff
path: root/bin/9a
blob: f2984ffbafbaa9c719e03c97e0ceaf98d61100f2 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

if [ $# != 1 ]; then
	echo 'usage: 9a file.s' 1>&2
	exit 1
fi

out=`echo $1 | sed 's/\.s$//;s/$/.o/'`
exec as -o $out $1