File:  [CSRG BSD Unix] / 43BSD / contrib / dipress / src / bin / qip
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

#! /bin/csh
# (C) Copyright 1985, 1986  Xerox Corp.
#
# This is a shell script that can be used to simulate the MDQS queuing
# command "qip".  Dipress and maha only use the following options:
#
#    -nc		don't make a copy of this file
#    -nk		don't keep the file after printing it (delete it)
#    -c copies		number of copies requested
#    -t banner		set the banner message on the break page
#    -x Fname		the name it should be filed on
#
#
set flags=() noglob fonts=() device=8044 outputname=()
unset copies
unset title
unset extended
unset delete
set copy
top:
if ($#argv > 0) then
	switch ($argv[1])

	case -nc:
		unset copy
		shift argv
		goto top

	case -nk:
		set delete
		shift argv
		goto top

	case -c:
		shift argv
		set copies=$argv[1]
		shift argv
		goto top

	case -t:
		shift argv
		set title=$argv[1]
		shift argv
		goto top

	case -x:
		shift argv
		set extended=$argv[1]
		shift argv
		goto top
	endsw
endif
echo "insert your command here"

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.