summaryrefslogtreecommitdiff
path: root/systems/unix/tex-gpc/shell/tgl
blob: 9e21a23fd64fe027f67ec9c545c786f6eaa20117 (plain)
1
2
3
4
5
6
case $# in
1) b=`basename $1 .web`; tangle $1 /dev/null $b.p /dev/null;;
2) b=`basename $2 .ch`;  tangle $1 $2        $b.p /dev/null;;
*) echo Usage: `basename $0` web-file [ ch-file ] ; exit 1
esac && \
gpc -Wno-warnings $b.p