|
|
1.1 root 1: #! /bin/csh
2: # (C) Copyright 1985, 1986 Xerox Corp.
3: #
4: # This is a shell script that can be used to simulate the MDQS queuing
5: # command "qip". Dipress and maha only use the following options:
6: #
7: # -nc don't make a copy of this file
8: # -nk don't keep the file after printing it (delete it)
9: # -c copies number of copies requested
10: # -t banner set the banner message on the break page
11: # -x Fname the name it should be filed on
12: #
13: #
14: set flags=() noglob fonts=() device=8044 outputname=()
15: unset copies
16: unset title
17: unset extended
18: unset delete
19: set copy
20: top:
21: if ($#argv > 0) then
22: switch ($argv[1])
23:
24: case -nc:
25: unset copy
26: shift argv
27: goto top
28:
29: case -nk:
30: set delete
31: shift argv
32: goto top
33:
34: case -c:
35: shift argv
36: set copies=$argv[1]
37: shift argv
38: goto top
39:
40: case -t:
41: shift argv
42: set title=$argv[1]
43: shift argv
44: goto top
45:
46: case -x:
47: shift argv
48: set extended=$argv[1]
49: shift argv
50: goto top
51: endsw
52: endif
53: echo "insert your command here"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.