xref: /original-bsd/usr.bin/plot/plot.sh (revision a5a45b47)
1#!/bin/sh -
2#
3# %sccs.include.proprietary.sh%
4#
5#	@(#)plot.sh	4.7 (Berkeley) 04/18/91
6#
7
8PATH=/bin:/usr/bin:/usr/libexec/plot
9case $1 in
10-T*)	t=$1
11	shift ;;
12*)	t=-T$TERM
13esac
14case $t in
15-T450)			exec t450 "$@";;
16-T300)			exec t300 "$@";;
17-T300S|-T300s)		exec t300s "$@";;
18-Tver)			exec lpr -Pversatec -g "$@";;
19-Tvar)			exec lpr -Pvarian -g "$@";;
20-Ttek|-T4014|-T)	exec tek "$@" ;;
21-T4013)			exec t4013 "$@" ;;
22-Tbitgraph|-Tbg)	exec bgplot "$@";;
23-Tgigi|-Tvt125)		exec gigiplot "$@";;
24-Taed)			exec aedplot "$@";;
25-Thp7221|-Thp7|-Th7)	exec hp7221plot "$@";;
26-Thp|-T2648|-T2648a|-Thp2648|-Thp2648a|h8)
27			exec hpplot "$@";;
28-Tip|-Timagen)		exec implot "$@";;
29-Tgrn)			exec grnplot "$@";;
30-Tcrt)			exec crtplot "$@";;
31-Tdumb|un|unknown)	exec dumbplot "$@";;
32*)  			exec crtplot "$@";;
33esac
34