summaryrefslogtreecommitdiff
path: root/systems/unix/tex-fpc/shell/wve
blob: a445975cb68a7f7b4bc527d38d79db59f92ae17d (plain)
1
2
3
4
5
6
case $# in
1) b=`basename $1 .web`; weave $1 /dev/null $b.tex;;
2) b=`basename $1 .web`; weave $1 $2        $b.tex;;
*) echo Usage: `basename $0` web-file [ ch-file ]; exit 1
esac && \
tex $b