blob: 5c80d0efe30c6e2a88416cf42580c20ec43c888a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#! /bin/sh
# schemeTeX @(#)st.sh 1.3 88/06/30
EXT=.st
DIR=`dirname $1`
BASE=`basename $1 ${EXT}`
case $# in
0) schemeTeX ;;
1) schemeTeX < ${DIR}/${BASE}${EXT} > ${DIR}/${BASE}.tex ;;
2) schemeTeX < $1 > $2 ;;
*) echo "usage: $0 file-name"; exit 1;;
esac
|