plan9port/bin/9a
rsc dbd7b9a97e various shell script fixes.
add 9a, 9c, 9l wrapper scripts.
label sets label on xterm/9term
2003-11-23 18:29:08 +00:00

9 lines
132 B
Bash
Executable file

#!/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