various shell script fixes.

add 9a, 9c, 9l wrapper scripts.
label sets label on xterm/9term
This commit is contained in:
rsc 2003-11-23 18:29:08 +00:00
parent 97a5e5f2dd
commit dbd7b9a97e
7 changed files with 80 additions and 11 deletions

9
bin/9a Executable file
View file

@ -0,0 +1,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