xref: /original-bsd/old/vpr/vpr.sh (revision ca5ee01f)
1cdadb3d7Saigrain#! /bin/csh -f
2fcd83627Smckusick#
3*ca5ee01fSralph#	@(#)vpr.sh	4.1	(Berkeley)	03/08/83
4fcd83627Smckusick#
5*ca5ee01fSralphset flags = ()
6*ca5ee01fSralphset printer = -Pvarian
7fcd83627Smckusicktop:
8fcd83627Smckusick	if ($#argv > 0) then
9fcd83627Smckusick		switch ($argv[1])
10*ca5ee01fSralph		case -V:
11*ca5ee01fSralph			set printer = -Pvarian
12fcd83627Smckusick			shift argv
13fcd83627Smckusick			goto top
14*ca5ee01fSralph		case -W:
15*ca5ee01fSralph			set printer = -Pversatec
1688b91a3cSrrh			shift argv
1788b91a3cSrrh			goto top
18fcd83627Smckusick		case -*:
19fcd83627Smckusick			set flags = ($flags $argv[1])
20fcd83627Smckusick			shift argv
21fcd83627Smckusick			goto top
22fcd83627Smckusick		endsw
23fcd83627Smckusick	endif
24*ca5ee01fSralph/usr/ucb/lpr $printer $flags $*
25