home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 73 6f 75 72 63 65 73 | 2e 6d 69 73 63 0a 73 75 |.sources|.misc.su|
|00000020| 62 6a 65 63 74 3a 20 76 | 30 38 69 30 39 35 3a 20 |bject: v|08i095: |
|00000030| 55 70 3a 20 75 74 69 6c | 69 74 69 65 73 20 74 6f |Up: util|ities to|
|00000040| 20 70 72 69 6e 74 20 63 | 6f 6e 66 6f 72 6d 69 6e | print c|onformin|
|00000050| 67 20 50 6f 73 74 53 63 | 72 69 70 74 20 6e 2d 75 |g PostSc|ript n-u|
|00000060| 70 0a 46 72 6f 6d 3a 20 | 61 6c 6c 62 65 72 79 40 |p.From: |allbery@|
|00000070| 75 75 6e 65 74 2e 55 55 | 2e 4e 45 54 20 28 42 72 |uunet.UU|.NET (Br|
|00000080| 61 6e 64 6f 6e 20 53 2e | 20 41 6c 6c 62 65 72 79 |andon S.| Allbery|
|00000090| 20 2d 20 63 6f 6d 70 2e | 73 6f 75 72 63 65 73 2e | - comp.|sources.|
|000000a0| 6d 69 73 63 29 0a 52 65 | 70 6c 79 2d 54 6f 3a 20 |misc).Re|ply-To: |
|000000b0| 6a 67 72 65 65 6c 79 40 | 63 69 73 2e 6f 68 69 6f |jgreely@|cis.ohio|
|000000c0| 2d 73 74 61 74 65 2e 65 | 64 75 20 28 4a 20 47 72 |-state.e|du (J Gr|
|000000d0| 65 65 6c 79 29 0a 0a 50 | 6f 73 74 69 6e 67 2d 6e |eely)..P|osting-n|
|000000e0| 75 6d 62 65 72 3a 20 56 | 6f 6c 75 6d 65 20 38 2c |umber: V|olume 8,|
|000000f0| 20 49 73 73 75 65 20 39 | 35 0a 53 75 62 6d 69 74 | Issue 9|5.Submit|
|00000100| 74 65 64 2d 62 79 3a 20 | 6a 67 72 65 65 6c 79 40 |ted-by: |jgreely@|
|00000110| 63 69 73 2e 6f 68 69 6f | 2d 73 74 61 74 65 2e 65 |cis.ohio|-state.e|
|00000120| 64 75 20 28 4a 20 47 72 | 65 65 6c 79 29 0a 41 72 |du (J Gr|eely).Ar|
|00000130| 63 68 69 76 65 2d 6e 61 | 6d 65 3a 20 75 70 0a 0a |chive-na|me: up..|
|00000140| 54 68 69 73 20 70 61 63 | 6b 61 67 65 20 61 6c 6c |This pac|kage all|
|00000150| 6f 77 73 20 79 6f 75 20 | 74 6f 20 70 72 69 6e 74 |ows you |to print|
|00000160| 20 63 6f 6e 66 6f 72 6d | 69 6e 67 20 50 53 20 66 | conform|ing PS f|
|00000170| 69 6c 65 73 20 6e 2d 75 | 70 2c 20 77 69 74 68 20 |iles n-u|p, with |
|00000180| 74 68 65 0a 73 63 61 6c | 69 6e 67 2c 20 72 6f 74 |the.scal|ing, rot|
|00000190| 61 74 69 6f 6e 2c 20 61 | 6e 64 20 70 61 67 65 20 |ation, a|nd page |
|000001a0| 70 6f 73 69 74 69 6f 6e | 69 6e 67 20 63 6f 64 65 |position|ing code|
|000001b0| 20 6b 65 70 74 20 69 6e | 20 61 20 72 65 61 64 61 | kept in| a reada|
|000001c0| 62 6c 65 0a 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |ble.conf|iguratio|
|000001d0| 6e 20 66 69 6c 65 2e 20 | 20 49 74 20 69 6e 63 6c |n file. | It incl|
|000001e0| 75 64 65 73 20 61 20 75 | 74 69 6c 69 74 79 20 74 |udes a u|tility t|
|000001f0| 6f 20 63 72 65 61 74 65 | 20 6e 75 6d 62 65 72 65 |o create| numbere|
|00000200| 64 20 74 65 73 74 0a 70 | 61 67 65 73 2c 20 61 73 |d test.p|ages, as|
|00000210| 20 77 65 6c 6c 20 61 73 | 20 6f 6e 65 20 74 68 61 | well as| one tha|
|00000220| 74 20 72 65 61 72 72 61 | 6e 67 65 73 20 74 68 65 |t rearra|nges the|
|00000230| 20 70 61 67 65 73 20 69 | 6e 20 61 20 50 6f 73 74 | pages i|n a Post|
|00000240| 53 63 72 69 70 74 20 66 | 69 6c 65 0a 69 6e 74 6f |Script f|ile.into|
|00000250| 20 73 69 67 6e 61 74 75 | 72 65 20 6f 72 64 65 72 | signatu|re order|
|00000260| 2c 20 66 6f 72 20 70 72 | 6f 64 75 63 69 6e 67 20 |, for pr|oducing |
|00000270| 74 77 6f 2d 75 70 2c 20 | 64 6f 75 62 6c 65 2d 73 |two-up, |double-s|
|00000280| 69 64 65 64 20 62 6f 6f | 6b 6c 65 74 73 2e 0a 54 |ided boo|klets..T|
|00000290| 68 65 20 73 63 72 69 70 | 74 73 20 61 72 65 20 77 |he scrip|ts are w|
|000002a0| 72 69 74 74 65 6e 20 69 | 6e 20 50 65 72 6c 2c 20 |ritten i|n Perl, |
|000002b0| 61 6e 64 20 72 65 71 75 | 69 72 65 20 74 68 61 74 |and requ|ire that|
|000002c0| 20 76 65 72 73 69 6f 6e | 20 33 2e 30 20 62 65 0a | version| 3.0 be.|
|000002d0| 61 76 61 69 6c 61 62 6c | 65 2e 20 20 49 66 20 79 |availabl|e. If y|
|000002e0| 6f 75 20 64 6f 6e 27 74 | 20 68 61 76 65 20 50 65 |ou don't| have Pe|
|000002f0| 72 6c 2c 20 68 6f 77 2d | 74 6f 20 69 6e 73 74 72 |rl, how-|to instr|
|00000300| 75 63 74 69 6f 6e 73 20 | 61 72 65 20 70 72 6f 76 |uctions |are prov|
|00000310| 69 64 65 64 0a 66 6f 72 | 20 63 6f 6e 76 65 72 74 |ided.for| convert|
|00000320| 69 6e 67 20 74 6f 20 61 | 6e 6f 74 68 65 72 20 6c |ing to a|nother l|
|00000330| 61 6e 67 75 61 67 65 2e | 20 20 49 74 20 69 73 20 |anguage.| It is |
|00000340| 6b 6e 6f 77 6e 20 74 6f | 20 77 6f 72 6b 20 6f 6e |known to| work on|
|00000350| 20 74 68 65 20 6f 75 74 | 70 75 74 0a 6f 66 20 65 | the out|put.of e|
|00000360| 6e 73 63 72 69 70 74 2c | 20 70 73 63 61 74 2c 20 |nscript,| pscat, |
|00000370| 70 73 64 69 74 20 28 61 | 6c 6c 20 66 72 6f 6d 20 |psdit (a|ll from |
|00000380| 74 68 65 20 41 64 6f 62 | 65 20 54 72 61 6e 53 63 |the Adob|e TranSc|
|00000390| 72 69 70 74 20 70 61 63 | 6b 61 67 65 29 2c 20 74 |ript pac|kage), t|
|000003a0| 68 65 0a 41 64 6f 62 65 | 20 64 6f 63 75 6d 65 6e |he.Adobe| documen|
|000003b0| 74 61 74 69 6f 6e 20 73 | 75 70 70 6c 69 65 64 20 |tation s|upplied |
|000003c0| 77 69 74 68 20 4e 65 58 | 54 20 72 65 6c 65 61 73 |with NeX|T releas|
|000003d0| 65 20 31 2e 30 2c 20 61 | 6e 64 20 61 62 73 6f 6c |e 1.0, a|nd absol|
|000003e0| 75 74 65 6c 79 0a 2a 6e | 6f 2a 20 64 76 69 2d 74 |utely.*n|o* dvi-t|
|000003f0| 6f 2d 50 53 20 63 6f 6e | 76 65 72 74 65 72 20 28 |o-PS con|verter (|
|00000400| 64 76 69 70 73 20 34 2e | 32 20 73 65 65 6d 73 20 |dvips 4.|2 seems |
|00000410| 74 68 65 20 6d 6f 73 74 | 20 70 72 6f 6d 69 73 69 |the most| promisi|
|00000420| 6e 67 2c 20 61 6e 64 20 | 49 27 6d 0a 77 6f 72 6b |ng, and |I'm.work|
|00000430| 69 6e 67 20 6f 6e 20 61 | 70 70 72 6f 70 72 69 61 |ing on a|ppropria|
|00000440| 74 65 20 68 61 63 6b 73 | 29 2e 0a 0a 23 21 20 2f |te hacks|)...#! /|
|00000450| 62 69 6e 2f 73 68 0a 23 | 20 54 68 69 73 20 69 73 |bin/sh.#| This is|
|00000460| 20 61 20 73 68 65 6c 6c | 20 61 72 63 68 69 76 65 | a shell| archive|
|00000470| 2e 20 20 52 65 6d 6f 76 | 65 20 61 6e 79 74 68 69 |. Remov|e anythi|
|00000480| 6e 67 20 62 65 66 6f 72 | 65 20 74 68 69 73 20 6c |ng befor|e this l|
|00000490| 69 6e 65 2c 20 74 68 65 | 6e 20 75 6e 70 61 63 6b |ine, the|n unpack|
|000004a0| 0a 23 20 69 74 20 62 79 | 20 73 61 76 69 6e 67 20 |.# it by| saving |
|000004b0| 69 74 20 69 6e 74 6f 20 | 61 20 66 69 6c 65 20 61 |it into |a file a|
|000004c0| 6e 64 20 74 79 70 69 6e | 67 20 22 73 68 20 66 69 |nd typin|g "sh fi|
|000004d0| 6c 65 22 2e 20 20 54 6f | 20 6f 76 65 72 77 72 69 |le". To| overwri|
|000004e0| 74 65 20 65 78 69 73 74 | 69 6e 67 0a 23 20 66 69 |te exist|ing.# fi|
|000004f0| 6c 65 73 2c 20 74 79 70 | 65 20 22 73 68 20 66 69 |les, typ|e "sh fi|
|00000500| 6c 65 20 2d 63 22 2e 20 | 20 59 6f 75 20 63 61 6e |le -c". | You can|
|00000510| 20 61 6c 73 6f 20 66 65 | 65 64 20 74 68 69 73 20 | also fe|ed this |
|00000520| 61 73 20 73 74 61 6e 64 | 61 72 64 20 69 6e 70 75 |as stand|ard inpu|
|00000530| 74 20 76 69 61 0a 23 20 | 75 6e 73 68 61 72 2c 20 |t via.# |unshar, |
|00000540| 6f 72 20 62 79 20 74 79 | 70 69 6e 67 20 22 73 68 |or by ty|ping "sh|
|00000550| 20 3c 66 69 6c 65 22 2c | 20 65 2e 67 2e 2e 20 20 | <file",| e.g.. |
|00000560| 49 66 20 74 68 69 73 20 | 61 72 63 68 69 76 65 20 |If this |archive |
|00000570| 69 73 20 63 6f 6d 70 6c | 65 74 65 2c 20 79 6f 75 |is compl|ete, you|
|00000580| 0a 23 20 77 69 6c 6c 20 | 73 65 65 20 74 68 65 20 |.# will |see the |
|00000590| 66 6f 6c 6c 6f 77 69 6e | 67 20 6d 65 73 73 61 67 |followin|g messag|
|000005a0| 65 20 61 74 20 74 68 65 | 20 65 6e 64 3a 0a 23 09 |e at the| end:.#.|
|000005b0| 09 22 45 6e 64 20 6f 66 | 20 73 68 65 6c 6c 20 61 |."End of| shell a|
|000005c0| 72 63 68 69 76 65 2e 22 | 0a 23 20 43 6f 6e 74 65 |rchive."|.# Conte|
|000005d0| 6e 74 73 3a 20 20 52 45 | 41 44 4d 45 20 48 6f 77 |nts: RE|ADME How|
|000005e0| 54 6f 20 4d 61 6b 65 66 | 69 6c 65 20 75 70 20 6d |To Makef|ile up m|
|000005f0| 61 6b 65 75 70 20 70 61 | 72 72 20 75 70 2e 72 63 |akeup pa|rr up.rc|
|00000600| 20 75 70 2e 31 20 6d 61 | 6b 65 75 70 2e 31 0a 23 | up.1 ma|keup.1.#|
|00000610| 20 20 20 70 61 72 72 2e | 31 20 75 70 72 63 2e 35 | parr.|1 uprc.5|
|00000620| 0a 23 20 57 72 61 70 70 | 65 64 20 62 79 20 6a 67 |.# Wrapp|ed by jg|
|00000630| 72 65 65 6c 79 40 63 69 | 73 2e 6f 68 69 6f 2d 73 |reely@ci|s.ohio-s|
|00000640| 74 61 74 65 2e 65 64 75 | 20 6f 6e 20 54 75 65 20 |tate.edu| on Tue |
|00000650| 4f 63 74 20 32 34 20 31 | 35 3a 31 36 3a 32 32 20 |Oct 24 1|5:16:22 |
|00000660| 31 39 38 39 0a 50 41 54 | 48 3d 2f 62 69 6e 3a 2f |1989.PAT|H=/bin:/|
|00000670| 75 73 72 2f 62 69 6e 3a | 2f 75 73 72 2f 75 63 62 |usr/bin:|/usr/ucb|
|00000680| 20 3b 20 65 78 70 6f 72 | 74 20 50 41 54 48 0a 69 | ; expor|t PATH.i|
|00000690| 66 20 74 65 73 74 20 2d | 66 20 27 52 45 41 44 4d |f test -|f 'READM|
|000006a0| 45 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |E' -a "$|{1}" != |
|000006b0| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|000006c0| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|000006d0| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|000006e0| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 52 45 41 44 |ing file| \"'READ|
|000006f0| 4d 45 27 5c 22 0a 65 6c | 73 65 0a 65 63 68 6f 20 |ME'\".el|se.echo |
|00000700| 73 68 61 72 3a 20 45 78 | 74 72 61 63 74 69 6e 67 |shar: Ex|tracting|
|00000710| 20 5c 22 27 52 45 41 44 | 4d 45 27 5c 22 20 5c 28 | \"'READ|ME'\" \(|
|00000720| 33 32 38 36 20 63 68 61 | 72 61 63 74 65 72 73 5c |3286 cha|racters\|
|00000730| 29 0a 73 65 64 20 22 73 | 2f 5e 58 2f 2f 22 20 3e |).sed "s|/^X//" >|
|00000740| 27 52 45 41 44 4d 45 27 | 20 3c 3c 27 45 4e 44 5f |'README'| <<'END_|
|00000750| 4f 46 5f 46 49 4c 45 27 | 0a 58 09 09 20 20 20 20 |OF_FILE'|.X.. |
|00000760| 55 70 2c 20 61 20 50 6f | 73 74 53 63 72 69 70 74 |Up, a Po|stScript|
|00000770| 20 70 72 69 6e 74 20 75 | 74 69 6c 69 74 79 0a 58 | print u|tility.X|
|00000780| 09 20 20 20 20 68 61 63 | 6b 65 64 20 74 6f 67 65 |. hac|ked toge|
|00000790| 74 68 65 72 20 77 69 74 | 68 20 61 20 74 77 6f 2d |ther wit|h a two-|
|000007a0| 62 79 2d 66 6f 75 72 20 | 62 79 20 4a 20 47 72 65 |by-four |by J Gre|
|000007b0| 65 6c 79 0a 58 09 09 20 | 20 20 20 20 28 6a 67 72 |ely.X.. | (jgr|
|000007c0| 65 65 6c 79 40 63 69 73 | 2e 6f 68 69 6f 2d 73 74 |eely@cis|.ohio-st|
|000007d0| 61 74 65 2e 65 64 75 29 | 0a 58 0a 58 0a 58 54 68 |ate.edu)|.X.X.XTh|
|000007e0| 69 73 20 70 61 63 6b 61 | 67 65 20 61 6c 6c 6f 77 |is packa|ge allow|
|000007f0| 73 20 79 6f 75 20 74 6f | 20 70 72 69 6e 74 20 63 |s you to| print c|
|00000800| 6f 6e 66 6f 72 6d 69 6e | 67 20 50 53 20 66 69 6c |onformin|g PS fil|
|00000810| 65 73 20 6e 2d 75 70 2c | 20 77 69 74 68 20 74 68 |es n-up,| with th|
|00000820| 65 0a 58 73 63 61 6c 69 | 6e 67 2c 20 72 6f 74 61 |e.Xscali|ng, rota|
|00000830| 74 69 6f 6e 2c 20 61 6e | 64 20 70 61 67 65 20 70 |tion, an|d page p|
|00000840| 6f 73 69 74 69 6f 6e 69 | 6e 67 20 63 6f 64 65 20 |ositioni|ng code |
|00000850| 6b 65 70 74 20 69 6e 20 | 61 20 72 65 61 64 61 62 |kept in |a readab|
|00000860| 6c 65 0a 58 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |le.Xconf|iguratio|
|00000870| 6e 20 66 69 6c 65 2e 20 | 20 49 74 20 68 61 73 20 |n file. | It has |
|00000880| 73 75 63 63 65 73 73 66 | 75 6c 6c 79 20 62 65 65 |successf|ully bee|
|00000890| 6e 20 75 73 65 64 20 6f | 6e 20 74 68 65 20 6f 75 |n used o|n the ou|
|000008a0| 74 70 75 74 20 6f 66 0a | 58 70 74 72 6f 66 66 2c |tput of.|Xptroff,|
|000008b0| 20 65 6e 73 63 72 69 70 | 74 2c 20 70 73 64 69 74 | enscrip|t, psdit|
|000008c0| 20 28 61 6c 6c 20 66 72 | 6f 6d 20 41 64 6f 62 65 | (all fr|om Adobe|
|000008d0| 27 73 20 54 72 61 6e 53 | 63 72 69 70 74 20 70 61 |'s TranS|cript pa|
|000008e0| 63 6b 61 67 65 29 2c 20 | 61 6e 64 20 74 68 65 0a |ckage), |and the.|
|000008f0| 58 41 64 6f 62 65 20 64 | 6f 63 75 6d 65 6e 74 61 |XAdobe d|ocumenta|
|00000900| 74 69 6f 6e 20 73 75 70 | 70 6c 69 65 64 20 77 69 |tion sup|plied wi|
|00000910| 74 68 20 4e 65 58 54 20 | 72 65 6c 65 61 73 65 20 |th NeXT |release |
|00000920| 31 2e 30 2c 20 61 6e 64 | 20 73 68 6f 75 6c 64 20 |1.0, and| should |
|00000930| 77 6f 72 6b 20 6f 6e 0a | 58 61 6e 79 20 66 69 6c |work on.|Xany fil|
|00000940| 65 20 74 68 61 74 20 6f | 62 65 79 73 20 74 68 65 |e that o|beys the|
|00000950| 20 72 75 6c 65 73 20 74 | 68 65 20 77 61 79 20 49 | rules t|he way I|
|00000960| 20 61 73 73 75 6d 65 20 | 28 6e 6f 74 65 3a 20 69 | assume |(note: i|
|00000970| 74 20 64 6f 65 73 20 6e | 6f 74 0a 58 63 75 72 72 |t does n|ot.Xcurr|
|00000980| 65 6e 74 6c 79 20 77 6f | 72 6b 20 77 69 74 68 20 |ently wo|rk with |
|00000990| 61 6e 79 20 6b 6e 6f 77 | 6e 20 64 76 69 2d 74 6f |any know|n dvi-to|
|000009a0| 2d 50 53 20 63 6f 6e 76 | 65 72 74 65 72 3b 20 49 |-PS conv|erter; I|
|000009b0| 27 6d 20 6d 61 6b 69 6e | 67 20 73 6f 6d 65 0a 58 |'m makin|g some.X|
|000009c0| 63 68 61 6e 67 65 73 20 | 74 6f 20 6d 61 6b 65 20 |changes |to make |
|000009d0| 69 74 20 77 6f 72 6b 20 | 77 69 74 68 20 64 76 69 |it work |with dvi|
|000009e0| 70 73 20 34 2e 32 20 28 | 61 76 61 69 6c 61 62 6c |ps 4.2 (|availabl|
|000009f0| 65 20 66 6f 72 20 61 6e | 6f 6e 79 6d 6f 75 73 20 |e for an|onymous |
|00000a00| 66 74 70 20 61 74 0a 58 | 6c 61 62 72 65 61 2e 73 |ftp at.X|labrea.s|
|00000a10| 74 61 6e 66 6f 72 64 2e | 65 64 75 29 2c 20 62 75 |tanford.|edu), bu|
|00000a20| 74 20 74 68 65 79 27 72 | 65 20 6e 6f 74 20 64 6f |t they'r|e not do|
|00000a30| 6e 65 20 79 65 74 29 2e | 20 20 54 68 65 20 6d 61 |ne yet).| The ma|
|00000a40| 6a 6f 72 20 66 65 61 74 | 75 72 65 20 69 73 0a 58 |jor feat|ure is.X|
|00000a50| 74 68 65 20 61 62 69 6c | 69 74 79 20 74 6f 20 63 |the abil|ity to c|
|00000a60| 72 65 61 74 65 20 79 6f | 75 72 20 6f 77 6e 20 6c |reate yo|ur own l|
|00000a70| 61 79 6f 75 74 73 2c 20 | 77 69 74 68 20 61 72 62 |ayouts, |with arb|
|00000a80| 69 74 72 61 72 79 20 73 | 63 61 6c 69 6e 67 2c 0a |itrary s|caling,.|
|00000a90| 58 74 72 61 6e 73 6c 61 | 74 69 6f 6e 73 2c 20 61 |Xtransla|tions, a|
|00000aa0| 6e 64 20 72 6f 74 61 74 | 69 6f 6e 73 2e 20 20 54 |nd rotat|ions. T|
|00000ab0| 68 65 20 6f 75 74 70 75 | 74 20 63 61 6e 20 62 65 |he outpu|t can be|
|00000ac0| 20 66 65 64 20 62 61 63 | 6b 20 74 68 72 6f 75 67 | fed bac|k throug|
|00000ad0| 68 2c 20 66 6f 72 0a 58 | 66 75 72 74 68 65 72 20 |h, for.X|further |
|00000ae0| 72 65 64 75 63 74 69 6f | 6e 2f 64 65 73 74 72 75 |reductio|n/destru|
|00000af0| 63 74 69 6f 6e 2e 0a 58 | 0a 58 20 20 57 61 72 6e |ction..X|.X Warn|
|00000b00| 69 6e 67 3a 20 69 66 20 | 79 6f 75 20 64 6f 6e 27 |ing: if |you don'|
|00000b10| 74 20 68 61 76 65 20 4c | 61 72 72 79 20 57 61 6c |t have L|arry Wal|
|00000b20| 6c 27 73 20 50 65 72 6c | 20 6c 61 6e 67 75 61 67 |l's Perl| languag|
|00000b30| 65 20 69 6e 73 74 61 6c | 6c 65 64 2c 0a 58 74 68 |e instal|led,.Xth|
|00000b40| 69 73 20 75 74 69 6c 69 | 74 79 20 77 69 6c 6c 20 |is utili|ty will |
|00000b50| 62 65 20 75 73 65 6c 65 | 73 73 20 74 6f 20 79 6f |be usele|ss to yo|
|00000b60| 75 2e 20 20 49 74 27 73 | 20 6e 6f 74 20 68 61 72 |u. It's| not har|
|00000b70| 64 20 28 6f 6b 2c 20 74 | 72 69 76 69 61 6c 29 20 |d (ok, t|rivial) |
|00000b80| 74 6f 0a 58 63 6f 6e 76 | 65 72 74 20 69 74 20 74 |to.Xconv|ert it t|
|00000b90| 6f 20 4e 61 77 6b 20 6f | 72 20 43 2c 20 61 6e 64 |o Nawk o|r C, and|
|00000ba0| 20 49 27 6c 6c 20 70 72 | 6f 62 61 62 6c 79 20 67 | I'll pr|obably g|
|00000bb0| 65 74 20 61 72 6f 75 6e | 64 20 74 6f 20 69 74 20 |et aroun|d to it |
|00000bc0| 73 6f 6f 6e 2c 20 62 75 | 74 0a 58 66 6f 72 20 6e |soon, bu|t.Xfor n|
|00000bd0| 6f 77 20 79 6f 75 20 6e | 65 65 64 20 50 65 72 6c |ow you n|eed Perl|
|00000be0| 20 28 76 65 72 73 69 6f | 6e 20 33 2e 30 29 2e 20 | (versio|n 3.0). |
|00000bf0| 20 44 65 62 61 74 65 73 | 20 6f 6e 20 74 68 65 20 | Debates| on the |
|00000c00| 6d 65 72 69 74 73 20 6f | 66 20 50 65 72 6c 20 61 |merits o|f Perl a|
|00000c10| 73 0a 58 61 20 70 72 6f | 67 72 61 6d 6d 69 6e 67 |s.Xa pro|gramming|
|00000c20| 20 6c 61 6e 67 75 61 67 | 65 20 61 72 65 20 64 69 | languag|e are di|
|00000c30| 73 63 6f 75 72 61 67 65 | 64 20 62 79 20 74 68 65 |scourage|d by the|
|00000c40| 20 61 75 74 68 6f 72 2e | 20 20 49 66 20 50 65 72 | author.| If Per|
|00000c50| 6c 20 69 73 20 6e 6f 74 | 0a 58 6c 6f 63 61 74 65 |l is not|.Xlocate|
|00000c60| 64 20 69 6e 20 2f 75 73 | 72 2f 62 69 6e 2c 20 79 |d in /us|r/bin, y|
|00000c70| 6f 75 27 6c 6c 20 6e 65 | 65 64 20 74 6f 20 63 68 |ou'll ne|ed to ch|
|00000c80| 61 6e 67 65 20 74 68 65 | 20 66 69 72 73 74 20 6c |ange the| first l|
|00000c90| 69 6e 65 20 6f 66 20 65 | 61 63 68 0a 58 65 78 65 |ine of e|ach.Xexe|
|00000ca0| 63 75 74 61 62 6c 65 2e | 0a 58 0a 58 20 20 54 6f |cutable.|.X.X To|
|00000cb0| 20 75 73 65 2c 20 75 6e | 70 61 63 6b 20 74 68 65 | use, un|pack the|
|00000cc0| 20 73 68 61 72 20 66 69 | 6c 65 20 73 6f 6d 65 77 | shar fi|le somew|
|00000cd0| 68 65 72 65 2c 20 65 64 | 69 74 20 74 68 65 20 74 |here, ed|it the t|
|00000ce0| 6f 70 20 6f 66 20 4d 61 | 6b 65 66 69 6c 65 20 74 |op of Ma|kefile t|
|00000cf0| 6f 0a 58 69 6e 64 69 63 | 61 74 65 20 77 68 65 72 |o.Xindic|ate wher|
|00000d00| 65 20 74 68 69 6e 67 73 | 20 73 68 6f 75 6c 64 20 |e things| should |
|00000d10| 67 6f 2c 20 61 6e 64 20 | 74 79 70 65 20 22 6d 61 |go, and |type "ma|
|00000d20| 6b 65 20 69 6e 73 74 61 | 6c 6c 22 2e 20 49 74 20 |ke insta|ll". It |
|00000d30| 77 69 6c 6c 0a 58 69 6e | 73 74 61 6c 6c 20 73 65 |will.Xin|stall se|
|00000d40| 76 65 72 61 6c 20 73 79 | 6d 6c 69 6e 6b 73 20 74 |veral sy|mlinks t|
|00000d50| 6f 20 74 68 65 20 73 63 | 72 69 70 74 2c 20 61 73 |o the sc|ript, as|
|00000d60| 20 77 65 6c 6c 20 61 73 | 20 61 20 67 65 6e 65 72 | well as| a gener|
|00000d70| 61 6c 0a 58 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |al.Xconf|iguratio|
|00000d80| 6e 20 66 69 6c 65 2c 20 | 77 68 69 63 68 20 63 61 |n file, |which ca|
|00000d90| 6e 20 62 65 20 6f 76 65 | 72 72 69 64 64 65 6e 20 |n be ove|rridden |
|00000da0| 62 79 20 74 68 65 20 75 | 73 65 72 2e 0a 58 0a 58 |by the u|ser..X.X|
|00000db0| 20 20 43 75 72 72 65 6e | 74 6c 79 2c 20 69 74 20 | Curren|tly, it |
|00000dc0| 69 6e 73 74 61 6c 6c 73 | 20 6c 69 6e 6b 73 20 74 |installs| links t|
|00000dd0| 6f 20 70 72 69 6e 74 20 | 32 2c 20 34 2c 20 36 2c |o print |2, 4, 6,|
|00000de0| 20 61 6e 64 20 31 36 20 | 70 61 67 65 73 20 70 65 | and 16 |pages pe|
|00000df0| 72 0a 58 73 68 65 65 74 | 2c 20 61 6e 64 20 74 68 |r.Xsheet|, and th|
|00000e00| 65 20 73 75 70 70 6c 69 | 65 64 20 63 6f 6e 66 69 |e suppli|ed confi|
|00000e10| 67 75 72 61 74 69 6f 6e | 20 66 69 6c 65 20 68 61 |guration| file ha|
|00000e20| 73 20 73 61 6d 70 6c 65 | 20 6c 61 79 6f 75 74 73 |s sample| layouts|
|00000e30| 20 66 6f 72 0a 58 64 6f | 69 6e 67 20 28 61 6d 6f | for.Xdo|ing (amo|
|00000e40| 6e 67 20 6f 74 68 65 72 | 73 29 20 38 2d 75 70 2c |ng other|s) 8-up,|
|00000e50| 20 34 2d 75 70 20 69 6e | 20 67 72 65 65 74 69 6e | 4-up in| greetin|
|00000e60| 67 2d 63 61 72 64 20 70 | 6f 73 69 74 69 6f 6e 73 |g-card p|ositions|
|00000e70| 2c 20 31 30 2d 75 70 20 | 69 6e 20 61 0a 58 73 68 |, 10-up |in a.Xsh|
|00000e80| 72 69 6e 6b 69 6e 67 20 | 73 70 69 72 61 6c 2c 20 |rinking |spiral, |
|00000e90| 61 6e 64 20 6d 6f 72 65 | 2e 20 20 34 75 70 20 61 |and more|. 4up a|
|00000ea0| 6e 64 20 31 36 75 70 20 | 73 69 6d 70 6c 79 20 73 |nd 16up |simply s|
|00000eb0| 63 61 6c 65 20 74 68 65 | 20 70 61 67 65 20 62 79 |cale the| page by|
|00000ec0| 20 2e 35 0a 58 61 6e 64 | 20 2e 32 35 2c 20 72 65 | .5.Xand| .25, re|
|00000ed0| 73 70 65 63 74 69 76 65 | 6c 79 20 28 77 68 69 74 |spective|ly (whit|
|00000ee0| 65 20 6c 69 65 3b 20 72 | 65 61 64 20 6d 79 20 65 |e lie; r|ead my e|
|00000ef0| 78 63 75 73 65 20 69 6e | 20 74 68 65 20 63 6f 6e |xcuse in| the con|
|00000f00| 66 69 67 20 66 69 6c 65 | 29 2e 0a 58 32 75 70 20 |fig file|)..X2up |
|00000f10| 61 6e 64 20 36 75 70 20 | 61 72 65 20 72 6f 74 61 |and 6up |are rota|
|00000f20| 74 65 64 2c 20 61 6e 64 | 20 74 68 65 20 70 61 67 |ted, and| the pag|
|00000f30| 65 20 70 6f 73 69 74 69 | 6f 6e 69 6e 67 20 69 73 |e positi|oning is|
|00000f40| 20 67 69 76 65 6e 20 62 | 65 6c 6f 77 3a 0a 58 0a | given b|elow:.X.|
|00000f50| 58 09 09 20 20 20 20 2b | 2d 2d 2d 2d 2d 2b 2d 2d |X.. +|-----+--|
|00000f60| 2d 2d 2d 2b 20 20 20 2b | 2d 2d 2d 2b 2d 2d 2d 2b |---+ +|---+---+|
|00000f70| 2d 2d 2d 2b 0a 58 20 20 | 20 20 20 20 20 20 20 20 |---+.X | |
|00000f80| 20 20 20 20 20 20 20 20 | 20 20 7c 20 20 20 20 20 | | | |
|00000f90| 7c 20 20 20 20 20 7c 20 | 20 20 7c 20 31 20 7c 20 || | | | 1 | |
|00000fa0| 32 20 7c 20 33 20 7c 0a | 58 20 20 20 20 20 20 20 |2 | 3 |.|X |
|00000fb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7c 20 20 | | | |
|00000fc0| 31 20 20 7c 20 20 32 20 | 20 7c 20 20 20 2b 2d 2d |1 | 2 | | +--|
|00000fd0| 2d 2b 2d 2d 2d 2b 2d 2d | 2d 2b 0a 58 20 20 20 20 |-+---+--|-+.X |
|00000fe0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ff0| 7c 20 20 20 20 20 7c 20 | 20 20 20 20 7c 20 20 20 || | | | |
|00001000| 7c 20 34 20 7c 20 35 20 | 7c 20 36 20 7c 0a 58 20 || 4 | 5 || 6 |.X |
|00001010| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001020| 20 20 20 2b 2d 2d 2d 2d | 2d 2b 2d 2d 2d 2d 2d 2b | +----|-+-----+|
|00001030| 20 20 20 2b 2d 2d 2d 2b | 2d 2d 2d 2b 2d 2d 2d 2b | +---+|---+---+|
|00001040| 0a 58 0a 58 0a 58 20 20 | 4e 6f 74 65 20 74 6f 20 |.X.X.X |Note to |
|00001050| 4e 65 58 54 20 75 73 65 | 72 73 3a 20 62 6f 74 68 |NeXT use|rs: both|
|00001060| 20 50 72 65 76 69 65 77 | 20 61 6e 64 20 59 61 70 | Preview| and Yap|
|00001070| 20 63 61 6e 20 62 65 20 | 75 73 65 64 20 74 6f 20 | can be |used to |
|00001080| 70 72 65 76 69 65 77 0a | 58 6f 75 74 70 75 74 20 |preview.|Xoutput |
|00001090| 75 6e 64 65 72 20 72 65 | 6c 65 61 73 65 20 31 2e |under re|lease 1.|
|000010a0| 30 2e 20 20 50 72 65 76 | 69 6f 75 73 20 76 65 72 |0. Prev|ious ver|
|000010b0| 73 69 6f 6e 73 20 77 6f | 75 6c 64 6e 27 74 20 77 |sions wo|uldn't w|
|000010c0| 6f 72 6b 20 71 75 69 74 | 65 0a 58 72 69 67 68 74 |ork quit|e.Xright|
|000010d0| 2e 0a 58 0a 58 20 20 4e | 6f 74 65 20 74 6f 20 70 |..X.X N|ote to p|
|000010e0| 65 6f 70 6c 65 20 69 6e | 20 67 65 6e 65 72 61 6c |eople in| general|
|000010f0| 3a 20 61 66 74 65 72 20 | 49 20 66 69 6e 69 73 68 |: after |I finish|
|00001100| 65 64 20 77 72 69 74 69 | 6e 67 20 74 68 69 73 2c |ed writi|ng this,|
|00001110| 20 73 6f 6d 65 6f 6e 65 | 0a 58 74 6f 6c 64 20 6d | someone|.Xtold m|
|00001120| 65 20 6f 66 20 61 74 20 | 6c 65 61 73 74 20 6f 6e |e of at |least on|
|00001130| 65 20 6f 74 68 65 72 20 | 6e 2d 75 70 20 75 74 69 |e other |n-up uti|
|00001140| 6c 69 74 79 2e 20 20 54 | 68 65 20 6f 6e 65 20 49 |lity. T|he one I|
|00001150| 27 76 65 20 73 65 65 6e | 20 77 6f 72 6b 73 0a 58 |'ve seen| works.X|
|00001160| 62 79 20 77 68 61 74 20 | 6d 69 67 68 74 20 62 65 |by what |might be|
|00001170| 20 63 61 6c 6c 65 64 20 | 65 6c 65 67 61 6e 74 20 | called |elegant |
|00001180| 50 6f 73 74 53 63 72 69 | 70 74 20 68 61 63 6b 69 |PostScri|pt hacki|
|00001190| 6e 67 2c 20 62 75 74 20 | 49 20 74 68 69 6e 6b 20 |ng, but |I think |
|000011a0| 6d 69 6e 65 0a 58 73 6f | 6c 76 65 73 20 61 20 64 |mine.Xso|lves a d|
|000011b0| 69 66 66 65 72 65 6e 74 | 20 70 72 6f 62 6c 65 6d |ifferent| problem|
|000011c0| 2e 0a 58 0a 58 20 20 42 | 75 67 73 2c 20 73 75 67 |..X.X B|ugs, sug|
|000011d0| 67 65 73 74 69 6f 6e 73 | 2c 20 6f 66 66 65 72 73 |gestions|, offers|
|000011e0| 20 6f 66 20 6d 6f 6e 65 | 79 20 61 6e 64 20 73 61 | of mone|y and sa|
|000011f0| 63 72 69 66 69 63 65 73 | 2c 20 61 6e 64 20 61 6e |crifices|, and an|
|00001200| 79 74 68 69 6e 67 0a 58 | 69 6e 74 65 72 65 73 74 |ything.X|interest|
|00001210| 69 6e 67 20 64 6f 6e 65 | 20 77 69 74 68 20 74 68 |ing done| with th|
|00001220| 69 73 20 70 61 63 6b 61 | 67 65 20 77 69 6c 6c 20 |is packa|ge will |
|00001230| 62 65 20 63 68 65 65 72 | 66 75 6c 6c 79 20 61 63 |be cheer|fully ac|
|00001240| 63 65 70 74 65 64 2e 0a | 58 44 65 73 70 69 74 65 |cepted..|XDespite|
|00001250| 20 72 75 6d 6f 72 73 20 | 74 6f 20 74 68 65 20 63 | rumors |to the c|
|00001260| 6f 6e 74 72 61 72 79 2c | 20 49 20 61 6d 20 2a 6e |ontrary,| I am *n|
|00001270| 6f 74 2a 20 61 20 62 6c | 61 63 6b 20 68 6f 6c 65 |ot* a bl|ack hole|
|00001280| 20 66 6f 72 20 65 2d 6d | 61 69 6c 2e 0a 58 0a 58 | for e-m|ail..X.X|
|00001290| 0a 58 41 64 64 69 74 69 | 6f 6e 61 6c 20 75 74 69 |.XAdditi|onal uti|
|000012a0| 6c 69 74 69 65 73 20 73 | 75 70 70 6c 69 65 64 3a |lities s|upplied:|
|000012b0| 0a 58 0a 58 70 61 72 72 | 09 2d 20 50 61 67 65 20 |.X.Xparr|.- Page |
|000012c0| 41 52 52 61 6e 67 65 72 | 2e 20 20 46 6f 72 20 61 |ARRanger|. For a|
|000012d0| 72 62 69 74 72 61 72 79 | 20 72 65 6f 72 64 65 72 |rbitrary| reorder|
|000012e0| 69 6e 67 20 6f 66 20 70 | 61 67 65 73 20 69 6e 20 |ing of p|ages in |
|000012f0| 61 0a 58 09 20 20 63 6f | 6e 66 6f 72 6d 69 6e 67 |a.X. co|nforming|
|00001300| 20 50 53 20 66 69 6c 65 | 2e 20 20 53 77 69 74 63 | PS file|. Switc|
|00001310| 68 65 73 20 61 72 65 20 | 70 72 6f 76 69 64 65 64 |hes are |provided|
|00001320| 20 74 6f 20 61 75 74 6f | 6d 61 74 69 63 61 6c 6c | to auto|maticall|
|00001330| 79 0a 58 09 20 20 64 6f | 20 73 69 67 6e 61 74 75 |y.X. do| signatu|
|00001340| 72 65 2d 6f 72 64 65 72 | 20 70 72 69 6e 74 69 6e |re-order| printin|
|00001350| 67 20 66 6f 72 20 74 77 | 6f 2d 75 70 2c 20 6c 65 |g for tw|o-up, le|
|00001360| 66 74 2d 74 6f 2d 72 69 | 67 68 74 0a 58 09 20 20 |ft-to-ri|ght.X. |
|00001370| 6c 61 79 6f 75 74 73 20 | 28 22 75 70 20 2d 6e 20 |layouts |("up -n |
|00001380| 70 75 70 22 29 2e 20 20 | 50 61 67 65 73 20 63 61 |pup"). |Pages ca|
|00001390| 6e 20 62 65 20 70 72 69 | 6e 74 65 64 20 6d 6f 72 |n be pri|nted mor|
|000013a0| 65 20 74 68 61 6e 20 6f | 6e 63 65 0a 58 09 20 20 |e than o|nce.X. |
|000013b0| 6f 72 20 6e 6f 74 20 61 | 74 20 61 6c 6c 2c 20 61 |or not a|t all, a|
|000013c0| 6e 64 20 62 6c 61 6e 6b | 20 70 61 67 65 73 20 6d |nd blank| pages m|
|000013d0| 61 79 20 62 65 20 69 6e | 73 65 72 74 65 64 20 61 |ay be in|serted a|
|000013e0| 6e 79 77 68 65 72 65 2e | 0a 58 0a 58 6d 61 6b 65 |nywhere.|.X.Xmake|
|000013f0| 75 70 09 2d 20 67 65 6e | 65 72 61 74 65 73 20 6e |up.- gen|erates n|
|00001400| 75 6d 62 65 72 65 64 20 | 74 65 73 74 20 70 61 67 |umbered |test pag|
|00001410| 65 73 2c 20 66 6f 72 20 | 64 65 62 75 67 67 69 6e |es, for |debuggin|
|00001420| 67 20 6e 65 77 20 6c 61 | 79 6f 75 74 73 0a 58 0a |g new la|youts.X.|
|00001430| 58 2d 2d 0a 58 4a 20 47 | 72 65 65 6c 79 20 28 6a |X--.XJ G|reely (j|
|00001440| 67 72 65 65 6c 79 40 63 | 69 73 2e 6f 68 69 6f 2d |greely@c|is.ohio-|
|00001450| 73 74 61 74 65 2e 65 64 | 75 3b 20 6f 73 75 2d 63 |state.ed|u; osu-c|
|00001460| 69 73 21 6a 67 72 65 65 | 6c 79 29 2c 20 38 39 2f |is!jgree|ly), 89/|
|00001470| 31 30 2f 32 33 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |10/23.EN|D_OF_FIL|
|00001480| 45 0a 69 66 20 74 65 73 | 74 20 33 32 38 36 20 2d |E.if tes|t 3286 -|
|00001490| 6e 65 20 60 77 63 20 2d | 63 20 3c 27 52 45 41 44 |ne `wc -|c <'READ|
|000014a0| 4d 45 27 60 3b 20 74 68 | 65 6e 0a 20 20 20 20 65 |ME'`; th|en. e|
|000014b0| 63 68 6f 20 73 68 61 72 | 3a 20 5c 22 27 52 45 41 |cho shar|: \"'REA|
|000014c0| 44 4d 45 27 5c 22 20 75 | 6e 70 61 63 6b 65 64 20 |DME'\" u|npacked |
|000014d0| 77 69 74 68 20 77 72 6f | 6e 67 20 73 69 7a 65 21 |with wro|ng size!|
|000014e0| 0a 66 69 0a 23 20 65 6e | 64 20 6f 66 20 27 52 45 |.fi.# en|d of 'RE|
|000014f0| 41 44 4d 45 27 0a 66 69 | 0a 69 66 20 74 65 73 74 |ADME'.fi|.if test|
|00001500| 20 2d 66 20 27 48 6f 77 | 54 6f 27 20 2d 61 20 22 | -f 'How|To' -a "|
|00001510| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|00001520| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|00001530| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|00001540| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|00001550| 65 20 5c 22 27 48 6f 77 | 54 6f 27 5c 22 0a 65 6c |e \"'How|To'\".el|
|00001560| 73 65 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |se.echo |shar: Ex|
|00001570| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 48 6f 77 54 |tracting| \"'HowT|
|00001580| 6f 27 5c 22 20 5c 28 35 | 37 37 36 20 63 68 61 72 |o'\" \(5|776 char|
|00001590| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|000015a0| 5e 58 2f 2f 22 20 3e 27 | 48 6f 77 54 6f 27 20 3c |^X//" >'|HowTo' <|
|000015b0| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 58 |<'END_OF|_FILE'.X|
|000015c0| 51 75 69 63 6b 20 73 75 | 6d 6d 61 72 79 20 6f 66 |Quick su|mmary of|
|000015d0| 20 77 68 61 74 20 74 68 | 69 73 20 70 61 63 6b 61 | what th|is packa|
|000015e0| 67 65 20 64 6f 65 73 2c | 20 61 6e 64 20 68 6f 77 |ge does,| and how|
|000015f0| 20 74 6f 20 64 75 70 6c | 69 63 61 74 65 20 69 74 | to dupl|icate it|
|00001600| 73 0a 58 65 66 66 65 63 | 74 73 20 69 66 20 79 6f |s.Xeffec|ts if yo|
|00001610| 75 20 64 6f 6e 27 74 20 | 6c 69 6b 65 20 6d 79 20 |u don't |like my |
|00001620| 63 6f 64 65 2e 0a 58 0a | 58 41 20 63 6f 6e 66 6f |code..X.|XA confo|
|00001630| 72 6d 69 6e 67 20 50 6f | 73 74 53 63 72 69 70 74 |rming Po|stScript|
|00001640| 20 66 69 6c 65 2c 20 66 | 6f 72 20 6d 79 20 70 75 | file, f|or my pu|
|00001650| 72 70 6f 73 65 73 2c 20 | 69 73 20 61 6e 79 74 68 |rposes, |is anyth|
|00001660| 69 6e 67 20 74 68 61 74 | 20 6d 65 65 74 73 0a 58 |ing that| meets.X|
|00001670| 61 6c 6c 20 6f 66 20 74 | 68 65 20 66 6f 6c 6c 6f |all of t|he follo|
|00001680| 77 69 6e 67 20 72 65 71 | 75 69 72 65 6d 65 6e 74 |wing req|uirement|
|00001690| 73 3a 0a 58 0a 58 31 29 | 20 66 69 72 73 74 20 6c |s:.X.X1)| first l|
|000016a0| 69 6e 65 20 6d 75 73 74 | 20 62 65 67 69 6e 20 77 |ine must| begin w|
|000016b0| 69 74 68 20 74 68 65 20 | 73 74 72 69 6e 67 20 27 |ith the |string '|
|000016c0| 25 21 50 53 2d 41 64 6f | 62 65 27 2e 0a 58 32 29 |%!PS-Ado|be'..X2)|
|000016d0| 20 45 61 63 68 20 70 61 | 67 65 20 6d 75 73 74 20 | Each pa|ge must |
|000016e0| 62 65 67 69 6e 20 77 69 | 74 68 20 61 20 27 25 25 |begin wi|th a '%%|
|000016f0| 50 61 67 65 3a 27 20 6c | 69 6e 65 2c 20 61 6e 64 |Page:' l|ine, and|
|00001700| 20 74 68 65 20 67 72 61 | 70 68 69 63 73 20 73 74 | the gra|phics st|
|00001710| 61 74 65 0a 58 20 20 20 | 6d 75 73 74 20 62 65 20 |ate.X |must be |
|00001720| 74 68 65 20 64 65 66 61 | 75 6c 74 20 61 74 20 74 |the defa|ult at t|
|00001730| 68 61 74 20 70 6f 69 6e | 74 20 28 6e 6f 20 74 72 |hat poin|t (no tr|
|00001740| 61 6e 73 6c 61 74 69 6f | 6e 2c 20 73 63 61 6c 69 |anslatio|n, scali|
|00001750| 6e 67 2c 20 6f 72 0a 58 | 20 20 20 72 6f 74 61 74 |ng, or.X| rotat|
|00001760| 69 6f 6e 20 6f 66 20 74 | 68 65 20 63 6f 6f 72 64 |ion of t|he coord|
|00001770| 69 6e 61 74 65 20 73 70 | 61 63 65 20 63 61 6e 20 |inate sp|ace can |
|00001780| 63 61 72 72 79 20 6f 76 | 65 72 20 62 65 74 77 65 |carry ov|er betwe|
|00001790| 65 6e 20 70 61 67 65 73 | 29 2e 0a 58 20 20 20 54 |en pages|)..X T|
|000017a0| 68 65 20 70 61 67 65 73 | 20 6d 75 73 74 20 62 65 |he pages| must be|
|000017b0| 20 6e 75 6d 62 65 72 65 | 64 20 73 74 61 72 74 69 | numbere|d starti|
|000017c0| 6e 67 20 61 74 20 31 2c | 20 77 68 69 63 68 20 69 |ng at 1,| which i|
|000017d0| 73 20 61 20 62 69 74 20 | 70 65 64 61 6e 74 69 63 |s a bit |pedantic|
|000017e0| 0a 58 20 20 20 6f 66 20 | 6d 65 2e 20 20 49 74 27 |.X of |me. It'|
|000017f0| 73 20 70 61 72 74 20 6f | 66 20 74 68 65 20 73 70 |s part o|f the sp|
|00001800| 65 63 2c 20 62 75 74 20 | 69 74 20 69 73 20 62 79 |ec, but |it is by|
|00001810| 20 6e 6f 20 6d 65 61 6e | 73 20 6e 65 63 65 73 73 | no mean|s necess|
|00001820| 61 72 79 20 66 6f 72 0a | 58 20 20 20 74 68 65 20 |ary for.|X the |
|00001830| 63 6f 64 65 20 74 6f 20 | 77 6f 72 6b 2e 20 20 49 |code to |work. I|
|00001840| 74 27 73 20 61 20 6f 6e | 65 2d 6c 69 6e 65 20 63 |t's a on|e-line c|
|00001850| 68 65 63 6b 2c 20 61 6e | 64 20 49 27 6d 20 74 68 |heck, an|d I'm th|
|00001860| 69 6e 6b 69 6e 67 20 6f | 66 20 6a 75 73 74 0a 58 |inking o|f just.X|
|00001870| 20 20 20 73 63 72 61 70 | 70 69 6e 67 20 69 74 2e | scrap|ping it.|
|00001880| 0a 58 33 29 20 54 68 65 | 72 65 20 6d 75 73 74 20 |.X3) The|re must |
|00001890| 62 65 20 61 20 27 25 25 | 54 72 61 69 6c 65 72 27 |be a '%%|Trailer'|
|000018a0| 20 6c 69 6e 65 2e 0a 58 | 0a 58 0a 58 41 73 20 66 | line..X|.X.XAs f|
|000018b0| 6f 72 20 77 68 61 74 20 | 49 20 2a 64 6f 2a 20 77 |or what |I *do* w|
|000018c0| 69 74 68 20 61 6c 6c 20 | 74 68 69 73 2c 20 69 74 |ith all |this, it|
|000018d0| 27 73 20 73 69 6d 70 6c | 65 3a 0a 58 0a 58 31 29 |'s simpl|e:.X.X1)|
|000018e0| 20 57 68 65 6e 20 49 20 | 73 65 65 20 74 68 65 20 | When I |see the |
|000018f0| 27 25 21 50 53 2d 41 64 | 6f 62 65 27 20 6c 69 6e |'%!PS-Ad|obe' lin|
|00001900| 65 2c 20 49 20 69 6e 73 | 65 72 74 20 74 68 65 20 |e, I ins|ert the |
|00001910| 66 6f 6c 6c 6f 77 69 6e | 67 20 6c 69 6e 65 73 0a |followin|g lines.|
|00001920| 58 20 20 20 28 69 67 6e | 6f 72 69 6e 67 20 74 68 |X (ign|oring th|
|00001930| 65 20 6f 6c 64 20 27 25 | 21 50 53 27 20 6c 69 6e |e old '%|!PS' lin|
|00001940| 65 29 3a 0a 58 09 25 21 | 50 53 2d 41 64 6f 62 65 |e):.X.%!|PS-Adobe|
|00001950| 2d 32 2e 30 0a 58 09 25 | 25 50 61 67 65 73 3a 20 |-2.0.X.%|%Pages: |
|00001960| 28 61 74 65 6e 64 29 0a | 58 20 20 20 50 61 67 65 |(atend).|X Page|
|00001970| 20 63 6f 75 6e 74 73 20 | 69 6e 20 74 68 65 20 68 | counts |in the h|
|00001980| 65 61 64 65 72 20 61 72 | 65 20 66 69 72 73 74 2d |eader ar|e first-|
|00001990| 63 6f 6d 65 73 2c 20 66 | 69 72 73 74 2d 73 65 72 |comes, f|irst-ser|
|000019a0| 76 65 64 2c 20 73 6f 20 | 70 75 74 74 69 6e 67 0a |ved, so |putting.|
|000019b0| 58 20 20 20 6d 69 6e 65 | 20 61 74 20 74 68 65 20 |X mine| at the |
|000019c0| 76 65 72 79 20 74 6f 70 | 20 77 69 6c 6c 20 6f 76 |very top| will ov|
|000019d0| 65 72 72 69 64 65 20 61 | 6e 79 74 68 69 6e 67 20 |erride a|nything |
|000019e0| 74 68 61 74 20 77 61 73 | 20 69 6e 20 74 68 65 0a |that was| in the.|
|000019f0| 58 20 20 20 6f 72 69 67 | 69 6e 61 6c 20 66 69 6c |X orig|inal fil|
|00001a00| 65 20 28 61 6e 64 20 73 | 69 6e 63 65 20 74 68 65 |e (and s|ince the|
|00001a10| 20 77 68 6f 6c 65 20 69 | 64 65 61 20 69 73 20 74 | whole i|dea is t|
|00001a20| 6f 20 63 68 61 6e 67 65 | 20 74 68 65 20 6e 75 6d |o change| the num|
|00001a30| 62 65 72 20 6f 66 0a 58 | 20 20 20 70 61 67 65 73 |ber of.X| pages|
|00001a40| 2c 20 74 68 69 73 20 69 | 73 20 27 61 20 67 6f 6f |, this i|s 'a goo|
|00001a50| 64 20 74 68 69 6e 67 27 | 29 2e 20 20 53 69 6e 63 |d thing'|). Sinc|
|00001a60| 65 20 49 20 64 6f 20 65 | 76 65 72 79 74 68 69 6e |e I do e|verythin|
|00001a70| 67 20 69 6e 20 6f 6e 65 | 20 70 61 73 73 2c 0a 58 |g in one| pass,.X|
|00001a80| 20 20 20 49 20 68 61 76 | 65 20 6e 6f 20 69 64 65 | I hav|e no ide|
|00001a90| 61 20 68 6f 77 20 6d 61 | 6e 79 20 70 61 67 65 73 |a how ma|ny pages|
|00001aa0| 20 74 68 65 72 65 20 77 | 69 6c 6c 20 62 65 2c 20 | there w|ill be, |
|00001ab0| 73 6f 20 49 20 64 65 66 | 65 72 20 69 74 20 75 6e |so I def|er it un|
|00001ac0| 74 69 6c 0a 58 20 20 20 | 74 68 65 20 65 6e 64 2e |til.X |the end.|
|00001ad0| 0a 58 32 29 20 57 68 65 | 6e 20 49 20 72 65 61 63 |.X2) Whe|n I reac|
|00001ae0| 68 20 74 68 65 20 65 6e | 64 20 6f 66 20 74 68 65 |h the en|d of the|
|00001af0| 20 68 65 61 64 65 72 20 | 63 6f 6d 6d 65 6e 74 73 | header |comments|
|00001b00| 20 28 73 69 67 6e 69 66 | 69 65 64 20 62 79 20 74 | (signif|ied by t|
|00001b10| 68 65 20 66 69 72 73 74 | 0a 58 20 20 20 6e 6f 6e |he first|.X non|
|00001b20| 2d 25 25 20 6c 69 6e 65 | 20 6f 72 20 61 6e 20 65 |-%% line| or an e|
|00001b30| 78 70 6c 69 63 69 74 20 | 25 25 45 6e 64 43 6f 6d |xplicit |%%EndCom|
|00001b40| 6d 65 6e 74 73 20 6c 69 | 6e 65 29 2c 20 49 20 69 |ments li|ne), I i|
|00001b50| 6e 73 65 72 74 20 74 68 | 65 0a 58 20 20 20 75 73 |nsert th|e.X us|
|00001b60| 65 72 2d 64 65 66 69 6e | 65 64 20 70 72 6f 6c 6f |er-defin|ed prolo|
|00001b70| 67 20 64 65 66 69 6e 69 | 74 69 6f 6e 73 20 69 6e |g defini|tions in|
|00001b80| 74 6f 20 74 68 65 69 72 | 20 6f 77 6e 20 64 69 63 |to their| own dic|
|00001b90| 74 69 6f 6e 61 72 79 2e | 20 20 54 6f 0a 58 20 20 |tionary.| To.X |
|00001ba0| 20 73 69 6d 70 6c 69 66 | 79 20 6e 65 73 74 69 6e | simplif|y nestin|
|00001bb0| 67 2c 20 49 20 75 73 65 | 20 74 68 65 20 63 75 72 |g, I use| the cur|
|00001bc0| 72 65 6e 74 20 50 49 44 | 20 61 73 20 70 61 72 74 |rent PID| as part|
|00001bd0| 20 6f 66 20 74 68 65 20 | 64 69 63 74 69 6f 6e 61 | of the |dictiona|
|00001be0| 72 79 0a 58 20 20 20 6e | 61 6d 65 2e 20 20 49 20 |ry.X n|ame. I |
|00001bf0| 73 61 76 65 20 74 68 65 | 20 6f 6c 64 20 76 61 6c |save the| old val|
|00001c00| 75 65 20 6f 66 20 73 68 | 6f 77 70 61 67 65 20 68 |ue of sh|owpage h|
|00001c10| 65 72 65 2c 20 61 6e 64 | 20 72 65 64 65 66 69 6e |ere, and| redefin|
|00001c20| 65 20 69 74 20 74 6f 0a | 58 20 20 20 70 72 69 6e |e it to.|X prin|
|00001c30| 74 20 6e 6f 74 68 69 6e | 67 2e 20 20 49 74 20 6c |t nothin|g. It l|
|00001c40| 6f 6f 6b 73 20 6c 69 6b | 65 20 74 68 69 73 20 28 |ooks lik|e this (|
|00001c50| 6d 6f 64 75 6c 6f 20 69 | 6e 74 65 72 70 72 65 74 |modulo i|nterpret|
|00001c60| 61 74 69 6f 6e 20 6f 66 | 0a 58 20 20 20 76 61 72 |ation of|.X var|
|00001c70| 69 61 62 6c 65 73 20 6d | 61 72 6b 65 64 20 62 79 |iables m|arked by|
|00001c80| 20 3c 3e 29 3a 0a 58 09 | 25 25 42 65 67 69 6e 50 | <>):.X.|%%BeginP|
|00001c90| 72 6f 63 53 65 74 3a 20 | 75 70 5f 70 72 6f 6c 6f |rocSet: |up_prolo|
|00001ca0| 67 20 31 20 3c 70 69 64 | 3e 0a 58 09 2f 55 70 44 |g 1 <pid|>.X./UpD|
|00001cb0| 69 63 74 3c 70 69 64 3e | 20 24 70 6c 69 6e 65 73 |ict<pid>| $plines|
|00001cc0| 20 33 20 61 64 64 20 64 | 69 63 74 20 64 65 66 0a | 3 add d|ict def.|
|00001cd0| 58 09 55 70 44 69 63 74 | 3c 70 69 64 3e 20 62 65 |X.UpDict|<pid> be|
|00001ce0| 67 69 6e 0a 58 09 3c 75 | 73 65 72 20 70 72 6f 6c |gin.X.<u|ser prol|
|00001cf0| 6f 67 3e 0a 58 09 2f 55 | 70 53 68 6f 77 70 61 67 |og>.X./U|pShowpag|
|00001d00| 65 20 7b 73 68 6f 77 70 | 61 67 65 7d 20 62 69 6e |e {showp|age} bin|
|00001d10| 64 20 64 65 66 0a 58 09 | 2f 55 70 53 74 61 74 65 |d def.X.|/UpState|
|00001d20| 20 7b 7d 20 64 65 66 0a | 58 09 65 6e 64 0a 58 09 | {} def.|X.end.X.|
|00001d30| 2f 73 68 6f 77 70 61 67 | 65 20 7b 7d 20 64 65 66 |/showpag|e {} def|
|00001d40| 0a 58 09 25 25 45 6e 64 | 50 72 6f 63 53 65 74 3a |.X.%%End|ProcSet:|
|00001d50| 20 75 70 5f 70 72 6f 6c | 6f 67 20 31 20 3c 70 69 | up_prol|og 1 <pi|
|00001d60| 64 3e 0a 58 33 29 20 46 | 6f 72 20 65 76 65 72 79 |d>.X3) F|or every|
|00001d70| 20 27 25 25 50 61 67 65 | 3a 27 20 6c 69 6e 65 2c | '%%Page|:' line,|
|00001d80| 20 49 20 66 69 72 73 74 | 20 64 65 6c 65 74 65 20 | I first| delete |
|00001d90| 69 74 2c 20 61 6e 64 20 | 74 68 65 6e 2c 20 69 66 |it, and |then, if|
|00001da0| 20 69 74 20 69 73 20 74 | 68 65 0a 58 20 20 20 66 | it is t|he.X f|
|00001db0| 69 72 73 74 20 70 61 67 | 65 20 6f 6e 20 61 20 73 |irst pag|e on a s|
|00001dc0| 68 65 65 74 2c 20 49 20 | 73 61 76 65 20 74 68 65 |heet, I |save the|
|00001dd0| 20 63 75 72 72 65 6e 74 | 20 56 4d 20 73 74 61 74 | current| VM stat|
|00001de0| 65 2c 20 61 6e 64 20 69 | 6e 73 65 72 74 20 74 68 |e, and i|nsert th|
|00001df0| 65 0a 58 20 20 20 75 73 | 65 72 2d 73 70 65 63 69 |e.X us|er-speci|
|00001e00| 66 69 65 64 20 73 63 61 | 6c 69 6e 67 2c 20 72 6f |fied sca|ling, ro|
|00001e10| 74 61 74 69 6f 6e 2c 20 | 61 6e 64 20 74 72 61 6e |tation, |and tran|
|00001e20| 73 6c 61 74 69 6f 6e 20 | 63 6f 6d 6d 61 6e 64 73 |slation |commands|
|00001e30| 2e 20 20 49 74 0a 58 20 | 20 20 6c 6f 6f 6b 73 20 |. It.X | looks |
|00001e40| 6c 69 6b 65 20 74 68 69 | 73 20 28 6d 6f 64 75 6c |like thi|s (modul|
|00001e50| 6f 20 74 68 65 20 69 6e | 74 65 72 70 6f 6c 61 74 |o the in|terpolat|
|00001e60| 69 6f 6e 20 6f 66 20 74 | 68 65 20 76 61 72 69 61 |ion of t|he varia|
|00001e70| 62 6c 65 73 20 6d 61 72 | 6b 65 64 0a 58 20 20 20 |bles mar|ked.X |
|00001e80| 62 79 20 3c 3e 29 3a 0a | 58 09 25 25 50 61 67 65 |by <>):.|X.%%Page|
|00001e90| 3a 20 3f 20 3c 73 68 65 | 65 74 20 6e 75 6d 62 65 |: ? <she|et numbe|
|00001ea0| 72 3e 0a 58 09 55 70 44 | 69 63 74 3c 70 69 64 3e |r>.X.UpD|ict<pid>|
|00001eb0| 20 62 65 67 69 6e 0a 58 | 09 73 61 76 65 20 2f 55 | begin.X|.save /U|
|00001ec0| 70 53 74 61 74 65 20 65 | 78 63 68 20 64 65 66 0a |pState e|xch def.|
|00001ed0| 58 09 3c 65 76 65 6e 2f | 6f 64 64 3e 0a 58 09 3c |X.<even/|odd>.X.<|
|00001ee0| 73 63 61 6c 65 2c 20 74 | 72 61 6e 73 6c 61 74 65 |scale, t|ranslate|
|00001ef0| 2c 20 72 6f 74 61 74 65 | 3e 0a 58 09 3c 70 61 67 |, rotate|>.X.<pag|
|00001f00| 65 20 70 6f 73 69 74 69 | 6f 6e 69 6e 67 3e 0a 58 |e positi|oning>.X|
|00001f10| 09 65 6e 64 0a 58 20 20 | 20 46 6f 72 20 70 61 67 |.end.X | For pag|
|00001f20| 65 73 20 74 68 61 74 20 | 64 6f 6e 27 74 20 73 74 |es that |don't st|
|00001f30| 61 72 74 20 61 20 73 68 | 65 65 74 2c 20 49 20 6a |art a sh|eet, I j|
|00001f40| 75 73 74 20 69 6e 73 65 | 72 74 3a 0a 58 09 55 70 |ust inse|rt:.X.Up|
|00001f50| 44 69 63 74 3c 70 69 64 | 3e 20 62 65 67 69 6e 0a |Dict<pid|> begin.|
|00001f60| 58 09 3c 70 61 67 65 20 | 70 6f 73 69 74 69 6f 6e |X.<page |position|
|00001f70| 69 6e 67 3e 0a 58 09 65 | 6e 64 0a 58 35 29 20 41 |ing>.X.e|nd.X5) A|
|00001f80| 74 20 74 68 65 20 65 6e | 64 20 6f 66 20 65 76 65 |t the en|d of eve|
|00001f90| 72 79 20 73 68 65 65 74 | 2c 20 49 20 72 65 73 74 |ry sheet|, I rest|
|00001fa0| 6f 72 65 20 74 68 65 20 | 56 4d 20 73 74 61 74 65 |ore the |VM state|
|00001fb0| 2c 20 61 6e 64 20 70 65 | 72 66 6f 72 6d 20 61 0a |, and pe|rform a.|
|00001fc0| 58 20 20 20 72 65 61 6c | 20 73 68 6f 77 70 61 67 |X real| showpag|
|00001fd0| 65 2c 20 6c 69 6b 65 20 | 73 6f 3a 0a 58 09 55 70 |e, like |so:.X.Up|
|00001fe0| 44 69 63 74 3c 70 69 64 | 3e 20 62 65 67 69 6e 20 |Dict<pid|> begin |
|00001ff0| 55 70 53 74 61 74 65 20 | 72 65 73 74 6f 72 65 20 |UpState |restore |
|00002000| 55 70 53 68 6f 77 70 61 | 67 65 20 65 6e 64 0a 58 |UpShowpa|ge end.X|
|00002010| 36 29 20 57 68 65 6e 20 | 49 20 73 65 65 20 74 68 |6) When |I see th|
|00002020| 65 20 27 25 25 54 72 61 | 69 6c 65 72 27 20 6c 69 |e '%%Tra|iler' li|
|00002030| 6e 65 2c 20 49 20 72 65 | 70 6c 61 63 65 20 69 74 |ne, I re|place it|
|00002040| 20 77 69 74 68 3a 0a 58 | 09 55 70 44 69 63 74 3c | with:.X|.UpDict<|
|00002050| 70 69 64 3e 20 62 65 67 | 69 6e 20 55 70 53 74 61 |pid> beg|in UpSta|
|00002060| 74 65 20 72 65 73 74 6f | 72 65 20 55 70 53 68 6f |te resto|re UpSho|
|00002070| 77 70 61 67 65 20 65 6e | 64 0a 58 09 25 25 54 72 |wpage en|d.X.%%Tr|
|00002080| 61 69 6c 65 72 0a 58 20 | 20 20 59 6f 75 20 6d 69 |ailer.X | You mi|
|00002090| 67 68 74 20 73 75 73 70 | 65 63 74 20 74 68 61 74 |ght susp|ect that|
|000020a0| 20 74 68 69 73 20 63 61 | 75 73 65 73 20 61 6e 20 | this ca|uses an |
|000020b0| 65 72 72 6f 72 2c 20 6f | 72 20 74 68 65 20 70 72 |error, o|r the pr|
|000020c0| 69 6e 74 69 6e 67 20 6f | 66 20 61 0a 58 20 20 20 |inting o|f a.X |
|000020d0| 62 6c 61 6e 6b 20 70 61 | 67 65 2c 20 61 6e 64 20 |blank pa|ge, and |
|000020e0| 69 66 20 65 76 65 72 79 | 74 68 69 6e 67 20 49 20 |if every|thing I |
|000020f0| 73 61 69 64 20 61 62 6f | 76 65 20 77 65 72 65 20 |said abo|ve were |
|00002100| 74 72 75 65 2c 20 79 6f | 75 27 64 20 62 65 0a 58 |true, yo|u'd be.X|
|00002110| 20 20 20 72 69 67 68 74 | 2e 20 20 54 68 65 20 63 | right|. The c|
|00002120| 61 74 63 68 20 69 73 20 | 74 68 61 74 20 23 35 20 |atch is |that #5 |
|00002130| 69 73 20 61 20 6c 69 65 | 2e 20 20 49 20 64 65 74 |is a lie|. I det|
|00002140| 65 63 74 20 74 68 65 20 | 65 6e 64 20 6f 66 20 61 |ect the |end of a|
|00002150| 20 73 68 65 65 74 0a 58 | 20 20 20 62 79 20 66 69 | sheet.X| by fi|
|00002160| 6e 64 69 6e 67 20 6d 79 | 73 65 6c 66 20 61 74 20 |nding my|self at |
|00002170| 74 68 65 20 62 65 67 69 | 6e 6e 69 6e 67 20 6f 66 |the begi|nning of|
|00002180| 20 61 20 6e 65 77 20 6f | 6e 65 2c 20 73 6f 20 74 | a new o|ne, so t|
|00002190| 68 65 20 6c 61 73 74 20 | 73 68 65 65 74 0a 58 20 |he last |sheet.X |
|000021a0| 20 20 6e 65 76 65 72 20 | 67 65 74 73 20 70 72 69 | never |gets pri|
|000021b0| 6e 74 65 64 2c 20 75 6e | 6c 65 73 73 20 69 74 27 |nted, un|less it'|
|000021c0| 73 20 64 6f 6e 65 20 6a | 75 73 74 20 62 65 66 6f |s done j|ust befo|
|000021d0| 72 65 20 74 68 65 20 74 | 72 61 69 6c 65 72 2e 0a |re the t|railer..|
|000021e0| 58 37 29 20 54 68 65 20 | 6c 61 73 74 20 62 69 74 |X7) The |last bit|
|000021f0| 20 69 73 20 73 69 6d 70 | 6c 65 2e 20 20 41 66 74 | is simp|le. Aft|
|00002200| 65 72 20 74 68 65 20 76 | 65 72 79 20 6c 61 73 74 |er the v|ery last|
|00002210| 20 6c 69 6e 65 20 6f 66 | 20 74 68 65 20 69 6e 70 | line of| the inp|
|00002220| 75 74 20 69 73 0a 58 20 | 20 20 70 72 69 6e 74 65 |ut is.X | printe|
|00002230| 64 2c 20 74 68 65 20 61 | 63 74 75 61 6c 20 73 68 |d, the a|ctual sh|
|00002240| 65 65 74 20 63 6f 75 6e | 74 20 69 73 20 61 64 64 |eet coun|t is add|
|00002250| 65 64 2e 20 20 54 68 69 | 73 20 68 61 73 20 74 6f |ed. Thi|s has to|
|00002260| 20 62 65 20 74 68 69 73 | 20 77 61 79 2c 0a 58 20 | be this| way,.X |
|00002270| 20 20 73 69 6e 63 65 20 | 74 68 65 20 2a 6c 61 73 | since |the *las|
|00002280| 74 2a 20 69 6e 20 61 20 | 73 65 72 69 65 73 20 6f |t* in a |series o|
|00002290| 66 20 74 72 61 69 6c 65 | 72 20 63 6f 6d 6d 65 6e |f traile|r commen|
|000022a0| 74 73 20 69 73 20 74 68 | 65 20 6f 6e 65 20 68 65 |ts is th|e one he|
|000022b0| 65 64 65 64 2e 0a 58 20 | 20 20 49 74 20 6c 6f 6f |eded..X | It loo|
|000022c0| 6b 73 20 6c 69 6b 65 20 | 74 68 69 73 3a 0a 58 09 |ks like |this:.X.|
|000022d0| 25 25 50 61 67 65 73 3a | 20 3c 73 68 65 65 74 20 |%%Pages:| <sheet |
|000022e0| 63 6f 75 6e 74 3e 0a 58 | 0a 58 0a 58 49 66 20 74 |count>.X|.X.XIf t|
|000022f0| 68 69 73 20 69 73 6e 27 | 74 20 65 6e 74 69 72 65 |his isn'|t entire|
|00002300| 6c 79 20 63 6c 65 61 72 | 2c 20 68 65 72 65 27 73 |ly clear|, here's|
|00002310| 20 61 20 62 65 66 6f 72 | 65 2f 61 66 74 65 72 2e | a befor|e/after.|
|00002320| 0a 58 0a 58 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 58 |.X.X----|------.X|
|00002330| 43 6f 6e 66 6f 72 6d 69 | 6e 67 20 50 53 20 66 69 |Conformi|ng PS fi|
|00002340| 6c 65 2c 20 77 68 69 63 | 68 20 70 72 69 6e 74 73 |le, whic|h prints|
|00002350| 20 34 20 6e 75 6d 62 65 | 72 65 64 20 70 61 67 65 | 4 numbe|red page|
|00002360| 73 20 28 6f 75 74 70 75 | 74 20 6f 66 20 22 6d 61 |s (outpu|t of "ma|
|00002370| 6b 65 75 70 20 34 22 29 | 3a 0a 58 0a 58 25 21 50 |keup 4")|:.X.X%!P|
|00002380| 53 2d 41 64 6f 62 65 2d | 31 2e 30 0a 58 25 25 43 |S-Adobe-|1.0.X%%C|
|00002390| 72 65 61 74 6f 72 3a 20 | 6d 61 6b 65 75 70 0a 58 |reator: |makeup.X|
|000023a0| 25 25 54 69 74 6c 65 3a | 20 50 61 67 65 20 4c 61 |%%Title:| Page La|
|000023b0| 79 6f 75 74 20 54 65 73 | 74 0a 58 25 25 43 72 65 |yout Tes|t.X%%Cre|
|000023c0| 61 74 69 6f 6e 44 61 74 | 65 3a 20 54 75 65 20 4f |ationDat|e: Tue O|
|000023d0| 63 74 20 32 34 20 30 32 | 3a 33 33 3a 33 36 20 45 |ct 24 02|:33:36 E|
|000023e0| 44 54 20 31 39 38 39 0a | 58 25 25 50 61 67 65 73 |DT 1989.|X%%Pages|
|000023f0| 3a 20 28 61 74 65 6e 64 | 29 0a 58 25 25 44 6f 63 |: (atend|).X%%Doc|
|00002400| 75 6d 65 6e 74 46 6f 6e | 74 73 3a 20 54 69 6d 65 |umentFon|ts: Time|
|00002410| 73 2d 52 6f 6d 61 6e 0a | 58 25 25 42 6f 75 6e 64 |s-Roman.|X%%Bound|
|00002420| 69 6e 67 42 6f 78 3a 20 | 30 20 30 20 36 31 32 20 |ingBox: |0 0 612 |
|00002430| 37 39 32 0a 58 25 25 45 | 6e 64 43 6f 6d 6d 65 6e |792.X%%E|ndCommen|
|00002440| 74 73 0a 58 2f 69 6e 63 | 68 20 7b 37 32 20 6d 75 |ts.X/inc|h {72 mu|
|00002450| 6c 7d 20 64 65 66 0a 58 | 2f 4e 66 6f 6e 74 20 2f |l} def.X|/Nfont /|
|00002460| 54 69 6d 65 73 2d 52 6f | 6d 61 6e 20 66 69 6e 64 |Times-Ro|man find|
|00002470| 66 6f 6e 74 20 35 20 69 | 6e 63 68 20 73 63 61 6c |font 5 i|nch scal|
|00002480| 65 66 6f 6e 74 20 64 65 | 66 0a 58 2f 64 72 61 77 |efont de|f.X/draw|
|00002490| 70 61 67 65 20 7b 0a 58 | 09 32 20 73 65 74 6c 69 |page {.X|.2 setli|
|000024a0| 6e 65 63 61 70 20 33 20 | 73 65 74 6c 69 6e 65 77 |necap 3 |setlinew|
|000024b0| 69 64 74 68 20 30 20 73 | 65 74 67 72 61 79 0a 58 |idth 0 s|etgray.X|
|000024c0| 09 4e 66 6f 6e 74 20 73 | 65 74 66 6f 6e 74 0a 58 |.Nfont s|etfont.X|
|000024d0| 09 64 75 70 20 73 74 72 | 69 6e 67 77 69 64 74 68 |.dup str|ingwidth|
|000024e0| 0a 58 09 31 31 20 69 6e | 63 68 20 65 78 63 68 20 |.X.11 in|ch exch |
|000024f0| 73 75 62 20 32 20 64 69 | 76 0a 58 09 65 78 63 68 |sub 2 di|v.X.exch|
|00002500| 20 38 2e 35 20 69 6e 63 | 68 20 65 78 63 68 20 73 | 8.5 inc|h exch s|
|00002510| 75 62 20 32 20 64 69 76 | 0a 58 09 65 78 63 68 20 |ub 2 div|.X.exch |
|00002520| 6d 6f 76 65 74 6f 20 73 | 68 6f 77 0a 58 09 30 2e |moveto s|how.X.0.|
|00002530| 32 35 20 69 6e 63 68 20 | 64 75 70 20 6d 6f 76 65 |25 inch |dup move|
|00002540| 74 6f 0a 58 09 38 20 69 | 6e 63 68 20 30 20 72 6c |to.X.8 i|nch 0 rl|
|00002550| 69 6e 65 74 6f 0a 58 09 | 30 20 31 30 2e 35 20 69 |ineto.X.|0 10.5 i|
|00002560| 6e 63 68 20 72 6c 69 6e | 65 74 6f 0a 58 09 2d 38 |nch rlin|eto.X.-8|
|00002570| 20 69 6e 63 68 20 30 20 | 72 6c 69 6e 65 74 6f 0a | inch 0 |rlineto.|
|00002580| 58 09 30 20 2d 31 30 2e | 35 20 69 6e 63 68 20 72 |X.0 -10.|5 inch r|
|00002590| 6c 69 6e 65 74 6f 0a 58 | 09 63 6c 6f 73 65 70 61 |lineto.X|.closepa|
|000025a0| 74 68 20 73 74 72 6f 6b | 65 0a 58 09 73 68 6f 77 |th strok|e.X.show|
|000025b0| 70 61 67 65 0a 58 7d 20 | 64 65 66 0a 58 25 25 45 |page.X} |def.X%%E|
|000025c0| 6e 64 50 72 6f 6c 6f 67 | 0a 58 25 25 50 61 67 65 |ndProlog|.X%%Page|
|000025d0| 3a 20 3f 20 31 0a 58 28 | 31 29 20 64 72 61 77 70 |: ? 1.X(|1) drawp|
|000025e0| 61 67 65 0a 58 25 25 50 | 61 67 65 3a 20 3f 20 32 |age.X%%P|age: ? 2|
|000025f0| 0a 58 28 32 29 20 64 72 | 61 77 70 61 67 65 0a 58 |.X(2) dr|awpage.X|
|00002600| 25 25 50 61 67 65 3a 20 | 3f 20 33 0a 58 28 33 29 |%%Page: |? 3.X(3)|
|00002610| 20 64 72 61 77 70 61 67 | 65 0a 58 25 25 50 61 67 | drawpag|e.X%%Pag|
|00002620| 65 3a 20 3f 20 34 0a 58 | 28 34 29 20 64 72 61 77 |e: ? 4.X|(4) draw|
|00002630| 70 61 67 65 0a 58 25 25 | 54 72 61 69 6c 65 72 0a |page.X%%|Trailer.|
|00002640| 58 25 25 50 61 67 65 73 | 3a 20 34 0a 58 0a 58 2d |X%%Pages|: 4.X.X-|
|00002650| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0a 58 50 72 65 76 69 |--------|-.XPrevi|
|00002660| 6f 75 73 20 66 69 6c 65 | 2c 20 66 69 6c 74 65 72 |ous file|, filter|
|00002670| 65 64 20 74 6f 20 70 72 | 69 6e 74 20 74 77 6f 20 |ed to pr|int two |
|00002680| 70 61 67 65 73 20 70 65 | 72 20 73 68 65 65 74 20 |pages pe|r sheet |
|00002690| 28 22 75 70 20 2d 6e 20 | 32 75 70 22 29 3a 0a 58 |("up -n |2up"):.X|
|000026a0| 0a 58 25 21 50 53 2d 41 | 64 6f 62 65 2d 32 2e 30 |.X%!PS-A|dobe-2.0|
|000026b0| 0a 58 25 25 50 61 67 65 | 73 3a 20 28 61 74 65 6e |.X%%Page|s: (aten|
|000026c0| 64 29 0a 58 25 25 43 72 | 65 61 74 6f 72 3a 20 6d |d).X%%Cr|eator: m|
|000026d0| 61 6b 65 75 70 0a 58 25 | 25 54 69 74 6c 65 3a 20 |akeup.X%|%Title: |
|000026e0| 50 61 67 65 20 4c 61 79 | 6f 75 74 20 54 65 73 74 |Page Lay|out Test|
|000026f0| 0a 58 25 25 43 72 65 61 | 74 69 6f 6e 44 61 74 65 |.X%%Crea|tionDate|
|00002700| 3a 20 54 75 65 20 4f 63 | 74 20 32 34 20 30 32 3a |: Tue Oc|t 24 02:|
|00002710| 33 33 3a 33 36 20 45 44 | 54 20 31 39 38 39 0a 58 |33:36 ED|T 1989.X|
|00002720| 25 25 50 61 67 65 73 3a | 20 28 61 74 65 6e 64 29 |%%Pages:| (atend)|
|00002730| 0a 58 25 25 44 6f 63 75 | 6d 65 6e 74 46 6f 6e 74 |.X%%Docu|mentFont|
|00002740| 73 3a 20 54 69 6d 65 73 | 2d 52 6f 6d 61 6e 0a 58 |s: Times|-Roman.X|
|00002750| 25 25 42 6f 75 6e 64 69 | 6e 67 42 6f 78 3a 20 30 |%%Boundi|ngBox: 0|
|00002760| 20 30 20 36 31 32 20 37 | 39 32 0a 58 25 25 45 6e | 0 612 7|92.X%%En|
|00002770| 64 43 6f 6d 6d 65 6e 74 | 73 0a 58 25 25 42 65 67 |dComment|s.X%%Beg|
|00002780| 69 6e 50 72 6f 63 53 65 | 74 3a 20 75 70 5f 70 72 |inProcSe|t: up_pr|
|00002790| 6f 6c 6f 67 20 31 20 37 | 34 38 32 0a 58 2f 55 70 |olog 1 7|482.X/Up|
|000027a0| 44 69 63 74 37 34 38 32 | 20 32 33 20 33 20 61 64 |Dict7482| 23 3 ad|
|000027b0| 64 20 64 69 63 74 20 64 | 65 66 0a 58 55 70 44 69 |d dict d|ef.XUpDi|
|000027c0| 63 74 37 34 38 32 20 62 | 65 67 69 6e 0a 58 2f 69 |ct7482 b|egin.X/i|
|000027d0| 6e 63 68 20 7b 37 32 20 | 6d 75 6c 7d 20 64 65 66 |nch {72 |mul} def|
|000027e0| 0a 58 2f 6d 6f 76 65 55 | 20 7b 30 20 31 31 20 69 |.X/moveU| {0 11 i|
|000027f0| 6e 63 68 20 74 72 61 6e | 73 6c 61 74 65 7d 20 64 |nch tran|slate} d|
|00002800| 65 66 0a 58 2f 6d 6f 76 | 65 52 20 7b 38 2e 35 20 |ef.X/mov|eR {8.5 |
|00002810| 69 6e 63 68 20 30 20 74 | 72 61 6e 73 6c 61 74 65 |inch 0 t|ranslate|
|00002820| 7d 20 64 65 66 0a 58 2f | 6d 6f 76 65 44 20 7b 30 |} def.X/|moveD {0|
|00002830| 20 2d 31 31 20 69 6e 63 | 68 20 74 72 61 6e 73 6c | -11 inc|h transl|
|00002840| 61 74 65 7d 20 64 65 66 | 0a 58 2f 6d 6f 76 65 4c |ate} def|.X/moveL|
|00002850| 20 7b 2d 38 2e 35 20 69 | 6e 63 68 20 30 20 74 72 | {-8.5 i|nch 0 tr|
|00002860| 61 6e 73 6c 61 74 65 7d | 20 64 65 66 0a 58 2f 72 |anslate}| def.X/r|
|00002870| 6f 74 52 20 7b 2d 39 30 | 20 72 6f 74 61 74 65 7d |otR {-90| rotate}|
|00002880| 20 64 65 66 0a 58 2f 72 | 6f 74 4c 20 7b 39 30 20 | def.X/r|otL {90 |
|00002890| 72 6f 74 61 74 65 7d 20 | 64 65 66 0a 58 2f 64 6f |rotate} |def.X/do|
|000028a0| 53 70 69 72 61 6c 20 7b | 6d 6f 76 65 55 20 6d 6f |Spiral {|moveU mo|
|000028b0| 76 65 52 20 72 6f 74 52 | 20 30 2e 36 37 20 64 75 |veR rotR| 0.67 du|
|000028c0| 70 20 73 63 61 6c 65 7d | 20 64 65 66 0a 58 2f 6d |p scale}| def.X/m|
|000028d0| 6f 76 65 48 55 20 7b 20 | 30 20 35 2e 35 20 69 6e |oveHU { |0 5.5 in|
|000028e0| 63 68 20 74 72 61 6e 73 | 6c 61 74 65 7d 20 64 65 |ch trans|late} de|
|000028f0| 66 0a 58 2f 64 6f 52 65 | 76 53 70 69 72 61 6c 20 |f.X/doRe|vSpiral |
|00002900| 7b 6d 6f 76 65 48 55 20 | 72 6f 74 4c 20 30 2e 36 |{moveHU |rotL 0.6|
|00002910| 37 20 64 75 70 20 73 63 | 61 6c 65 7d 20 64 65 66 |7 dup sc|ale} def|
|00002920| 0a 58 2f 55 70 53 68 6f | 77 70 61 67 65 20 7b 73 |.X/UpSho|wpage {s|
|00002930| 68 6f 77 70 61 67 65 7d | 20 62 69 6e 64 20 64 65 |howpage}| bind de|
|00002940| 66 0a 58 2f 55 70 53 74 | 61 74 65 20 7b 7d 20 64 |f.X/UpSt|ate {} d|
|00002950| 65 66 0a 58 65 6e 64 0a | 58 2f 73 68 6f 77 70 61 |ef.Xend.|X/showpa|
|00002960| 67 65 20 7b 7d 20 64 65 | 66 0a 58 25 25 45 6e 64 |ge {} de|f.X%%End|
|00002970| 50 72 6f 63 53 65 74 3a | 20 75 70 5f 70 72 6f 6c |ProcSet:| up_prol|
|00002980| 6f 67 20 31 20 37 34 38 | 32 0a 58 2f 69 6e 63 68 |og 1 748|2.X/inch|
|00002990| 20 7b 37 32 20 6d 75 6c | 7d 20 64 65 66 0a 58 2f | {72 mul|} def.X/|
|000029a0| 4e 66 6f 6e 74 20 2f 54 | 69 6d 65 73 2d 52 6f 6d |Nfont /T|imes-Rom|
|000029b0| 61 6e 20 66 69 6e 64 66 | 6f 6e 74 20 35 20 69 6e |an findf|ont 5 in|
|000029c0| 63 68 20 73 63 61 6c 65 | 66 6f 6e 74 20 64 65 66 |ch scale|font def|
|000029d0| 0a 58 2f 64 72 61 77 70 | 61 67 65 20 7b 0a 58 09 |.X/drawp|age {.X.|
|000029e0| 32 20 73 65 74 6c 69 6e | 65 63 61 70 20 33 20 73 |2 setlin|ecap 3 s|
|000029f0| 65 74 6c 69 6e 65 77 69 | 64 74 68 20 30 20 73 65 |etlinewi|dth 0 se|
|00002a00| 74 67 72 61 79 0a 58 09 | 4e 66 6f 6e 74 20 73 65 |tgray.X.|Nfont se|
|00002a10| 74 66 6f 6e 74 0a 58 09 | 64 75 70 20 73 74 72 69 |tfont.X.|dup stri|
|00002a20| 6e 67 77 69 64 74 68 0a | 58 09 31 31 20 69 6e 63 |ngwidth.|X.11 inc|
|00002a30| 68 20 65 78 63 68 20 73 | 75 62 20 32 20 64 69 76 |h exch s|ub 2 div|
|00002a40| 0a 58 09 65 78 63 68 20 | 38 2e 35 20 69 6e 63 68 |.X.exch |8.5 inch|
|00002a50| 20 65 78 63 68 20 73 75 | 62 20 32 20 64 69 76 0a | exch su|b 2 div.|
|00002a60| 58 09 65 78 63 68 20 6d | 6f 76 65 74 6f 20 73 68 |X.exch m|oveto sh|
|00002a70| 6f 77 0a 58 09 30 2e 32 | 35 20 69 6e 63 68 20 64 |ow.X.0.2|5 inch d|
|00002a80| 75 70 20 6d 6f 76 65 74 | 6f 0a 58 09 38 20 69 6e |up movet|o.X.8 in|
|00002a90| 63 68 20 30 20 72 6c 69 | 6e 65 74 6f 0a 58 09 30 |ch 0 rli|neto.X.0|
|00002aa0| 20 31 30 2e 35 20 69 6e | 63 68 20 72 6c 69 6e 65 | 10.5 in|ch rline|
|00002ab0| 74 6f 0a 58 09 2d 38 20 | 69 6e 63 68 20 30 20 72 |to.X.-8 |inch 0 r|
|00002ac0| 6c 69 6e 65 74 6f 0a 58 | 09 30 20 2d 31 30 2e 35 |lineto.X|.0 -10.5|
|00002ad0| 20 69 6e 63 68 20 72 6c | 69 6e 65 74 6f 0a 58 09 | inch rl|ineto.X.|
|00002ae0| 63 6c 6f 73 65 70 61 74 | 68 20 73 74 72 6f 6b 65 |closepat|h stroke|
|00002af0| 0a 58 09 73 68 6f 77 70 | 61 67 65 0a 58 7d 20 64 |.X.showp|age.X} d|
|00002b00| 65 66 0a 58 25 25 45 6e | 64 50 72 6f 6c 6f 67 0a |ef.X%%En|dProlog.|
|00002b10| 58 25 25 50 61 67 65 3a | 20 3f 20 31 0a 58 55 70 |X%%Page:| ? 1.XUp|
|00002b20| 44 69 63 74 37 34 38 32 | 20 62 65 67 69 6e 0a 58 |Dict7482| begin.X|
|00002b30| 73 61 76 65 20 2f 55 70 | 53 74 61 74 65 20 65 78 |save /Up|State ex|
|00002b40| 63 68 20 64 65 66 0a 58 | 37 2e 37 35 20 69 6e 63 |ch def.X|7.75 inc|
|00002b50| 68 20 30 20 74 72 61 6e | 73 6c 61 74 65 20 72 6f |h 0 tran|slate ro|
|00002b60| 74 4c 20 31 31 20 31 37 | 20 64 69 76 20 64 75 70 |tL 11 17| div dup|
|00002b70| 20 73 63 61 6c 65 0a 58 | 65 6e 64 0a 58 28 31 29 | scale.X|end.X(1)|
|00002b80| 20 64 72 61 77 70 61 67 | 65 0a 58 55 70 44 69 63 | drawpag|e.XUpDic|
|00002b90| 74 37 34 38 32 20 62 65 | 67 69 6e 0a 58 6d 6f 76 |t7482 be|gin.Xmov|
|00002ba0| 65 52 0a 58 65 6e 64 0a | 58 28 32 29 20 64 72 61 |eR.Xend.|X(2) dra|
|00002bb0| 77 70 61 67 65 0a 58 55 | 70 44 69 63 74 37 34 38 |wpage.XU|pDict748|
|00002bc0| 32 20 62 65 67 69 6e 20 | 55 70 53 74 61 74 65 20 |2 begin |UpState |
|00002bd0| 72 65 73 74 6f 72 65 20 | 55 70 53 68 6f 77 70 61 |restore |UpShowpa|
|00002be0| 67 65 20 65 6e 64 0a 58 | 25 25 50 61 67 65 3a 20 |ge end.X|%%Page: |
|00002bf0| 3f 20 32 0a 58 55 70 44 | 69 63 74 37 34 38 32 20 |? 2.XUpD|ict7482 |
|00002c00| 62 65 67 69 6e 0a 58 73 | 61 76 65 20 2f 55 70 53 |begin.Xs|ave /UpS|
|00002c10| 74 61 74 65 20 65 78 63 | 68 20 64 65 66 0a 58 37 |tate exc|h def.X7|
|00002c20| 2e 37 35 20 69 6e 63 68 | 20 30 20 74 72 61 6e 73 |.75 inch| 0 trans|
|00002c30| 6c 61 74 65 20 72 6f 74 | 4c 20 31 31 20 31 37 20 |late rot|L 11 17 |
|00002c40| 64 69 76 20 64 75 70 20 | 73 63 61 6c 65 0a 58 65 |div dup |scale.Xe|
|00002c50| 6e 64 0a 58 28 33 29 20 | 64 72 61 77 70 61 67 65 |nd.X(3) |drawpage|
|00002c60| 0a 58 55 70 44 69 63 74 | 37 34 38 32 20 62 65 67 |.XUpDict|7482 beg|
|00002c70| 69 6e 0a 58 6d 6f 76 65 | 52 0a 58 65 6e 64 0a 58 |in.Xmove|R.Xend.X|
|00002c80| 28 34 29 20 64 72 61 77 | 70 61 67 65 0a 58 55 70 |(4) draw|page.XUp|
|00002c90| 44 69 63 74 37 34 38 32 | 20 62 65 67 69 6e 20 55 |Dict7482| begin U|
|00002ca0| 70 53 74 61 74 65 20 72 | 65 73 74 6f 72 65 20 55 |pState r|estore U|
|00002cb0| 70 53 68 6f 77 70 61 67 | 65 20 65 6e 64 0a 58 25 |pShowpag|e end.X%|
|00002cc0| 25 54 72 61 69 6c 65 72 | 0a 58 25 25 50 61 67 65 |%Trailer|.X%%Page|
|00002cd0| 73 3a 20 32 0a 58 0a 58 | 2d 2d 0a 58 4a 20 47 72 |s: 2.X.X|--.XJ Gr|
|00002ce0| 65 65 6c 79 20 28 6a 67 | 72 65 65 6c 79 40 63 69 |eely (jg|reely@ci|
|00002cf0| 73 2e 6f 68 69 6f 2d 73 | 74 61 74 65 2e 65 64 75 |s.ohio-s|tate.edu|
|00002d00| 3b 20 6f 73 75 2d 63 69 | 73 21 6a 67 72 65 65 6c |; osu-ci|s!jgreel|
|00002d10| 79 29 0a 45 4e 44 5f 4f | 46 5f 46 49 4c 45 0a 69 |y).END_O|F_FILE.i|
|00002d20| 66 20 74 65 73 74 20 35 | 37 37 36 20 2d 6e 65 20 |f test 5|776 -ne |
|00002d30| 60 77 63 20 2d 63 20 3c | 27 48 6f 77 54 6f 27 60 |`wc -c <|'HowTo'`|
|00002d40| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00002d50| 73 68 61 72 3a 20 5c 22 | 27 48 6f 77 54 6f 27 5c |shar: \"|'HowTo'\|
|00002d60| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|00002d70| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 66 69 0a 23 |wrong si|ze!.fi.#|
|00002d80| 20 65 6e 64 20 6f 66 20 | 27 48 6f 77 54 6f 27 0a | end of |'HowTo'.|
|00002d90| 66 69 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 4d |fi.if te|st -f 'M|
|00002da0| 61 6b 65 66 69 6c 65 27 | 20 2d 61 20 22 24 7b 31 |akefile'| -a "${1|
|00002db0| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|00002dc0| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|00002dd0| 57 69 6c 6c 20 6e 6f 74 | 20 63 6c 6f 62 62 65 72 |Will not| clobber|
|00002de0| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|00002df0| 22 27 4d 61 6b 65 66 69 | 6c 65 27 5c 22 0a 65 6c |"'Makefi|le'\".el|
|00002e00| 73 65 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |se.echo |shar: Ex|
|00002e10| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 4d 61 6b 65 |tracting| \"'Make|
|00002e20| 66 69 6c 65 27 5c 22 20 | 5c 28 31 30 35 39 20 63 |file'\" |\(1059 c|
|00002e30| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 73 65 64 20 |haracter|s\).sed |
|00002e40| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 4d 61 6b 65 66 |"s/^X//"| >'Makef|
|00002e50| 69 6c 65 27 20 3c 3c 27 | 45 4e 44 5f 4f 46 5f 46 |ile' <<'|END_OF_F|
|00002e60| 49 4c 45 27 0a 58 23 20 | 4d 61 6b 65 66 69 6c 65 |ILE'.X# |Makefile|
|00002e70| 20 74 6f 20 69 6e 73 74 | 61 6c 6c 20 27 75 70 27 | to inst|all 'up'|
|00002e80| 0a 58 23 0a 58 4c 49 42 | 44 49 52 3d 2f 75 73 72 |.X#.XLIB|DIR=/usr|
|00002e90| 2f 6c 6f 63 61 6c 2f 6c | 69 62 0a 58 42 49 4e 44 |/local/l|ib.XBIND|
|00002ea0| 49 52 3d 2f 75 73 72 2f | 6c 6f 63 61 6c 2f 62 69 |IR=/usr/|local/bi|
|00002eb0| 6e 0a 58 4d 41 4e 44 49 | 52 3d 2f 75 73 72 2f 6d |n.XMANDI|R=/usr/m|
|00002ec0| 61 6e 0a 58 53 59 4d 4c | 49 4e 4b 3d 6c 6e 20 2d |an.XSYML|INK=ln -|
|00002ed0| 73 0a 58 0a 58 50 52 4f | 47 3d 75 70 0a 58 55 54 |s.X.XPRO|G=up.XUT|
|00002ee0| 49 4c 3d 6d 61 6b 65 75 | 70 20 70 61 72 72 0a 58 |IL=makeu|p parr.X|
|00002ef0| 4c 49 42 3d 75 70 2e 72 | 63 0a 58 4c 49 4e 4b 53 |LIB=up.r|c.XLINKS|
|00002f00| 3d 32 75 70 20 34 75 70 | 20 36 75 70 20 31 36 75 |=2up 4up| 6up 16u|
|00002f10| 70 0a 58 4d 41 4e 31 3d | 75 70 2e 31 20 6d 61 6b |p.XMAN1=|up.1 mak|
|00002f20| 65 75 70 2e 31 20 70 61 | 72 72 2e 31 0a 58 4d 41 |eup.1 pa|rr.1.XMA|
|00002f30| 4e 35 3d 75 70 72 63 2e | 35 0a 58 0a 58 46 49 4c |N5=uprc.|5.X.XFIL|
|00002f40| 45 53 3d 52 45 41 44 4d | 45 20 48 6f 77 54 6f 20 |ES=READM|E HowTo |
|00002f50| 4d 61 6b 65 66 69 6c 65 | 20 24 28 50 52 4f 47 29 |Makefile| $(PROG)|
|00002f60| 20 24 28 55 54 49 4c 29 | 20 24 28 4c 49 42 29 20 | $(UTIL)| $(LIB) |
|00002f70| 24 28 4d 41 4e 31 29 20 | 24 28 4d 41 4e 35 29 0a |$(MAN1) |$(MAN5).|
|00002f80| 58 0a 58 64 65 66 61 75 | 6c 74 3a 0a 58 09 40 65 |X.Xdefau|lt:.X.@e|
|00002f90| 63 68 6f 20 45 64 69 74 | 20 4d 61 6b 65 66 69 6c |cho Edit| Makefil|
|00002fa0| 65 2c 20 63 68 61 6e 67 | 69 6e 67 20 74 68 65 20 |e, chang|ing the |
|00002fb0| 76 61 6c 75 65 73 20 6f | 66 20 4c 49 42 44 49 52 |values o|f LIBDIR|
|00002fc0| 2c 20 42 49 4e 44 49 52 | 2c 0a 58 09 40 65 63 68 |, BINDIR|,.X.@ech|
|00002fd0| 6f 20 4d 41 4e 44 49 52 | 2c 20 61 6e 64 20 53 59 |o MANDIR|, and SY|
|00002fe0| 4d 4c 49 4e 4b 2c 20 74 | 68 65 6e 20 74 79 70 65 |MLINK, t|hen type|
|00002ff0| 20 5c 22 6d 61 6b 65 20 | 69 6e 73 74 61 6c 6c 5c | \"make |install\|
|00003000| 22 0a 58 0a 58 69 6e 73 | 74 61 6c 6c 3a 20 24 28 |".X.Xins|tall: $(|
|00003010| 50 52 4f 47 29 20 24 28 | 55 54 49 4c 29 20 24 28 |PROG) $(|UTIL) $(|
|00003020| 4c 49 42 29 20 24 28 4d | 41 4e 31 29 20 24 28 4d |LIB) $(M|AN1) $(M|
|00003030| 41 4e 35 29 0a 58 09 63 | 70 20 24 28 50 52 4f 47 |AN5).X.c|p $(PROG|
|00003040| 29 20 24 28 55 54 49 4c | 29 20 24 28 42 49 4e 44 |) $(UTIL|) $(BIND|
|00003050| 49 52 29 0a 58 09 63 70 | 20 24 28 4c 49 42 29 20 |IR).X.cp| $(LIB) |
|00003060| 24 28 4c 49 42 44 49 52 | 29 0a 58 09 66 6f 72 20 |$(LIBDIR|).X.for |
|00003070| 69 20 69 6e 20 24 28 4c | 49 4e 4b 53 29 3b 20 64 |i in $(L|INKS); d|
|00003080| 6f 20 24 28 53 59 4d 4c | 49 4e 4b 29 20 24 28 42 |o $(SYML|INK) $(B|
|00003090| 49 4e 44 49 52 29 2f 24 | 28 50 52 4f 47 29 20 24 |INDIR)/$|(PROG) $|
|000030a0| 28 42 49 4e 44 49 52 29 | 2f 24 24 69 3b 20 64 6f |(BINDIR)|/$$i; do|
|000030b0| 6e 65 0a 58 09 40 2d 6d | 6b 64 69 72 20 24 28 4d |ne.X.@-m|kdir $(M|
|000030c0| 41 4e 44 49 52 29 0a 58 | 09 40 2d 6d 6b 64 69 72 |ANDIR).X|.@-mkdir|
|000030d0| 20 24 28 4d 41 4e 44 49 | 52 29 2f 6d 61 6e 31 0a | $(MANDI|R)/man1.|
|000030e0| 58 09 40 2d 6d 6b 64 69 | 72 20 24 28 4d 41 4e 44 |X.@-mkdi|r $(MAND|
|000030f0| 49 52 29 2f 6d 61 6e 35 | 0a 58 09 63 70 20 24 28 |IR)/man5|.X.cp $(|
|00003100| 4d 41 4e 31 29 20 24 28 | 4d 41 4e 44 49 52 29 2f |MAN1) $(|MANDIR)/|
|00003110| 6d 61 6e 31 0a 58 09 63 | 70 20 24 28 4d 41 4e 35 |man1.X.c|p $(MAN5|
|00003120| 29 20 24 28 4d 41 4e 44 | 49 52 29 2f 6d 61 6e 35 |) $(MAND|IR)/man5|
|00003130| 0a 58 0a 58 63 6c 65 61 | 6e 3a 0a 58 09 72 6d 20 |.X.Xclea|n:.X.rm |
|00003140| 2d 66 20 63 6f 72 65 20 | 75 70 2e 73 68 61 72 2a |-f core |up.shar*|
|00003150| 20 2a 7e 0a 58 0a 58 75 | 6e 69 6e 73 74 61 6c 6c | *~.X.Xu|ninstall|
|00003160| 3a 0a 58 09 2d 66 6f 72 | 20 69 20 69 6e 20 24 28 |:.X.-for| i in $(|
|00003170| 50 52 4f 47 29 20 24 28 | 55 54 49 4c 29 20 24 28 |PROG) $(|UTIL) $(|
|00003180| 4c 49 4e 4b 53 29 3b 20 | 64 6f 20 72 6d 20 24 28 |LINKS); |do rm $(|
|00003190| 42 49 4e 44 49 52 29 2f | 24 24 69 3b 20 64 6f 6e |BINDIR)/|$$i; don|
|000031a0| 65 0a 58 09 2d 72 6d 20 | 24 28 4c 49 42 44 49 52 |e.X.-rm |$(LIBDIR|
|000031b0| 29 2f 24 28 4c 49 42 29 | 0a 58 09 2d 66 6f 72 20 |)/$(LIB)|.X.-for |
|000031c0| 69 20 69 6e 20 24 28 4d | 41 4e 31 29 3b 20 64 6f |i in $(M|AN1); do|
|000031d0| 20 72 6d 20 24 28 4d 41 | 4e 44 49 52 29 2f 6d 61 | rm $(MA|NDIR)/ma|
|000031e0| 6e 31 2f 24 24 69 3b 20 | 64 6f 6e 65 0a 58 09 2d |n1/$$i; |done.X.-|
|000031f0| 66 6f 72 20 69 20 69 6e | 20 24 28 4d 41 4e 35 29 |for i in| $(MAN5)|
|00003200| 3b 20 64 6f 20 72 6d 20 | 24 28 4d 41 4e 44 49 52 |; do rm |$(MANDIR|
|00003210| 29 2f 6d 61 6e 35 2f 24 | 24 69 3b 20 64 6f 6e 65 |)/man5/$|$i; done|
|00003220| 0a 58 0a 58 75 70 2e 73 | 68 61 72 3a 20 24 28 46 |.X.Xup.s|har: $(F|
|00003230| 49 4c 45 53 29 0a 58 09 | 73 68 61 72 20 24 28 46 |ILES).X.|shar $(F|
|00003240| 49 4c 45 53 29 20 3e 75 | 70 2e 73 68 61 72 0a 58 |ILES) >u|p.shar.X|
|00003250| 09 70 65 72 6c 20 2d 69 | 2e 6f 6c 64 20 2d 70 65 |.perl -i|.old -pe|
|00003260| 20 27 73 2f 6a 67 72 65 | 65 6c 79 40 5b 2d 2e 5c | 's/jgre|ely@[-.\|
|00003270| 77 5d 2b 5b 2d 5c 77 5d | 2f 6a 67 72 65 65 6c 79 |w]+[-\w]|/jgreely|
|00003280| 40 63 69 73 2e 6f 68 69 | 6f 2d 73 74 61 74 65 2e |@cis.ohi|o-state.|
|00003290| 65 64 75 2f 67 3b 27 5c | 0a 58 09 75 70 2e 73 68 |edu/g;'\|.X.up.sh|
|000032a0| 61 72 0a 58 09 72 6d 20 | 75 70 2e 73 68 61 72 2e |ar.X.rm |up.shar.|
|000032b0| 6f 6c 64 0a 45 4e 44 5f | 4f 46 5f 46 49 4c 45 0a |old.END_|OF_FILE.|
|000032c0| 69 66 20 74 65 73 74 20 | 31 30 35 39 20 2d 6e 65 |if test |1059 -ne|
|000032d0| 20 60 77 63 20 2d 63 20 | 3c 27 4d 61 6b 65 66 69 | `wc -c |<'Makefi|
|000032e0| 6c 65 27 60 3b 20 74 68 | 65 6e 0a 20 20 20 20 65 |le'`; th|en. e|
|000032f0| 63 68 6f 20 73 68 61 72 | 3a 20 5c 22 27 4d 61 6b |cho shar|: \"'Mak|
|00003300| 65 66 69 6c 65 27 5c 22 | 20 75 6e 70 61 63 6b 65 |efile'\"| unpacke|
|00003310| 64 20 77 69 74 68 20 77 | 72 6f 6e 67 20 73 69 7a |d with w|rong siz|
|00003320| 65 21 0a 66 69 0a 23 20 | 65 6e 64 20 6f 66 20 27 |e!.fi.# |end of '|
|00003330| 4d 61 6b 65 66 69 6c 65 | 27 0a 66 69 0a 69 66 20 |Makefile|'.fi.if |
|00003340| 74 65 73 74 20 2d 66 20 | 27 75 70 27 20 2d 61 20 |test -f |'up' -a |
|00003350| 22 24 7b 31 7d 22 20 21 | 3d 20 22 2d 63 22 20 3b |"${1}" !|= "-c" ;|
|00003360| 20 74 68 65 6e 20 0a 20 | 20 65 63 68 6f 20 73 68 | then . | echo sh|
|00003370| 61 72 3a 20 57 69 6c 6c | 20 6e 6f 74 20 63 6c 6f |ar: Will| not clo|
|00003380| 62 62 65 72 20 65 78 69 | 73 74 69 6e 67 20 66 69 |bber exi|sting fi|
|00003390| 6c 65 20 5c 22 27 75 70 | 27 5c 22 0a 65 6c 73 65 |le \"'up|'\".else|
|000033a0| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 |.echo sh|ar: Extr|
|000033b0| 61 63 74 69 6e 67 20 5c | 22 27 75 70 27 5c 22 20 |acting \|"'up'\" |
|000033c0| 5c 28 34 38 31 30 20 63 | 68 61 72 61 63 74 65 72 |\(4810 c|haracter|
|000033d0| 73 5c 29 0a 73 65 64 20 | 22 73 2f 5e 58 2f 2f 22 |s\).sed |"s/^X//"|
|000033e0| 20 3e 27 75 70 27 20 3c | 3c 27 45 4e 44 5f 4f 46 | >'up' <|<'END_OF|
|000033f0| 5f 46 49 4c 45 27 0a 58 | 23 21 2f 75 73 72 2f 6c |_FILE'.X|#!/usr/l|
|00003400| 6f 63 61 6c 2f 62 69 6e | 2f 70 65 72 6c 0a 58 23 |ocal/bin|/perl.X#|
|00003410| 20 75 70 3a 0a 58 23 20 | 50 6f 73 74 53 63 72 69 | up:.X# |PostScri|
|00003420| 70 74 20 6e 2d 75 70 20 | 70 72 69 6e 74 20 75 74 |pt n-up |print ut|
|00003430| 69 6c 69 74 79 2e 20 20 | 54 68 69 73 20 73 63 72 |ility. |This scr|
|00003440| 69 70 74 20 74 61 6b 65 | 73 20 63 6f 6e 66 6f 72 |ipt take|s confor|
|00003450| 6d 69 6e 67 20 50 53 0a | 58 23 20 66 69 6c 65 73 |ming PS.|X# files|
|00003460| 2c 20 61 6e 64 20 70 72 | 69 6e 74 73 20 74 68 65 |, and pr|ints the|
|00003470| 6d 20 6e 2d 75 70 2c 20 | 77 68 65 72 65 20 6e 20 |m n-up, |where n |
|00003480| 69 73 20 63 6f 6e 74 72 | 6f 6c 6c 65 64 20 62 79 |is contr|olled by|
|00003490| 20 61 20 73 79 6d 62 6f | 6c 69 63 0a 58 23 20 6e | a symbo|lic.X# n|
|000034a0| 61 6d 65 20 28 74 61 6b | 65 6e 20 66 72 6f 6d 20 |ame (tak|en from |
|000034b0| 61 72 67 76 5b 30 5d 20 | 6f 72 20 74 68 65 20 63 |argv[0] |or the c|
|000034c0| 6f 6d 6d 61 6e 64 20 6c | 69 6e 65 29 2c 20 61 6e |ommand l|ine), an|
|000034d0| 64 20 74 68 65 20 70 61 | 67 65 0a 58 23 20 70 6f |d the pa|ge.X# po|
|000034e0| 73 69 74 69 6f 6e 69 6e | 67 20 61 6e 64 20 73 63 |sitionin|g and sc|
|000034f0| 61 6c 69 6e 67 20 61 72 | 65 20 6c 6f 6f 6b 65 64 |aling ar|e looked|
|00003500| 20 75 70 20 69 6e 20 61 | 20 63 6f 6e 66 69 67 75 | up in a| configu|
|00003510| 72 61 74 69 6f 6e 20 66 | 69 6c 65 2e 0a 58 23 0a |ration f|ile..X#.|
|00003520| 58 23 20 75 73 61 67 65 | 3a 20 75 70 20 5b 2d 6e |X# usage|: up [-n|
|00003530| 20 6e 61 6d 65 5d 20 5b | 2d 66 20 63 6f 6e 66 69 | name] [|-f confi|
|00003540| 67 5d 20 5b 66 69 6c 65 | 20 2e 2e 2e 5d 0a 58 23 |g] [file| ...].X#|
|00003550| 0a 58 23 20 6a 67 72 65 | 65 6c 79 40 63 69 73 2e |.X# jgre|ely@cis.|
|00003560| 6f 68 69 6f 2d 73 74 61 | 74 65 2e 65 64 75 2c 20 |ohio-sta|te.edu, |
|00003570| 38 39 2f 31 30 2f 32 33 | 0a 58 23 0a 58 0a 58 23 |89/10/23|.X#.X.X#|
|00003580| 20 73 65 74 20 74 68 65 | 20 6e 61 6d 65 20 66 72 | set the| name fr|
|00003590| 6f 6d 20 24 30 20 28 61 | 72 67 76 5b 30 5d 29 2c |om $0 (a|rgv[0]),|
|000035a0| 20 61 66 74 65 72 20 73 | 74 72 69 70 70 69 6e 67 | after s|tripping|
|000035b0| 20 61 20 70 61 74 68 0a | 58 23 0a 58 40 66 6f 6f | a path.|X#.X@foo|
|000035c0| 20 3d 20 73 70 6c 69 74 | 28 2f 5c 2f 2f 2c 24 30 | = split|(/\//,$0|
|000035d0| 29 3b 0a 58 24 6e 61 6d | 65 3d 70 6f 70 28 40 66 |);.X$nam|e=pop(@f|
|000035e0| 6f 6f 29 3b 0a 58 0a 58 | 24 48 4f 4d 45 3d 24 45 |oo);.X.X|$HOME=$E|
|000035f0| 4e 56 7b 22 48 4f 4d 45 | 22 7d 3b 0a 58 0a 58 23 |NV{"HOME|"};.X.X#|
|00003600| 20 73 65 74 20 61 20 64 | 65 66 61 75 6c 74 20 70 | set a d|efault p|
|00003610| 72 6f 6c 6f 67 20 69 6e | 20 63 61 73 65 20 74 68 |rolog in| case th|
|00003620| 65 20 63 6f 6e 66 69 67 | 20 66 69 6c 65 20 64 6f |e config| file do|
|00003630| 65 73 6e 27 74 20 68 61 | 76 65 20 6f 6e 65 0a 58 |esn't ha|ve one.X|
|00003640| 23 20 6d 61 6b 65 20 73 | 75 72 65 20 74 68 61 74 |# make s|ure that|
|00003650| 20 70 6c 69 6e 65 73 20 | 69 73 20 32 20 6c 61 72 | plines |is 2 lar|
|00003660| 67 65 72 20 74 68 61 6e | 20 74 68 65 20 6e 75 6d |ger than| the num|
|00003670| 62 65 72 20 6f 66 20 64 | 65 66 69 6e 69 74 69 6f |ber of d|efinitio|
|00003680| 6e 73 20 69 6e 0a 58 23 | 20 74 68 65 20 70 72 6f |ns in.X#| the pro|
|00003690| 6c 6f 67 20 28 75 73 65 | 64 20 74 6f 20 67 65 74 |log (use|d to get|
|000036a0| 20 64 69 63 74 69 6f 6e | 61 72 79 20 73 69 7a 65 | diction|ary size|
|000036b0| 29 2e 0a 58 23 0a 58 24 | 70 6c 69 6e 65 73 3d 31 |)..X#.X$|plines=1|
|000036c0| 30 3b 0a 58 24 70 72 6f | 6c 6f 67 20 3d 20 3c 3c |0;.X$pro|log = <<|
|000036d0| 45 4f 46 3b 0a 58 2f 69 | 6e 63 68 20 7b 37 32 20 |EOF;.X/i|nch {72 |
|000036e0| 6d 75 6c 7d 20 64 65 66 | 0a 58 2f 6d 6f 76 65 55 |mul} def|.X/moveU|
|000036f0| 20 7b 30 20 31 31 20 69 | 6e 63 68 20 74 72 61 6e | {0 11 i|nch tran|
|00003700| 73 6c 61 74 65 7d 20 64 | 65 66 0a 58 2f 6d 6f 76 |slate} d|ef.X/mov|
|00003710| 65 52 20 7b 38 2e 35 20 | 69 6e 63 68 20 30 20 74 |eR {8.5 |inch 0 t|
|00003720| 72 61 6e 73 6c 61 74 65 | 7d 20 64 65 66 0a 58 2f |ranslate|} def.X/|
|00003730| 6d 6f 76 65 44 20 7b 30 | 20 2d 31 31 20 69 6e 63 |moveD {0| -11 inc|
|00003740| 68 20 74 72 61 6e 73 6c | 61 74 65 7d 20 64 65 66 |h transl|ate} def|
|00003750| 0a 58 2f 6d 6f 76 65 4c | 20 7b 2d 38 2e 35 20 69 |.X/moveL| {-8.5 i|
|00003760| 6e 63 68 20 30 20 74 72 | 61 6e 73 6c 61 74 65 7d |nch 0 tr|anslate}|
|00003770| 20 64 65 66 0a 58 2f 72 | 6f 74 52 20 7b 2d 39 30 | def.X/r|otR {-90|
|00003780| 20 72 6f 74 61 74 65 7d | 20 64 65 66 0a 58 2f 72 | rotate}| def.X/r|
|00003790| 6f 74 4c 20 7b 39 30 20 | 72 6f 74 61 74 65 7d 20 |otL {90 |rotate} |
|000037a0| 64 65 66 0a 58 45 4f 46 | 0a 58 0a 58 23 20 73 65 |def.XEOF|.X.X# se|
|000037b0| 61 72 63 68 20 66 6f 72 | 20 61 20 63 6f 6e 66 69 |arch for| a confi|
|000037c0| 67 75 72 61 74 69 6f 6e | 20 66 69 6c 65 2e 20 20 |guration| file. |
|000037d0| 54 68 65 20 2a 6c 61 73 | 74 2a 20 6f 6e 65 20 66 |The *las|t* one f|
|000037e0| 6f 75 6e 64 20 69 73 20 | 75 73 65 64 0a 58 23 0a |ound is |used.X#.|
|000037f0| 58 24 63 6f 6e 66 69 67 | 20 3d 20 22 2e 2f 75 70 |X$config| = "./up|
|00003800| 2e 72 63 22 3b 0a 58 40 | 73 65 61 72 63 68 5f 70 |.rc";.X@|search_p|
|00003810| 61 74 68 20 3d 20 28 22 | 2f 75 73 72 2f 6c 69 62 |ath = ("|/usr/lib|
|00003820| 2f 75 70 2e 72 63 22 2c | 22 2f 75 73 72 2f 6c 6f |/up.rc",|"/usr/lo|
|00003830| 63 61 6c 2f 6c 69 62 2f | 75 70 2e 72 63 22 2c 22 |cal/lib/|up.rc","|
|00003840| 24 48 4f 4d 45 2f 2e 75 | 70 72 63 22 2c 0a 58 20 |$HOME/.u|prc",.X |
|00003850| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 22 | | "|
|00003860| 2e 2f 75 70 2e 72 63 22 | 29 3b 20 0a 58 66 6f 72 |./up.rc"|); .Xfor|
|00003870| 65 61 63 68 20 24 66 69 | 6c 65 20 28 40 73 65 61 |each $fi|le (@sea|
|00003880| 72 63 68 5f 70 61 74 68 | 29 20 7b 0a 58 09 24 63 |rch_path|) {.X.$c|
|00003890| 6f 6e 66 69 67 20 3d 20 | 24 66 69 6c 65 20 69 66 |onfig = |$file if|
|000038a0| 20 28 2d 66 20 24 66 69 | 6c 65 20 26 26 20 2d 72 | (-f $fi|le && -r|
|000038b0| 20 24 66 69 6c 65 29 3b | 0a 58 7d 0a 58 0a 58 23 | $file);|.X}.X.X#|
|000038c0| 20 63 68 65 63 6b 20 66 | 6f 72 20 6f 70 74 69 6f | check f|or optio|
|000038d0| 6e 73 20 6f 6e 20 63 6f | 6d 6d 61 6e 64 20 6c 69 |ns on co|mmand li|
|000038e0| 6e 65 2e 0a 58 23 0a 58 | 77 68 69 6c 65 20 28 24 |ne..X#.X|while ($|
|000038f0| 5f 20 3d 20 24 41 52 47 | 56 5b 30 5d 2c 2f 5e 2d |_ = $ARG|V[0],/^-|
|00003900| 2f 29 20 7b 0a 58 09 73 | 68 69 66 74 3b 0a 58 09 |/) {.X.s|hift;.X.|
|00003910| 6c 61 73 74 20 69 66 20 | 2f 5e 2d 5c 2d 24 2f 3b |last if |/^-\-$/;|
|00003920| 0a 58 09 2f 5e 2d 5b 46 | 66 5d 2f 20 26 26 20 28 |.X./^-[F|f]/ && (|
|00003930| 24 63 6f 6e 66 69 67 20 | 3d 20 73 68 69 66 74 2c |$config |= shift,|
|00003940| 6e 65 78 74 29 3b 0a 58 | 09 2f 5e 2d 5b 4e 6e 5d |next);.X|./^-[Nn]|
|00003950| 2f 20 26 26 20 28 24 6e | 61 6d 65 20 3d 20 73 68 |/ && ($n|ame = sh|
|00003960| 69 66 74 2c 6e 65 78 74 | 29 3b 0a 58 09 64 69 65 |ift,next|);.X.die|
|00003970| 20 22 75 73 61 67 65 3a | 20 75 70 20 5b 2d 66 20 | "usage:| up [-f |
|00003980| 63 6f 6e 66 69 67 5d 20 | 5b 2d 6e 20 6e 61 6d 65 |config] |[-n name|
|00003990| 5d 20 5b 66 69 6c 65 20 | 2e 2e 2e 5d 5c 6e 22 3b |] [file |...]\n";|
|000039a0| 0a 58 7d 0a 58 0a 58 23 | 20 72 65 61 64 20 72 65 |.X}.X.X#| read re|
|000039b0| 6c 65 76 61 6e 74 20 73 | 65 63 74 69 6f 6e 20 6f |levant s|ection o|
|000039c0| 66 20 63 6f 6e 66 69 67 | 75 72 61 74 69 6f 6e 20 |f config|uration |
|000039d0| 66 69 6c 65 2e 09 46 6f | 72 20 63 6f 6d 70 6c 65 |file..Fo|r comple|
|000039e0| 74 65 20 66 6f 72 6d 61 | 74 0a 58 23 20 64 65 73 |te forma|t.X# des|
|000039f0| 63 72 69 70 74 69 6f 6e | 2c 20 73 65 65 20 74 68 |cription|, see th|
|00003a00| 65 20 70 72 6f 76 69 64 | 65 64 20 75 70 2e 72 63 |e provid|ed up.rc|
|00003a10| 20 66 69 6c 65 20 6f 72 | 20 75 70 72 63 28 35 29 | file or| uprc(5)|
|00003a20| 2e 0a 58 23 20 20 42 61 | 73 69 63 61 6c 6c 79 2c |..X# Ba|sically,|
|00003a30| 20 72 65 61 64 20 74 68 | 65 20 63 6f 6e 66 69 67 | read th|e config|
|00003a40| 20 66 69 6c 65 20 75 6e | 74 69 6c 20 77 65 20 66 | file un|til we f|
|00003a50| 69 6e 64 20 61 20 6c 69 | 6e 65 20 63 6f 6e 74 61 |ind a li|ne conta|
|00003a60| 69 6e 69 6e 67 20 61 0a | 58 23 20 6e 61 6d 65 20 |ining a.|X# name |
|00003a70| 66 69 65 6c 64 20 65 71 | 75 61 6c 20 74 6f 20 74 |field eq|ual to t|
|00003a80| 68 65 20 63 75 72 72 65 | 6e 74 20 6e 61 6d 65 2e |he curre|nt name.|
|00003a90| 09 20 4f 6e 63 65 20 77 | 65 20 64 6f 2c 20 72 65 |. Once w|e do, re|
|00003aa0| 61 64 20 61 6c 6c 20 6e | 61 6d 65 2d 0a 58 23 20 |ad all n|ame-.X# |
|00003ab0| 76 61 6c 75 65 20 70 61 | 69 72 73 20 75 70 20 75 |value pa|irs up u|
|00003ac0| 6e 74 69 6c 20 61 20 6c | 69 6e 65 20 63 6f 6e 74 |ntil a l|ine cont|
|00003ad0| 61 69 6e 69 6e 67 20 6a | 75 73 74 20 61 20 27 2e |aining j|ust a '.|
|00003ae0| 27 2c 20 70 6c 61 63 69 | 6e 67 20 74 68 65 6d 20 |', placi|ng them |
|00003af0| 61 6c 6c 0a 58 23 20 69 | 6e 74 6f 20 61 6e 20 61 |all.X# i|nto an a|
|00003b00| 73 73 6f 63 69 61 74 69 | 76 65 20 61 72 72 61 79 |ssociati|ve array|
|00003b10| 2e 0a 58 23 0a 58 6f 70 | 65 6e 28 63 6f 6e 66 69 |..X#.Xop|en(confi|
|00003b20| 67 29 20 7c 7c 0a 58 20 | 20 64 69 65 20 22 63 61 |g) ||.X | die "ca|
|00003b30| 6e 27 74 20 66 69 6e 64 | 20 66 69 6c 65 20 27 24 |n't find| file '$|
|00003b40| 63 6f 6e 66 69 67 27 2c | 20 73 74 6f 70 70 65 64 |config',| stopped|
|00003b50| 22 3b 0a 58 24 69 6e 5f | 72 65 63 20 3d 20 30 3b |";.X$in_|rec = 0;|
|00003b60| 0a 58 77 68 69 6c 65 28 | 3c 63 6f 6e 66 69 67 3e |.Xwhile(|<config>|
|00003b70| 29 20 7b 0a 58 09 63 68 | 6f 70 3b 0a 58 09 6e 65 |) {.X.ch|op;.X.ne|
|00003b80| 78 74 20 69 66 20 2f 5e | 5c 73 2a 23 7c 5e 5c 73 |xt if /^|\s*#|^\s|
|00003b90| 2a 24 2f 3b 09 23 20 73 | 6b 69 70 20 63 6f 6d 6d |*$/;.# s|kip comm|
|00003ba0| 65 6e 74 20 61 6e 64 20 | 62 6c 61 6e 6b 20 6c 69 |ent and |blank li|
|00003bb0| 6e 65 73 0a 58 09 69 66 | 20 28 2f 5e 70 72 6f 6c |nes.X.if| (/^prol|
|00003bc0| 6f 67 5c 73 2a 3d 2f 29 | 20 7b 0a 58 09 09 64 6f |og\s*=/)| {.X..do|
|00003bd0| 20 72 65 61 64 5f 70 72 | 6f 6c 6f 67 28 29 3b 0a | read_pr|olog();.|
|00003be0| 58 09 09 6e 65 78 74 3b | 0a 58 09 7d 0a 58 09 6e |X..next;|.X.}.X.n|
|00003bf0| 65 78 74 20 75 6e 6c 65 | 73 73 20 28 24 69 6e 5f |ext unle|ss ($in_|
|00003c00| 72 65 63 20 7c 7c 20 2f | 24 6e 61 6d 65 2f 29 3b |rec || /|$name/);|
|00003c10| 0a 58 09 28 24 66 69 65 | 6c 64 2c 24 76 61 6c 75 |.X.($fie|ld,$valu|
|00003c20| 65 29 20 3d 20 73 70 6c | 69 74 28 2f 5c 73 2a 3d |e) = spl|it(/\s*=|
|00003c30| 5c 73 2a 2f 29 3b 0a 58 | 09 69 66 20 28 28 24 66 |\s*/);.X|.if (($f|
|00003c40| 69 65 6c 64 20 65 71 20 | 22 6e 61 6d 65 22 29 20 |ield eq |"name") |
|00003c50| 26 26 20 28 24 76 61 6c | 75 65 20 65 71 20 24 6e |&& ($val|ue eq $n|
|00003c60| 61 6d 65 29 29 20 7b 0a | 58 09 09 24 69 6e 5f 72 |ame)) {.|X..$in_r|
|00003c70| 65 63 2b 2b 3b 0a 58 09 | 09 6e 65 78 74 3b 0a 58 |ec++;.X.|.next;.X|
|00003c80| 09 7d 0a 58 09 6c 61 73 | 74 20 69 66 20 2f 5e 5c |.}.X.las|t if /^\|
|00003c90| 2e 24 2f 3b 0a 58 09 24 | 76 61 72 7b 24 66 69 65 |.$/;.X.$|var{$fie|
|00003ca0| 6c 64 7d 20 3d 20 24 76 | 61 6c 75 65 3b 0a 58 7d |ld} = $v|alue;.X}|
|00003cb0| 0a 58 63 6c 6f 73 65 28 | 63 6f 6e 66 69 67 29 3b |.Xclose(|config);|
|00003cc0| 0a 58 64 69 65 20 22 6e | 6f 20 73 75 63 68 20 72 |.Xdie "n|o such r|
|00003cd0| 65 63 6f 72 64 20 27 24 | 6e 61 6d 65 27 20 69 6e |ecord '$|name' in|
|00003ce0| 20 66 69 6c 65 20 27 24 | 63 6f 6e 66 69 67 27 2c | file '$|config',|
|00003cf0| 20 73 74 6f 70 70 65 64 | 22 20 75 6e 6c 65 73 73 | stopped|" unless|
|00003d00| 20 24 69 6e 5f 72 65 63 | 3b 0a 58 24 6d 6f 64 75 | $in_rec|;.X$modu|
|00003d10| 6c 75 73 20 3d 20 24 76 | 61 72 7b 22 6d 6f 64 75 |lus = $v|ar{"modu|
|00003d20| 6c 75 73 22 7d 3b 0a 58 | 64 69 65 20 22 69 6e 76 |lus"};.X|die "inv|
|00003d30| 61 6c 69 64 20 6d 6f 64 | 75 6c 75 73 20 3d 3d 20 |alid mod|ulus == |
|00003d40| 24 6d 6f 64 75 6c 75 73 | 2c 20 73 74 6f 70 70 65 |$modulus|, stoppe|
|00003d50| 64 22 20 75 6e 6c 65 73 | 73 20 24 6d 6f 64 75 6c |d" unles|s $modul|
|00003d60| 75 73 3b 0a 58 0a 58 24 | 5f 20 3d 20 3c 3e 3b 0a |us;.X.X$|_ = <>;.|
|00003d70| 58 69 66 20 28 2f 5e 25 | 21 50 53 2d 41 64 6f 62 |Xif (/^%|!PS-Adob|
|00003d80| 65 2f 29 20 7b 0a 58 09 | 70 72 69 6e 74 20 3c 3c |e/) {.X.|print <<|
|00003d90| 45 4f 46 3b 0a 58 25 21 | 50 53 2d 41 64 6f 62 65 |EOF;.X%!|PS-Adobe|
|00003da0| 2d 32 2e 30 0a 58 25 25 | 50 61 67 65 73 3a 20 28 |-2.0.X%%|Pages: (|
|00003db0| 61 74 65 6e 64 29 0a 58 | 45 4f 46 0a 58 7d 65 6c |atend).X|EOF.X}el|
|00003dc0| 73 65 7b 0a 58 09 64 69 | 65 20 22 4e 6f 74 20 63 |se{.X.di|e "Not c|
|00003dd0| 6f 6e 66 6f 72 6d 69 6e | 67 20 50 6f 73 74 53 63 |onformin|g PostSc|
|00003de0| 72 69 70 74 20 28 6e 6f | 20 25 21 50 53 2d 41 64 |ript (no| %!PS-Ad|
|00003df0| 6f 62 65 29 2c 20 73 74 | 6f 70 70 65 64 22 3b 0a |obe), st|opped";.|
|00003e00| 58 7d 0a 58 0a 58 23 20 | 72 65 61 64 20 63 6f 6d |X}.X.X# |read com|
|00003e10| 6d 65 6e 74 20 73 65 63 | 74 69 6f 6e 20 28 75 70 |ment sec|tion (up|
|00003e20| 20 74 6f 20 66 69 72 73 | 74 20 6e 6f 6e 2d 25 25 | to firs|t non-%%|
|00003e30| 20 6c 69 6e 65 2c 20 6f | 72 20 25 25 45 6e 64 43 | line, o|r %%EndC|
|00003e40| 6f 6d 6d 65 6e 74 73 29 | 0a 58 23 0a 58 77 68 69 |omments)|.X#.Xwhi|
|00003e50| 6c 65 20 28 3c 3e 29 20 | 7b 0a 58 09 69 66 20 28 |le (<>) |{.X.if (|
|00003e60| 21 2f 5e 25 25 2f 29 20 | 7b 0a 58 09 09 64 6f 20 |!/^%%/) |{.X..do |
|00003e70| 70 72 69 6e 74 5f 70 72 | 6f 6c 6f 67 75 65 28 29 |print_pr|ologue()|
|00003e80| 3b 0a 58 09 09 70 72 69 | 6e 74 3b 0a 58 09 09 6c |;.X..pri|nt;.X..l|
|00003e90| 61 73 74 3b 0a 58 09 7d | 0a 58 09 69 66 20 28 2f |ast;.X.}|.X.if (/|
|00003ea0| 5e 25 25 45 6e 64 43 6f | 6d 6d 65 6e 74 73 2f 29 |^%%EndCo|mments/)|
|00003eb0| 20 7b 0a 58 09 09 70 72 | 69 6e 74 3b 0a 58 09 09 | {.X..pr|int;.X..|
|00003ec0| 64 6f 20 70 72 69 6e 74 | 5f 70 72 6f 6c 6f 67 75 |do print|_prologu|
|00003ed0| 65 28 29 3b 0a 58 09 09 | 6c 61 73 74 3b 0a 58 09 |e();.X..|last;.X.|
|00003ee0| 7d 0a 58 09 70 72 69 6e | 74 3b 0a 58 7d 0a 58 0a |}.X.prin|t;.X}.X.|
|00003ef0| 58 77 68 69 6c 65 20 28 | 3c 3e 29 20 7b 0a 58 09 |Xwhile (|<>) {.X.|
|00003f00| 23 0a 58 09 23 20 74 6f | 20 75 73 65 20 73 6c 69 |#.X.# to| use sli|
|00003f10| 67 68 74 6c 79 20 62 75 | 73 74 65 64 20 4e 65 58 |ghtly bu|sted NeX|
|00003f20| 54 20 70 72 65 76 69 65 | 77 65 72 0a 58 09 23 0a |T previe|wer.X.#.|
|00003f30| 58 09 6e 65 78 74 20 69 | 66 20 2f 5e 25 25 50 61 |X.next i|f /^%%Pa|
|00003f40| 67 65 73 3a 2f 3b 0a 58 | 09 69 66 20 28 2f 5e 25 |ges:/;.X|.if (/^%|
|00003f50| 25 50 61 67 65 3a 2f 29 | 20 7b 0a 58 09 09 64 6f |%Page:/)| {.X..do|
|00003f60| 20 65 6e 74 65 72 5f 70 | 61 67 65 28 29 3b 0a 58 | enter_p|age();.X|
|00003f70| 09 09 6e 65 78 74 3b 0a | 58 09 7d 0a 58 09 69 66 |..next;.|X.}.X.if|
|00003f80| 20 28 2f 5e 25 25 54 72 | 61 69 6c 65 72 2f 29 20 | (/^%%Tr|ailer/) |
|00003f90| 7b 0a 58 09 09 64 6f 20 | 70 72 69 6e 74 5f 74 72 |{.X..do |print_tr|
|00003fa0| 61 69 6c 65 72 28 29 3b | 0a 58 09 09 6e 65 78 74 |ailer();|.X..next|
|00003fb0| 3b 0a 58 09 7d 0a 58 09 | 70 72 69 6e 74 3b 0a 58 |;.X.}.X.|print;.X|
|00003fc0| 7d 0a 58 23 20 70 72 69 | 6e 74 20 61 63 74 75 61 |}.X# pri|nt actua|
|00003fd0| 6c 20 70 61 67 65 20 63 | 6f 75 6e 74 2e 20 20 54 |l page c|ount. T|
|00003fe0| 68 69 73 20 6d 75 73 74 | 20 62 65 20 74 68 65 20 |his must| be the |
|00003ff0| 6c 61 73 74 20 74 72 61 | 69 6c 65 72 20 63 6f 6d |last tra|iler com|
|00004000| 6d 65 6e 74 0a 58 23 20 | 70 72 69 6e 74 65 64 2e |ment.X# |printed.|
|00004010| 0a 58 23 0a 58 70 72 69 | 6e 74 20 22 25 25 50 61 |.X#.Xpri|nt "%%Pa|
|00004020| 67 65 73 3a 20 24 73 68 | 65 65 74 5c 6e 22 3b 0a |ges: $sh|eet\n";.|
|00004030| 58 65 78 69 74 28 30 29 | 3b 0a 58 0a 58 23 20 74 |Xexit(0)|;.X.X# t|
|00004040| 68 65 20 70 72 6f 6c 6f | 67 20 63 6f 6e 73 69 73 |he prolo|g consis|
|00004050| 74 73 20 6f 66 20 73 69 | 6d 70 6c 65 20 63 6f 6d |ts of si|mple com|
|00004060| 6d 61 6e 64 20 64 65 66 | 69 6e 69 74 69 6f 6e 73 |mand def|initions|
|00004070| 20 79 6f 75 20 77 61 6e | 74 20 74 6f 20 6d 61 6b | you wan|t to mak|
|00004080| 65 0a 58 23 20 61 76 61 | 69 6c 61 62 6c 65 20 74 |e.X# ava|ilable t|
|00004090| 6f 20 74 68 65 20 63 6f | 6e 66 69 67 75 72 61 74 |o the co|nfigurat|
|000040a0| 69 6f 6e 20 72 6f 75 74 | 69 6e 65 73 2e 20 20 4e |ion rout|ines. N|
|000040b0| 6f 6e 65 20 6f 66 20 74 | 68 65 6d 20 64 6f 20 61 |one of t|hem do a|
|000040c0| 6e 79 74 68 69 6e 67 0a | 58 23 20 63 6f 6d 70 6c |nything.|X# compl|
|000040d0| 69 63 61 74 65 64 2c 20 | 62 75 74 20 77 68 79 20 |icated, |but why |
|000040e0| 6d 61 6b 65 20 6c 69 66 | 65 20 6d 6f 72 65 20 64 |make lif|e more d|
|000040f0| 69 66 66 69 63 75 6c 74 | 20 66 6f 72 20 74 68 65 |ifficult| for the|
|00004100| 20 75 73 65 72 3f 0a 58 | 23 0a 58 73 75 62 20 70 | user?.X|#.Xsub p|
|00004110| 72 69 6e 74 5f 70 72 6f | 6c 6f 67 75 65 20 7b 0a |rint_pro|logue {.|
|00004120| 58 09 70 72 69 6e 74 20 | 3c 3c 45 4f 46 3b 0a 58 |X.print |<<EOF;.X|
|00004130| 25 25 42 65 67 69 6e 50 | 72 6f 63 53 65 74 3a 20 |%%BeginP|rocSet: |
|00004140| 75 70 5f 70 72 6f 6c 6f | 67 20 31 20 24 24 0a 58 |up_prolo|g 1 $$.X|
|00004150| 2f 55 70 44 69 63 74 24 | 24 20 24 70 6c 69 6e 65 |/UpDict$|$ $pline|
|00004160| 73 20 33 20 61 64 64 20 | 64 69 63 74 20 64 65 66 |s 3 add |dict def|
|00004170| 0a 58 55 70 44 69 63 74 | 24 24 20 62 65 67 69 6e |.XUpDict|$$ begin|
|00004180| 0a 58 24 70 72 6f 6c 6f | 67 0a 58 2f 55 70 53 68 |.X$prolo|g.X/UpSh|
|00004190| 6f 77 70 61 67 65 20 7b | 73 68 6f 77 70 61 67 65 |owpage {|showpage|
|000041a0| 7d 20 62 69 6e 64 20 64 | 65 66 0a 58 2f 55 70 53 |} bind d|ef.X/UpS|
|000041b0| 74 61 74 65 20 7b 7d 20 | 64 65 66 0a 58 65 6e 64 |tate {} |def.Xend|
|000041c0| 0a 58 2f 73 68 6f 77 70 | 61 67 65 20 7b 7d 20 64 |.X/showp|age {} d|
|000041d0| 65 66 0a 58 25 25 45 6e | 64 50 72 6f 63 53 65 74 |ef.X%%En|dProcSet|
|000041e0| 3a 20 75 70 5f 70 72 6f | 6c 6f 67 20 31 20 24 24 |: up_pro|log 1 $$|
|000041f0| 0a 58 45 4f 46 0a 58 7d | 0a 58 0a 58 23 20 62 61 |.XEOF.X}|.X.X# ba|
|00004200| 73 69 63 61 6c 6c 79 2c | 20 61 74 20 74 68 65 20 |sically,| at the |
|00004210| 62 65 67 69 6e 6e 69 6e | 67 20 6f 66 20 61 20 70 |beginnin|g of a p|
|00004220| 61 67 65 2c 20 70 75 6c | 6c 20 74 68 65 20 6e 75 |age, pul|l the nu|
|00004230| 6d 62 65 72 20 66 72 6f | 6d 20 74 68 65 20 70 61 |mber fro|m the pa|
|00004240| 67 65 0a 58 23 20 68 65 | 61 64 65 72 2c 20 74 61 |ge.X# he|ader, ta|
|00004250| 6b 65 20 69 74 20 6d 6f | 64 75 6c 6f 20 24 6d 6f |ke it mo|dulo $mo|
|00004260| 64 75 6c 75 73 2c 20 61 | 6e 64 20 70 72 69 6e 74 |dulus, a|nd print|
|00004270| 20 74 68 69 6e 67 73 20 | 62 61 73 65 64 20 6f 6e | things |based on|
|00004280| 20 74 68 61 74 20 23 0a | 58 23 20 6e 75 6d 62 65 | that #.|X# numbe|
|00004290| 72 2e 20 20 49 66 20 69 | 74 27 73 20 31 2c 20 65 |r. If i|t's 1, e|
|000042a0| 6e 64 20 74 68 65 20 70 | 72 65 76 69 6f 75 73 20 |nd the p|revious |
|000042b0| 73 68 65 65 74 20 28 69 | 66 20 74 68 65 72 65 20 |sheet (i|f there |
|000042c0| 69 73 20 6f 6e 65 29 2c | 0a 58 23 20 69 6e 63 72 |is one),|.X# incr|
|000042d0| 65 6d 65 6e 74 20 74 68 | 65 20 73 68 65 65 74 20 |ement th|e sheet |
|000042e0| 6e 75 6d 62 65 72 2c 20 | 61 6e 64 20 70 72 69 6e |number, |and prin|
|000042f0| 74 20 61 20 73 68 65 65 | 74 20 68 65 61 64 65 72 |t a shee|t header|
|00004300| 2e 09 20 46 6f 72 20 61 | 6c 6c 0a 58 23 20 70 61 |.. For a|ll.X# pa|
|00004310| 67 65 73 2c 20 70 72 69 | 6e 74 20 74 68 65 20 61 |ges, pri|nt the a|
|00004320| 70 70 72 6f 70 72 69 61 | 74 65 20 70 61 67 65 20 |ppropria|te page |
|00004330| 6d 6f 74 69 6f 6e 20 63 | 6f 6d 6d 61 6e 64 2e 0a |motion c|ommand..|
|00004340| 58 23 0a 58 73 75 62 20 | 65 6e 74 65 72 5f 70 61 |X#.Xsub |enter_pa|
|00004350| 67 65 20 7b 0a 58 09 24 | 70 61 67 65 2b 2b 3b 0a |ge {.X.$|page++;.|
|00004360| 58 09 28 24 66 6f 6f 2c | 24 62 61 72 2c 24 6f 6c |X.($foo,|$bar,$ol|
|00004370| 64 70 61 67 65 29 20 3d | 20 73 70 6c 69 74 3b 0a |dpage) =| split;.|
|00004380| 58 09 64 69 65 20 22 48 | 65 6c 70 21 20 70 61 67 |X.die "H|elp! pag|
|00004390| 65 20 6e 75 6d 62 65 72 | 20 6d 69 73 6d 61 74 63 |e number| mismatc|
|000043a0| 68 2c 20 73 74 6f 70 70 | 65 64 22 20 69 66 20 28 |h, stopp|ed" if (|
|000043b0| 24 6f 6c 64 70 61 67 65 | 20 21 3d 20 24 70 61 67 |$oldpage| != $pag|
|000043c0| 65 29 3b 0a 58 09 24 74 | 65 6d 70 20 3d 20 24 70 |e);.X.$t|emp = $p|
|000043d0| 61 67 65 20 25 20 24 6d | 6f 64 75 6c 75 73 3b 0a |age % $m|odulus;.|
|000043e0| 58 09 69 66 20 28 24 74 | 65 6d 70 20 3d 3d 20 31 |X.if ($t|emp == 1|
|000043f0| 29 20 7b 0a 58 09 09 69 | 66 20 28 24 73 68 65 65 |) {.X..i|f ($shee|
|00004400| 74 2b 2b 29 20 7b 0a 58 | 09 09 09 70 72 69 6e 74 |t++) {.X|...print|
|00004410| 20 0a 58 09 09 09 20 20 | 22 55 70 44 69 63 74 24 | .X... |"UpDict$|
|00004420| 24 20 62 65 67 69 6e 20 | 55 70 53 74 61 74 65 20 |$ begin |UpState |
|00004430| 72 65 73 74 6f 72 65 20 | 55 70 53 68 6f 77 70 61 |restore |UpShowpa|
|00004440| 67 65 20 65 6e 64 5c 6e | 22 3b 0a 58 09 09 7d 0a |ge end\n|";.X..}.|
|00004450| 58 09 09 70 72 69 6e 74 | 20 3c 3c 45 4f 46 3b 0a |X..print| <<EOF;.|
|00004460| 58 25 25 50 61 67 65 3a | 20 3f 20 24 73 68 65 65 |X%%Page:| ? $shee|
|00004470| 74 0a 58 55 70 44 69 63 | 74 24 24 20 62 65 67 69 |t.XUpDic|t$$ begi|
|00004480| 6e 0a 58 73 61 76 65 20 | 2f 55 70 53 74 61 74 65 |n.Xsave |/UpState|
|00004490| 20 65 78 63 68 20 64 65 | 66 0a 58 45 4f 46 0a 58 | exch de|f.XEOF.X|
|000044a0| 09 09 70 72 69 6e 74 20 | 24 73 68 65 65 74 20 25 |..print |$sheet %|
|000044b0| 20 32 20 3f 20 24 76 61 | 72 7b 27 6f 64 64 27 7d | 2 ? $va|r{'odd'}|
|000044c0| 20 3a 20 24 76 61 72 7b | 27 65 76 65 6e 27 7d 2c | : $var{|'even'},|
|000044d0| 22 5c 6e 22 3b 0a 58 09 | 09 70 72 69 6e 74 20 24 |"\n";.X.|.print $|
|000044e0| 76 61 72 7b 22 73 63 61 | 6c 65 22 7d 2c 22 5c 6e |var{"sca|le"},"\n|
|000044f0| 22 3b 0a 58 09 7d 65 6c | 73 65 7b 0a 58 09 09 70 |";.X.}el|se{.X..p|
|00004500| 72 69 6e 74 20 22 55 70 | 44 69 63 74 24 24 20 62 |rint "Up|Dict$$ b|
|00004510| 65 67 69 6e 5c 6e 22 3b | 0a 58 09 7d 0a 58 09 24 |egin\n";|.X.}.X.$|
|00004520| 74 65 6d 70 20 3d 20 24 | 6d 6f 64 75 6c 75 73 20 |temp = $|modulus |
|00004530| 75 6e 6c 65 73 73 20 24 | 74 65 6d 70 3b 0a 58 09 |unless $|temp;.X.|
|00004540| 70 72 69 6e 74 20 24 76 | 61 72 7b 24 74 65 6d 70 |print $v|ar{$temp|
|00004550| 7d 2c 22 5c 6e 22 3b 0a | 58 09 70 72 69 6e 74 20 |},"\n";.|X.print |
|00004560| 22 65 6e 64 5c 6e 22 3b | 0a 58 7d 0a 58 0a 58 23 |"end\n";|.X}.X.X#|
|00004570| 20 70 72 69 6e 74 20 74 | 68 65 20 74 72 61 69 6c | print t|he trail|
|00004580| 65 72 2c 20 77 68 69 63 | 68 20 66 6f 72 20 75 73 |er, whic|h for us|
|00004590| 20 63 6f 6e 73 69 73 74 | 73 20 6f 66 20 61 20 73 | consist|s of a s|
|000045a0| 68 6f 77 70 61 67 65 20 | 28 69 6e 73 65 72 74 65 |howpage |(inserte|
|000045b0| 64 0a 58 23 20 62 65 66 | 6f 72 65 20 74 68 65 20 |d.X# bef|ore the |
|000045c0| 74 72 61 69 6c 65 72 20 | 63 6f 6d 6d 65 6e 74 2c |trailer |comment,|
|000045d0| 20 74 6f 20 6d 61 6b 65 | 20 69 74 20 70 61 72 74 | to make| it part|
|000045e0| 20 6f 66 20 74 68 65 20 | 6c 61 73 74 20 70 61 67 | of the |last pag|
|000045f0| 65 29 2e 0a 58 23 0a 58 | 73 75 62 20 70 72 69 6e |e)..X#.X|sub prin|
|00004600| 74 5f 74 72 61 69 6c 65 | 72 20 7b 0a 58 09 70 72 |t_traile|r {.X.pr|
|00004610| 69 6e 74 20 22 55 70 44 | 69 63 74 24 24 20 62 65 |int "UpD|ict$$ be|
|00004620| 67 69 6e 20 55 70 53 74 | 61 74 65 20 72 65 73 74 |gin UpSt|ate rest|
|00004630| 6f 72 65 20 55 70 53 68 | 6f 77 70 61 67 65 20 65 |ore UpSh|owpage e|
|00004640| 6e 64 5c 6e 22 20 69 66 | 20 24 70 61 67 65 3b 0a |nd\n" if| $page;.|
|00004650| 58 09 70 72 69 6e 74 20 | 22 25 25 54 72 61 69 6c |X.print |"%%Trail|
|00004660| 65 72 5c 6e 22 3b 0a 58 | 7d 0a 58 0a 58 23 20 72 |er\n";.X|}.X.X# r|
|00004670| 65 61 64 20 74 68 65 20 | 70 72 6f 6c 6f 67 20 66 |ead the |prolog f|
|00004680| 72 6f 6d 20 74 68 65 20 | 63 6f 6e 66 69 67 75 72 |rom the |configur|
|00004690| 61 74 69 6f 6e 20 66 69 | 6c 65 2e 09 41 6c 6c 20 |ation fi|le..All |
|000046a0| 6c 69 6e 65 73 20 75 70 | 20 74 6f 20 74 68 65 0a |lines up| to the.|
|000046b0| 58 23 20 74 68 65 20 66 | 69 72 73 74 20 6f 6e 65 |X# the f|irst one|
|000046c0| 20 73 74 61 72 74 69 6e | 67 20 77 69 74 68 20 27 | startin|g with '|
|000046d0| 2e 27 20 77 69 6c 6c 20 | 62 65 20 70 6c 61 63 65 |.' will |be place|
|000046e0| 64 20 69 6e 20 24 70 72 | 6f 6c 6f 67 0a 58 23 0a |d in $pr|olog.X#.|
|000046f0| 58 73 75 62 20 72 65 61 | 64 5f 70 72 6f 6c 6f 67 |Xsub rea|d_prolog|
|00004700| 20 7b 0a 58 09 24 70 72 | 6f 6c 6f 67 3d 27 27 3b | {.X.$pr|olog='';|
|00004710| 0a 58 09 23 70 6c 69 6e | 65 73 3d 30 3b 0a 58 09 |.X.#plin|es=0;.X.|
|00004720| 77 68 69 6c 65 20 28 3c | 63 6f 6e 66 69 67 3e 29 |while (<|config>)|
|00004730| 20 7b 0a 58 09 09 6c 61 | 73 74 20 69 66 20 2f 5e | {.X..la|st if /^|
|00004740| 5c 2e 2f 3b 0a 58 09 09 | 24 70 72 6f 6c 6f 67 20 |\./;.X..|$prolog |
|00004750| 2e 3d 20 24 5f 3b 0a 58 | 09 09 24 70 6c 69 6e 65 |.= $_;.X|..$pline|
|00004760| 73 2b 2b 3b 0a 58 09 7d | 0a 58 09 63 68 6f 70 28 |s++;.X.}|.X.chop(|
|00004770| 24 70 72 6f 6c 6f 67 29 | 3b 0a 58 09 24 70 6c 69 |$prolog)|;.X.$pli|
|00004780| 6e 65 73 2b 3d 33 3b 0a | 58 7d 0a 45 4e 44 5f 4f |nes+=3;.|X}.END_O|
|00004790| 46 5f 46 49 4c 45 0a 69 | 66 20 74 65 73 74 20 34 |F_FILE.i|f test 4|
|000047a0| 38 31 30 20 2d 6e 65 20 | 60 77 63 20 2d 63 20 3c |810 -ne |`wc -c <|
|000047b0| 27 75 70 27 60 3b 20 74 | 68 65 6e 0a 20 20 20 20 |'up'`; t|hen. |
|000047c0| 65 63 68 6f 20 73 68 61 | 72 3a 20 5c 22 27 75 70 |echo sha|r: \"'up|
|000047d0| 27 5c 22 20 75 6e 70 61 | 63 6b 65 64 20 77 69 74 |'\" unpa|cked wit|
|000047e0| 68 20 77 72 6f 6e 67 20 | 73 69 7a 65 21 0a 66 69 |h wrong |size!.fi|
|000047f0| 0a 63 68 6d 6f 64 20 2b | 78 20 27 75 70 27 0a 23 |.chmod +|x 'up'.#|
|00004800| 20 65 6e 64 20 6f 66 20 | 27 75 70 27 0a 66 69 0a | end of |'up'.fi.|
|00004810| 69 66 20 74 65 73 74 20 | 2d 66 20 27 6d 61 6b 65 |if test |-f 'make|
|00004820| 75 70 27 20 2d 61 20 22 | 24 7b 31 7d 22 20 21 3d |up' -a "|${1}" !=|
|00004830| 20 22 2d 63 22 20 3b 20 | 74 68 65 6e 20 0a 20 20 | "-c" ; |then . |
|00004840| 65 63 68 6f 20 73 68 61 | 72 3a 20 57 69 6c 6c 20 |echo sha|r: Will |
|00004850| 6e 6f 74 20 63 6c 6f 62 | 62 65 72 20 65 78 69 73 |not clob|ber exis|
|00004860| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 27 6d 61 6b |ting fil|e \"'mak|
|00004870| 65 75 70 27 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |eup'\".e|lse.echo|
|00004880| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00004890| 67 20 5c 22 27 6d 61 6b | 65 75 70 27 5c 22 20 5c |g \"'mak|eup'\" \|
|000048a0| 28 31 30 39 32 20 63 68 | 61 72 61 63 74 65 72 73 |(1092 ch|aracters|
|000048b0| 5c 29 0a 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |\).sed "|s/^X//" |
|000048c0| 3e 27 6d 61 6b 65 75 70 | 27 20 3c 3c 27 45 4e 44 |>'makeup|' <<'END|
|000048d0| 5f 4f 46 5f 46 49 4c 45 | 27 0a 58 23 21 2f 75 73 |_OF_FILE|'.X#!/us|
|000048e0| 72 2f 62 69 6e 2f 70 65 | 72 6c 0a 58 23 20 74 65 |r/bin/pe|rl.X# te|
|000048f0| 73 74 20 70 61 67 65 20 | 70 72 69 6e 74 69 6e 67 |st page |printing|
|00004900| 20 66 6f 72 20 75 70 2e | 20 20 70 72 69 6e 74 20 | for up.| print |
|00004910| 61 72 67 20 70 61 67 65 | 73 2c 20 65 61 63 68 20 |arg page|s, each |
|00004920| 77 69 74 68 20 61 20 62 | 6f 78 20 61 72 6f 75 6e |with a b|ox aroun|
|00004930| 64 0a 58 23 20 74 68 65 | 20 65 64 67 65 73 20 28 |d.X# the| edges (|
|00004940| 2e 32 35 20 69 6e 63 68 | 65 73 20 69 6e 29 2c 20 |.25 inch|es in), |
|00004950| 61 6e 64 20 74 68 65 20 | 70 61 67 65 20 6e 75 6d |and the |page num|
|00004960| 62 65 72 20 69 6e 20 6c | 61 72 67 65 20 74 79 70 |ber in l|arge typ|
|00004970| 65 2e 0a 58 23 20 20 54 | 68 69 73 20 69 73 20 75 |e..X# T|his is u|
|00004980| 73 65 66 75 6c 20 66 6f | 72 20 64 65 62 75 67 67 |seful fo|r debugg|
|00004990| 69 6e 67 20 70 61 67 65 | 20 6c 61 79 6f 75 74 73 |ing page| layouts|
|000049a0| 2c 20 61 73 20 77 65 6c | 6c 20 61 73 20 6a 75 73 |, as wel|l as jus|
|000049b0| 74 20 77 61 73 74 69 6e | 67 0a 58 23 20 70 61 70 |t wastin|g.X# pap|
|000049c0| 65 72 2e 0a 58 23 0a 58 | 23 20 75 73 61 67 65 3a |er..X#.X|# usage:|
|000049d0| 20 6d 61 6b 65 75 70 20 | 63 6f 75 6e 74 0a 58 23 | makeup |count.X#|
|000049e0| 0a 58 23 20 6a 67 72 65 | 65 6c 79 40 63 69 73 2e |.X# jgre|ely@cis.|
|000049f0| 6f 68 69 6f 2d 73 74 61 | 74 65 2e 65 64 75 2c 20 |ohio-sta|te.edu, |
|00004a00| 38 39 2f 31 30 2f 32 33 | 0a 58 23 0a 58 24 63 6f |89/10/23|.X#.X$co|
|00004a10| 75 6e 74 20 3d 20 24 41 | 52 47 56 5b 30 5d 3b 0a |unt = $A|RGV[0];.|
|00004a20| 58 64 69 65 20 22 75 73 | 61 67 65 3a 20 6d 61 6b |Xdie "us|age: mak|
|00004a30| 65 75 70 20 63 6f 75 6e | 74 5c 6e 22 20 75 6e 6c |eup coun|t\n" unl|
|00004a40| 65 73 73 20 24 63 6f 75 | 6e 74 20 3e 20 30 3b 0a |ess $cou|nt > 0;.|
|00004a50| 58 0a 58 24 64 61 74 65 | 20 3d 20 60 64 61 74 65 |X.X$date| = `date|
|00004a60| 60 3b 0a 58 63 68 6f 70 | 28 24 64 61 74 65 29 3b |`;.Xchop|($date);|
|00004a70| 0a 58 0a 58 70 72 69 6e | 74 20 3c 3c 45 4f 46 3b |.X.Xprin|t <<EOF;|
|00004a80| 0a 58 25 21 50 53 2d 41 | 64 6f 62 65 2d 31 2e 30 |.X%!PS-A|dobe-1.0|
|00004a90| 0a 58 25 25 43 72 65 61 | 74 6f 72 3a 20 6d 61 6b |.X%%Crea|tor: mak|
|00004aa0| 65 75 70 0a 58 25 25 54 | 69 74 6c 65 3a 20 50 61 |eup.X%%T|itle: Pa|
|00004ab0| 67 65 20 4c 61 79 6f 75 | 74 20 54 65 73 74 0a 58 |ge Layou|t Test.X|
|00004ac0| 25 25 43 72 65 61 74 69 | 6f 6e 44 61 74 65 3a 20 |%%Creati|onDate: |
|00004ad0| 24 64 61 74 65 0a 58 25 | 25 50 61 67 65 73 3a 20 |$date.X%|%Pages: |
|00004ae0| 28 61 74 65 6e 64 29 0a | 58 25 25 44 6f 63 75 6d |(atend).|X%%Docum|
|00004af0| 65 6e 74 46 6f 6e 74 73 | 3a 20 54 69 6d 65 73 2d |entFonts|: Times-|
|00004b00| 52 6f 6d 61 6e 0a 58 25 | 25 42 6f 75 6e 64 69 6e |Roman.X%|%Boundin|
|00004b10| 67 42 6f 78 3a 20 30 20 | 30 20 36 31 32 20 37 39 |gBox: 0 |0 612 79|
|00004b20| 32 0a 58 25 25 45 6e 64 | 43 6f 6d 6d 65 6e 74 73 |2.X%%End|Comments|
|00004b30| 0a 58 2f 69 6e 63 68 20 | 7b 37 32 20 6d 75 6c 7d |.X/inch |{72 mul}|
|00004b40| 20 64 65 66 0a 58 2f 4e | 66 6f 6e 74 20 2f 54 69 | def.X/N|font /Ti|
|00004b50| 6d 65 73 2d 52 6f 6d 61 | 6e 20 66 69 6e 64 66 6f |mes-Roma|n findfo|
|00004b60| 6e 74 20 35 20 69 6e 63 | 68 20 73 63 61 6c 65 66 |nt 5 inc|h scalef|
|00004b70| 6f 6e 74 20 64 65 66 0a | 58 2f 64 72 61 77 70 61 |ont def.|X/drawpa|
|00004b80| 67 65 20 7b 0a 58 09 32 | 20 73 65 74 6c 69 6e 65 |ge {.X.2| setline|
|00004b90| 63 61 70 20 33 20 73 65 | 74 6c 69 6e 65 77 69 64 |cap 3 se|tlinewid|
|00004ba0| 74 68 20 30 20 73 65 74 | 67 72 61 79 0a 58 09 4e |th 0 set|gray.X.N|
|00004bb0| 66 6f 6e 74 20 73 65 74 | 66 6f 6e 74 0a 58 09 64 |font set|font.X.d|
|00004bc0| 75 70 20 73 74 72 69 6e | 67 77 69 64 74 68 0a 58 |up strin|gwidth.X|
|00004bd0| 09 31 31 20 69 6e 63 68 | 20 65 78 63 68 20 73 75 |.11 inch| exch su|
|00004be0| 62 20 32 20 64 69 76 0a | 58 09 65 78 63 68 20 38 |b 2 div.|X.exch 8|
|00004bf0| 2e 35 20 69 6e 63 68 20 | 65 78 63 68 20 73 75 62 |.5 inch |exch sub|
|00004c00| 20 32 20 64 69 76 0a 58 | 09 65 78 63 68 20 6d 6f | 2 div.X|.exch mo|
|00004c10| 76 65 74 6f 20 73 68 6f | 77 0a 58 09 30 2e 32 35 |veto sho|w.X.0.25|
|00004c20| 20 69 6e 63 68 20 64 75 | 70 20 6d 6f 76 65 74 6f | inch du|p moveto|
|00004c30| 0a 58 09 38 20 69 6e 63 | 68 20 30 20 72 6c 69 6e |.X.8 inc|h 0 rlin|
|00004c40| 65 74 6f 0a 58 09 30 20 | 31 30 2e 35 20 69 6e 63 |eto.X.0 |10.5 inc|
|00004c50| 68 20 72 6c 69 6e 65 74 | 6f 0a 58 09 2d 38 20 69 |h rlinet|o.X.-8 i|
|00004c60| 6e 63 68 20 30 20 72 6c | 69 6e 65 74 6f 0a 58 09 |nch 0 rl|ineto.X.|
|00004c70| 30 20 2d 31 30 2e 35 20 | 69 6e 63 68 20 72 6c 69 |0 -10.5 |inch rli|
|00004c80| 6e 65 74 6f 0a 58 09 63 | 6c 6f 73 65 70 61 74 68 |neto.X.c|losepath|
|00004c90| 20 73 74 72 6f 6b 65 0a | 58 09 73 68 6f 77 70 61 | stroke.|X.showpa|
|00004ca0| 67 65 0a 58 7d 20 64 65 | 66 0a 58 25 25 45 6e 64 |ge.X} de|f.X%%End|
|00004cb0| 50 72 6f 6c 6f 67 0a 58 | 45 4f 46 0a 58 0a 58 66 |Prolog.X|EOF.X.Xf|
|00004cc0| 6f 72 20 28 24 70 61 67 | 65 3d 31 3b 24 70 61 67 |or ($pag|e=1;$pag|
|00004cd0| 65 20 3c 3d 20 24 63 6f | 75 6e 74 3b 24 70 61 67 |e <= $co|unt;$pag|
|00004ce0| 65 2b 2b 29 20 7b 0a 58 | 09 70 72 69 6e 74 20 22 |e++) {.X|.print "|
|00004cf0| 25 25 50 61 67 65 3a 20 | 3f 20 24 70 61 67 65 5c |%%Page: |? $page\|
|00004d00| 6e 28 24 70 61 67 65 29 | 20 64 72 61 77 70 61 67 |n($page)| drawpag|
|00004d10| 65 5c 6e 22 3b 0a 58 7d | 0a 58 0a 58 70 72 69 6e |e\n";.X}|.X.Xprin|
|00004d20| 74 20 3c 3c 45 4f 46 3b | 0a 58 25 25 54 72 61 69 |t <<EOF;|.X%%Trai|
|00004d30| 6c 65 72 0a 58 25 25 50 | 61 67 65 73 3a 20 24 63 |ler.X%%P|ages: $c|
|00004d40| 6f 75 6e 74 0a 58 45 4f | 46 0a 58 65 78 69 74 28 |ount.XEO|F.Xexit(|
|00004d50| 30 29 3b 0a 45 4e 44 5f | 4f 46 5f 46 49 4c 45 0a |0);.END_|OF_FILE.|
|00004d60| 69 66 20 74 65 73 74 20 | 31 30 39 32 20 2d 6e 65 |if test |1092 -ne|
|00004d70| 20 60 77 63 20 2d 63 20 | 3c 27 6d 61 6b 65 75 70 | `wc -c |<'makeup|
|00004d80| 27 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |'`; then|. ech|
|00004d90| 6f 20 73 68 61 72 3a 20 | 5c 22 27 6d 61 6b 65 75 |o shar: |\"'makeu|
|00004da0| 70 27 5c 22 20 75 6e 70 | 61 63 6b 65 64 20 77 69 |p'\" unp|acked wi|
|00004db0| 74 68 20 77 72 6f 6e 67 | 20 73 69 7a 65 21 0a 66 |th wrong| size!.f|
|00004dc0| 69 0a 63 68 6d 6f 64 20 | 2b 78 20 27 6d 61 6b 65 |i.chmod |+x 'make|
|00004dd0| 75 70 27 0a 23 20 65 6e | 64 20 6f 66 20 27 6d 61 |up'.# en|d of 'ma|
|00004de0| 6b 65 75 70 27 0a 66 69 | 0a 69 66 20 74 65 73 74 |keup'.fi|.if test|
|00004df0| 20 2d 66 20 27 70 61 72 | 72 27 20 2d 61 20 22 24 | -f 'par|r' -a "$|
|00004e00| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00004e10| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00004e20| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|00004e30| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|00004e40| 20 5c 22 27 70 61 72 72 | 27 5c 22 0a 65 6c 73 65 | \"'parr|'\".else|
|00004e50| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 |.echo sh|ar: Extr|
|00004e60| 61 63 74 69 6e 67 20 5c | 22 27 70 61 72 72 27 5c |acting \|"'parr'\|
|00004e70| 22 20 5c 28 32 36 36 31 | 20 63 68 61 72 61 63 74 |" \(2661| charact|
|00004e80| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|00004e90| 2f 22 20 3e 27 70 61 72 | 72 27 20 3c 3c 27 45 4e |/" >'par|r' <<'EN|
|00004ea0| 44 5f 4f 46 5f 46 49 4c | 45 27 0a 58 23 21 2f 75 |D_OF_FIL|E'.X#!/u|
|00004eb0| 73 72 2f 62 69 6e 2f 70 | 65 72 6c 0a 58 23 70 61 |sr/bin/p|erl.X#pa|
|00004ec0| 72 72 3a 0a 58 23 20 72 | 65 61 72 72 61 6e 67 65 |rr:.X# r|earrange|
|00004ed0| 20 63 6f 6e 66 6f 72 6d | 69 6e 67 20 50 53 20 63 | conform|ing PS c|
|00004ee0| 6f 64 65 20 74 6f 20 70 | 72 69 6e 74 20 74 68 65 |ode to p|rint the|
|00004ef0| 20 70 61 67 65 73 20 69 | 6e 20 61 6e 20 61 72 62 | pages i|n an arb|
|00004f00| 69 74 72 61 72 79 0a 58 | 23 20 6f 72 64 65 72 2e |itrary.X|# order.|
|00004f10| 20 20 54 68 65 20 2d 5b | 73 53 5d 20 6f 70 74 69 | The -[|sS] opti|
|00004f20| 6f 6e 73 20 28 66 6f 72 | 20 73 69 67 6e 61 74 75 |ons (for| signatu|
|00004f30| 72 65 20 6f 72 64 65 72 | 29 20 61 73 73 75 6d 65 |re order|) assume|
|00004f40| 20 74 77 6f 2d 75 70 2c | 20 6c 65 66 74 0a 58 23 | two-up,| left.X#|
|00004f50| 20 74 6f 20 72 69 67 68 | 74 2e 20 20 54 68 65 20 | to righ|t. The |
|00004f60| 2d 6f 20 6f 70 74 69 6f | 6e 20 74 61 6b 65 73 20 |-o optio|n takes |
|00004f70| 61 20 6c 69 73 74 20 6f | 66 20 72 61 6e 67 65 73 |a list o|f ranges|
|00004f80| 2c 20 6c 69 6b 65 20 74 | 68 69 73 3a 0a 58 23 09 |, like t|his:.X#.|
|00004f90| 31 2d 35 20 20 20 20 31 | 2d 31 30 2c 31 31 2d 32 |1-5 1|-10,11-2|
|00004fa0| 30 20 20 20 20 31 31 2d | 2c 31 2d 31 30 0a 58 23 |0 11-|,1-10.X#|
|00004fb0| 20 75 73 61 67 65 3a 20 | 70 61 72 72 20 5b 2d 6f | usage: |parr [-o|
|00004fc0| 20 6c 69 73 74 5d 20 5b | 2d 73 5d 20 5b 2d 53 20 | list] [|-s] [-S |
|00004fd0| 6e 5d 20 5b 66 69 6c 65 | 5d 0a 58 23 0a 58 23 20 |n] [file|].X#.X# |
|00004fe0| 6a 67 72 65 65 6c 79 40 | 63 69 73 2e 6f 68 69 6f |jgreely@|cis.ohio|
|00004ff0| 2d 73 74 61 74 65 2e 65 | 64 75 2c 20 38 39 2f 31 |-state.e|du, 89/1|
|00005000| 30 2f 32 33 0a 58 0a 58 | 24 6f 72 64 65 72 3d 27 |0/23.X.X|$order='|
|00005010| 27 3b 0a 58 24 73 69 67 | 6e 46 6c 61 67 3d 27 27 |';.X$sig|nFlag=''|
|00005020| 3b 0a 58 24 73 69 67 6e | 43 6f 75 6e 74 3d 30 3b |;.X$sign|Count=0;|
|00005030| 0a 58 24 44 45 42 55 47 | 3d 30 3b 0a 58 24 72 61 |.X$DEBUG|=0;.X$ra|
|00005040| 6e 67 65 50 72 69 6e 74 | 3d 30 3b 0a 58 24 54 4d |ngePrint|=0;.X$TM|
|00005050| 50 44 49 52 3d 27 2f 74 | 6d 70 27 3b 0a 58 0a 58 |PDIR='/t|mp';.X.X|
|00005060| 77 68 69 6c 65 20 28 24 | 5f 20 3d 20 24 41 52 47 |while ($|_ = $ARG|
|00005070| 56 5b 30 5d 2c 2f 5e 2d | 2f 29 20 7b 0a 58 09 73 |V[0],/^-|/) {.X.s|
|00005080| 68 69 66 74 3b 0a 58 09 | 6c 61 73 74 20 69 66 20 |hift;.X.|last if |
|00005090| 2f 5e 2d 5c 2d 24 2f 3b | 0a 58 09 2f 5e 2d 6f 2f |/^-\-$/;|.X./^-o/|
|000050a0| 20 26 26 20 28 24 6f 72 | 64 65 72 20 3d 20 73 68 | && ($or|der = sh|
|000050b0| 69 66 74 2c 6e 65 78 74 | 29 3b 0a 58 09 2f 5e 2d |ift,next|);.X./^-|
|000050c0| 53 2f 20 26 26 20 28 24 | 73 69 67 6e 43 6f 75 6e |S/ && ($|signCoun|
|000050d0| 74 20 3d 20 73 68 69 66 | 74 2c 24 73 69 67 6e 46 |t = shif|t,$signF|
|000050e0| 6c 61 67 2b 2b 2c 6e 65 | 78 74 29 3b 0a 58 09 2f |lag++,ne|xt);.X./|
|000050f0| 5e 2d 73 2f 20 26 26 20 | 28 24 73 69 67 6e 46 6c |^-s/ && |($signFl|
|00005100| 61 67 2b 2b 2c 6e 65 78 | 74 29 3b 0a 58 09 2f 5e |ag++,nex|t);.X./^|
|00005110| 2d 64 2f 20 26 26 20 28 | 24 44 45 42 55 47 2b 2b |-d/ && (|$DEBUG++|
|00005120| 2c 6e 65 78 74 29 3b 0a | 58 09 2f 5e 2d 72 2f 20 |,next);.|X./^-r/ |
|00005130| 26 26 20 28 24 72 61 6e | 67 65 50 72 69 6e 74 2b |&& ($ran|gePrint+|
|00005140| 2b 2c 6e 65 78 74 29 3b | 0a 58 09 64 69 65 20 22 |+,next);|.X.die "|
|00005150| 75 73 61 67 65 3a 20 70 | 61 72 72 20 5b 2d 64 5d |usage: p|arr [-d]|
|00005160| 20 5b 2d 72 5d 20 5b 2d | 6f 20 6c 69 73 74 5d 20 | [-r] [-|o list] |
|00005170| 5b 2d 73 5d 20 5b 2d 53 | 20 6e 5d 20 5b 66 69 6c |[-s] [-S| n] [fil|
|00005180| 65 5d 5c 6e 22 3b 0a 58 | 7d 0a 58 69 66 20 28 24 |e]\n";.X|}.Xif ($|
|00005190| 73 69 67 6e 46 6c 61 67 | 20 26 26 20 24 6f 72 64 |signFlag| && $ord|
|000051a0| 65 72 29 20 7b 0a 58 09 | 64 69 65 20 22 70 61 72 |er) {.X.|die "par|
|000051b0| 72 3a 20 2d 73 20 61 6e | 64 20 2d 6f 20 63 61 6e |r: -s an|d -o can|
|000051c0| 6e 6f 74 20 62 65 20 75 | 73 65 64 20 74 6f 67 65 |not be u|sed toge|
|000051d0| 74 68 65 72 5c 6e 22 3b | 0a 58 7d 0a 58 0a 58 24 |ther\n";|.X}.X.X$|
|000051e0| 66 69 6c 65 20 3d 20 22 | 24 54 4d 50 44 49 52 2f |file = "|$TMPDIR/|
|000051f0| 70 24 24 2e 68 65 61 64 | 65 72 22 3b 0a 58 40 66 |p$$.head|er";.X@f|
|00005200| 69 6c 65 73 20 3d 20 28 | 24 66 69 6c 65 29 3b 0a |iles = (|$file);.|
|00005210| 58 24 73 68 65 65 74 3d | 30 3b 0a 58 6f 70 65 6e |X$sheet=|0;.Xopen|
|00005220| 28 66 69 6c 65 2c 22 3e | 24 66 69 6c 65 22 29 20 |(file,">|$file") |
|00005230| 7c 7c 0a 58 20 20 64 69 | 65 20 22 24 66 69 6c 65 |||.X di|e "$file|
|00005240| 3a 20 24 21 2c 20 73 74 | 6f 70 70 65 64 22 3b 0a |: $!, st|opped";.|
|00005250| 58 77 68 69 6c 65 20 28 | 3c 3e 29 20 7b 0a 58 09 |Xwhile (|<>) {.X.|
|00005260| 23 0a 58 09 23 20 68 61 | 63 6b 20 74 6f 20 75 73 |#.X.# ha|ck to us|
|00005270| 65 20 4e 65 58 54 20 50 | 72 65 76 69 65 77 3a 20 |e NeXT P|review: |
|00005280| 73 74 72 69 70 20 6f 6c | 64 20 27 25 25 50 61 67 |strip ol|d '%%Pag|
|00005290| 65 73 3a 27 20 6c 69 6e | 65 73 0a 58 09 23 0a 58 |es:' lin|es.X.#.X|
|000052a0| 09 6e 65 78 74 20 69 66 | 20 2f 5e 25 25 50 61 67 |.next if| /^%%Pag|
|000052b0| 65 73 3a 2f 3b 0a 58 09 | 69 66 20 28 2f 5e 25 25 |es:/;.X.|if (/^%%|
|000052c0| 50 61 67 65 3a 2f 29 20 | 7b 0a 58 09 09 63 6c 6f |Page:/) |{.X..clo|
|000052d0| 73 65 28 66 69 6c 65 29 | 3b 0a 58 09 09 24 73 68 |se(file)|;.X..$sh|
|000052e0| 65 65 74 2b 2b 3b 0a 58 | 09 09 24 66 69 6c 65 20 |eet++;.X|..$file |
|000052f0| 3d 20 22 24 54 4d 50 44 | 49 52 2f 70 24 24 2e 24 |= "$TMPD|IR/p$$.$|
|00005300| 73 68 65 65 74 22 3b 0a | 58 09 09 70 75 73 68 28 |sheet";.|X..push(|
|00005310| 40 66 69 6c 65 73 2c 24 | 66 69 6c 65 29 3b 0a 58 |@files,$|file);.X|
|00005320| 09 09 6f 70 65 6e 28 66 | 69 6c 65 2c 22 3e 24 66 |..open(f|ile,">$f|
|00005330| 69 6c 65 22 29 20 7c 7c | 0a 58 09 09 20 20 64 69 |ile") |||.X.. di|
|00005340| 65 20 22 24 66 69 6c 65 | 3a 20 24 21 2c 20 73 74 |e "$file|: $!, st|
|00005350| 6f 70 70 65 64 22 3b 0a | 58 09 7d 0a 58 09 69 66 |opped";.|X.}.X.if|
|00005360| 20 28 2f 5e 25 25 54 72 | 61 69 6c 65 72 2f 29 20 | (/^%%Tr|ailer/) |
|00005370| 7b 0a 58 09 09 63 6c 6f | 73 65 28 66 69 6c 65 29 |{.X..clo|se(file)|
|00005380| 3b 0a 58 09 09 24 66 69 | 6c 65 20 3d 20 22 24 54 |;.X..$fi|le = "$T|
|00005390| 4d 50 44 49 52 2f 70 24 | 24 2e 74 72 61 69 6c 65 |MPDIR/p$|$.traile|
|000053a0| 72 22 3b 0a 58 09 09 70 | 75 73 68 28 40 66 69 6c |r";.X..p|ush(@fil|
|000053b0| 65 73 2c 24 66 69 6c 65 | 29 3b 0a 58 09 09 6f 70 |es,$file|);.X..op|
|000053c0| 65 6e 28 66 69 6c 65 2c | 22 3e 24 66 69 6c 65 22 |en(file,|">$file"|
|000053d0| 29 20 7c 7c 0a 58 09 09 | 20 20 64 69 65 20 22 24 |) ||.X..| die "$|
|000053e0| 66 69 6c 65 3a 20 24 21 | 2c 20 73 74 6f 70 70 65 |file: $!|, stoppe|
|000053f0| 64 22 3b 0a 58 09 7d 0a | 58 09 70 72 69 6e 74 20 |d";.X.}.|X.print |
|00005400| 66 69 6c 65 20 24 5f 3b | 0a 58 7d 0a 58 63 6c 6f |file $_;|.X}.Xclo|
|00005410| 73 65 28 66 69 6c 65 29 | 3b 0a 58 0a 58 40 6f 72 |se(file)|;.X.X@or|
|00005420| 64 65 72 20 3d 20 28 29 | 3b 0a 58 69 66 20 28 24 |der = ()|;.Xif ($|
|00005430| 6f 72 64 65 72 29 20 7b | 0a 58 09 66 6f 72 65 61 |order) {|.X.forea|
|00005440| 63 68 20 24 72 61 6e 67 | 65 20 28 73 70 6c 69 74 |ch $rang|e (split|
|00005450| 28 2f 2c 2f 2c 24 6f 72 | 64 65 72 29 29 20 7b 0a |(/,/,$or|der)) {.|
|00005460| 58 09 09 28 24 73 74 61 | 72 74 2c 24 73 65 70 2c |X..($sta|rt,$sep,|
|00005470| 24 65 6e 64 29 20 3d 20 | 73 70 6c 69 74 28 2f 28 |$end) = |split(/(|
|00005480| 2d 29 2f 2c 24 72 61 6e | 67 65 29 3b 0a 58 09 09 |-)/,$ran|ge);.X..|
|00005490| 24 73 74 61 72 74 20 3d | 20 31 20 75 6e 6c 65 73 |$start =| 1 unles|
|000054a0| 73 20 24 73 74 61 72 74 | 3b 0a 58 09 09 24 65 6e |s $start|;.X..$en|
|000054b0| 64 20 3d 20 24 73 68 65 | 65 74 20 75 6e 6c 65 73 |d = $she|et unles|
|000054c0| 73 20 24 65 6e 64 3b 0a | 58 09 09 69 66 20 28 24 |s $end;.|X..if ($|
|000054d0| 73 65 70 29 20 7b 0a 58 | 09 09 09 70 75 73 68 28 |sep) {.X|...push(|
|000054e0| 40 6f 72 64 65 72 2c 24 | 73 74 61 72 74 2e 2e 24 |@order,$|start..$|
|000054f0| 65 6e 64 29 3b 0a 58 09 | 09 7d 65 6c 73 65 7b 0a |end);.X.|.}else{.|
|00005500| 58 09 09 09 70 75 73 68 | 28 40 6f 72 64 65 72 2c |X...push|(@order,|
|00005510| 24 73 74 61 72 74 29 3b | 0a 58 09 09 7d 0a 58 09 |$start);|.X..}.X.|
|00005520| 7d 0a 58 7d 65 6c 73 69 | 66 20 28 24 73 69 67 6e |}.X}elsi|f ($sign|
|00005530| 46 6c 61 67 29 20 7b 0a | 58 09 69 66 20 28 21 20 |Flag) {.|X.if (! |
|00005540| 24 73 69 67 6e 43 6f 75 | 6e 74 29 20 7b 0a 58 09 |$signCou|nt) {.X.|
|00005550| 09 24 73 69 67 6e 43 6f | 75 6e 74 20 3d 20 24 73 |.$signCo|unt = $s|
|00005560| 68 65 65 74 3b 0a 58 09 | 09 24 73 69 67 6e 43 6f |heet;.X.|.$signCo|
|00005570| 75 6e 74 20 2b 3d 20 28 | 34 20 2d 20 24 73 68 65 |unt += (|4 - $she|
|00005580| 65 74 20 25 20 34 29 20 | 69 66 20 28 24 73 68 65 |et % 4) |if ($she|
|00005590| 65 74 20 25 20 34 29 3b | 0a 58 09 7d 65 6c 73 65 |et % 4);|.X.}else|
|000055a0| 7b 0a 58 09 09 24 73 69 | 67 6e 43 6f 75 6e 74 20 |{.X..$si|gnCount |
|000055b0| 2a 3d 34 3b 0a 58 09 7d | 0a 58 09 66 6f 72 28 24 |*=4;.X.}|.X.for($|
|000055c0| 62 61 73 65 3d 30 3b 24 | 62 61 73 65 3c 24 73 68 |base=0;$|base<$sh|
|000055d0| 65 65 74 3b 24 62 61 73 | 65 2b 3d 24 73 69 67 6e |eet;$bas|e+=$sign|
|000055e0| 43 6f 75 6e 74 29 20 7b | 0a 58 09 09 40 74 6d 70 |Count) {|.X..@tmp|
|000055f0| 20 3d 20 28 24 73 69 67 | 6e 43 6f 75 6e 74 2f 32 | = ($sig|nCount/2|
|00005600| 2b 24 62 61 73 65 29 3b | 0a 58 09 09 70 75 73 68 |+$base);|.X..push|
|00005610| 28 40 74 6d 70 2c 24 74 | 6d 70 5b 30 5d 2b 31 2c |(@tmp,$t|mp[0]+1,|
|00005620| 24 74 6d 70 5b 30 5d 2b | 32 2c 24 74 6d 70 5b 30 |$tmp[0]+|2,$tmp[0|
|00005630| 5d 2d 31 29 3b 0a 58 09 | 09 77 68 69 6c 65 20 28 |]-1);.X.|.while (|
|00005640| 24 74 6d 70 5b 33 5d 20 | 3e 20 24 62 61 73 65 29 |$tmp[3] |> $base)|
|00005650| 20 7b 0a 58 09 09 09 70 | 75 73 68 28 40 6f 72 64 | {.X...p|ush(@ord|
|00005660| 65 72 2c 40 74 6d 70 29 | 3b 0a 58 09 09 09 40 74 |er,@tmp)|;.X...@t|
|00005670| 6d 70 20 3d 20 28 24 74 | 6d 70 5b 30 5d 2d 32 2c |mp = ($t|mp[0]-2,|
|00005680| 24 74 6d 70 5b 31 5d 2b | 32 2c 24 74 6d 70 5b 32 |$tmp[1]+|2,$tmp[2|
|00005690| 5d 2b 32 2c 24 74 6d 70 | 5b 33 5d 2d 32 29 3b 0a |]+2,$tmp|[3]-2);.|
|000056a0| 58 09 09 7d 0a 58 09 7d | 0a 58 7d 65 6c 73 65 7b |X..}.X.}|.X}else{|
|000056b0| 0a 58 09 40 6f 72 64 65 | 72 20 3d 20 28 31 2e 2e |.X.@orde|r = (1..|
|000056c0| 24 73 68 65 65 74 29 3b | 0a 58 7d 0a 58 0a 58 40 |$sheet);|.X}.X.X@|
|000056d0| 74 6d 70 3d 40 6f 72 64 | 65 72 3b 0a 58 40 6f 72 |tmp=@ord|er;.X@or|
|000056e0| 64 65 72 3d 28 29 3b 0a | 58 66 6f 72 65 61 63 68 |der=();.|Xforeach|
|000056f0| 20 24 70 61 67 65 20 28 | 40 74 6d 70 29 20 7b 0a | $page (|@tmp) {.|
|00005700| 58 09 70 75 73 68 28 40 | 6f 72 64 65 72 2c 24 70 |X.push(@|order,$p|
|00005710| 61 67 65 20 3e 20 24 73 | 68 65 65 74 20 3f 20 22 |age > $s|heet ? "|
|00005720| 42 22 20 3a 20 24 70 61 | 67 65 29 3b 0a 58 7d 0a |B" : $pa|ge);.X}.|
|00005730| 58 0a 58 69 66 20 28 24 | 72 61 6e 67 65 50 72 69 |X.Xif ($|rangePri|
|00005740| 6e 74 29 20 7b 0a 58 09 | 70 72 69 6e 74 20 6a 6f |nt) {.X.|print jo|
|00005750| 69 6e 28 27 2c 27 2c 40 | 6f 72 64 65 72 29 2c 22 |in(',',@|order),"|
|00005760| 5c 6e 22 3b 0a 58 09 75 | 6e 6c 69 6e 6b 20 40 66 |\n";.X.u|nlink @f|
|00005770| 69 6c 65 73 20 75 6e 6c | 65 73 73 20 24 44 45 42 |iles unl|ess $DEB|
|00005780| 55 47 3b 0a 58 09 65 78 | 69 74 28 30 29 3b 0a 58 |UG;.X.ex|it(0);.X|
|00005790| 7d 0a 58 0a 58 6f 70 65 | 6e 28 66 69 6c 65 2c 22 |}.X.Xope|n(file,"|
|000057a0| 24 54 4d 50 44 49 52 2f | 70 24 24 2e 68 65 61 64 |$TMPDIR/|p$$.head|
|000057b0| 65 72 22 29 3b 0a 58 24 | 5f 20 3d 20 3c 66 69 6c |er");.X$|_ = <fil|
|000057c0| 65 3e 3b 0a 58 70 72 69 | 6e 74 20 24 5f 2c 22 25 |e>;.Xpri|nt $_,"%|
|000057d0| 25 50 61 67 65 73 3a 20 | 28 61 74 65 6e 64 29 5c |%Pages: |(atend)\|
|000057e0| 6e 22 3b 0a 58 70 72 69 | 6e 74 20 77 68 69 6c 65 |n";.Xpri|nt while|
|000057f0| 20 3c 66 69 6c 65 3e 3b | 0a 58 63 6c 6f 73 65 28 | <file>;|.Xclose(|
|00005800| 66 69 6c 65 29 3b 0a 58 | 0a 58 66 6f 72 65 61 63 |file);.X|.Xforeac|
|00005810| 68 20 24 70 61 67 65 20 | 28 40 6f 72 64 65 72 29 |h $page |(@order)|
|00005820| 20 7b 0a 58 09 24 63 6f | 75 6e 74 2b 2b 3b 0a 58 | {.X.$co|unt++;.X|
|00005830| 09 70 72 69 6e 74 20 22 | 25 25 50 61 67 65 3a 20 |.print "|%%Page: |
|00005840| 3f 20 24 63 6f 75 6e 74 | 5c 6e 25 25 4f 6c 64 50 |? $count|\n%%OldP|
|00005850| 61 67 65 3a 20 24 70 61 | 67 65 5c 6e 22 3b 0a 58 |age: $pa|ge\n";.X|
|00005860| 09 69 66 20 28 24 70 61 | 67 65 20 65 71 20 22 42 |.if ($pa|ge eq "B|
|00005870| 22 29 20 7b 0a 58 09 09 | 70 72 69 6e 74 20 22 73 |") {.X..|print "s|
|00005880| 68 6f 77 70 61 67 65 5c | 6e 22 3b 0a 58 09 7d 65 |howpage\|n";.X.}e|
|00005890| 6c 73 65 7b 0a 58 09 09 | 6f 70 65 6e 28 66 69 6c |lse{.X..|open(fil|
|000058a0| 65 2c 22 24 54 4d 50 44 | 49 52 2f 70 24 24 2e 24 |e,"$TMPD|IR/p$$.$|
|000058b0| 70 61 67 65 22 29 3b 0a | 58 09 09 77 68 69 6c 65 |page");.|X..while|
|000058c0| 20 28 3c 66 69 6c 65 3e | 29 20 7b 0a 58 09 09 09 | (<file>|) {.X...|
|000058d0| 70 72 69 6e 74 20 75 6e | 6c 65 73 73 20 2f 5e 25 |print un|less /^%|
|000058e0| 25 50 61 67 65 3a 2f 3b | 0a 58 09 09 7d 0a 58 09 |%Page:/;|.X..}.X.|
|000058f0| 09 63 6c 6f 73 65 28 66 | 69 6c 65 29 3b 0a 58 09 |.close(f|ile);.X.|
|00005900| 7d 0a 58 7d 0a 58 6f 70 | 65 6e 28 66 69 6c 65 2c |}.X}.Xop|en(file,|
|00005910| 22 24 54 4d 50 44 49 52 | 2f 70 24 24 2e 74 72 61 |"$TMPDIR|/p$$.tra|
|00005920| 69 6c 65 72 22 29 3b 0a | 58 70 72 69 6e 74 20 77 |iler");.|Xprint w|
|00005930| 68 69 6c 65 20 3c 66 69 | 6c 65 3e 3b 0a 58 63 6c |hile <fi|le>;.Xcl|
|00005940| 6f 73 65 28 66 69 6c 65 | 29 3b 0a 58 70 72 69 6e |ose(file|);.Xprin|
|00005950| 74 20 22 25 25 50 61 67 | 65 73 3a 20 24 63 6f 75 |t "%%Pag|es: $cou|
|00005960| 6e 74 5c 6e 22 3b 0a 58 | 0a 58 75 6e 6c 69 6e 6b |nt\n";.X|.Xunlink|
|00005970| 20 40 66 69 6c 65 73 20 | 75 6e 6c 65 73 73 20 24 | @files |unless $|
|00005980| 44 45 42 55 47 3b 0a 58 | 65 78 69 74 28 30 29 3b |DEBUG;.X|exit(0);|
|00005990| 0a 45 4e 44 5f 4f 46 5f | 46 49 4c 45 0a 69 66 20 |.END_OF_|FILE.if |
|000059a0| 74 65 73 74 20 32 36 36 | 31 20 2d 6e 65 20 60 77 |test 266|1 -ne `w|
|000059b0| 63 20 2d 63 20 3c 27 70 | 61 72 72 27 60 3b 20 74 |c -c <'p|arr'`; t|
|000059c0| 68 65 6e 0a 20 20 20 20 | 65 63 68 6f 20 73 68 61 |hen. |echo sha|
|000059d0| 72 3a 20 5c 22 27 70 61 | 72 72 27 5c 22 20 75 6e |r: \"'pa|rr'\" un|
|000059e0| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|000059f0| 67 20 73 69 7a 65 21 0a | 66 69 0a 63 68 6d 6f 64 |g size!.|fi.chmod|
|00005a00| 20 2b 78 20 27 70 61 72 | 72 27 0a 23 20 65 6e 64 | +x 'par|r'.# end|
|00005a10| 20 6f 66 20 27 70 61 72 | 72 27 0a 66 69 0a 69 66 | of 'par|r'.fi.if|
|00005a20| 20 74 65 73 74 20 2d 66 | 20 27 75 70 2e 72 63 27 | test -f| 'up.rc'|
|00005a30| 20 2d 61 20 22 24 7b 31 | 7d 22 20 21 3d 20 22 2d | -a "${1|}" != "-|
|00005a40| 63 22 20 3b 20 74 68 65 | 6e 20 0a 20 20 65 63 68 |c" ; the|n . ech|
|00005a50| 6f 20 73 68 61 72 3a 20 | 57 69 6c 6c 20 6e 6f 74 |o shar: |Will not|
|00005a60| 20 63 6c 6f 62 62 65 72 | 20 65 78 69 73 74 69 6e | clobber| existin|
|00005a70| 67 20 66 69 6c 65 20 5c | 22 27 75 70 2e 72 63 27 |g file \|"'up.rc'|
|00005a80| 5c 22 0a 65 6c 73 65 0a | 65 63 68 6f 20 73 68 61 |\".else.|echo sha|
|00005a90| 72 3a 20 45 78 74 72 61 | 63 74 69 6e 67 20 5c 22 |r: Extra|cting \"|
|00005aa0| 27 75 70 2e 72 63 27 5c | 22 20 5c 28 33 30 38 36 |'up.rc'\|" \(3086|
|00005ab0| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|00005ac0| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 75 70 2e |d "s/^X/|/" >'up.|
|00005ad0| 72 63 27 20 3c 3c 27 45 | 4e 44 5f 4f 46 5f 46 49 |rc' <<'E|ND_OF_FI|
|00005ae0| 4c 45 27 0a 58 23 20 6a | 67 72 65 65 6c 79 40 63 |LE'.X# j|greely@c|
|00005af0| 69 73 2e 6f 68 69 6f 2d | 73 74 61 74 65 2e 65 64 |is.ohio-|state.ed|
|00005b00| 75 2c 20 38 39 2f 31 30 | 2f 32 33 0a 58 23 0a 58 |u, 89/10|/23.X#.X|
|00005b10| 0a 58 23 20 74 68 69 73 | 20 69 73 20 74 68 65 20 |.X# this| is the |
|00005b20| 6e 6f 72 6d 61 6c 20 70 | 72 6f 6c 6f 67 2c 20 61 |normal p|rolog, a|
|00005b30| 6e 64 20 64 65 66 69 6e | 65 73 20 65 76 65 72 79 |nd defin|es every|
|00005b40| 74 68 69 6e 67 20 75 73 | 65 64 20 62 65 6c 6f 77 |thing us|ed below|
|00005b50| 0a 58 23 0a 58 70 72 6f | 6c 6f 67 3d 0a 58 2f 69 |.X#.Xpro|log=.X/i|
|00005b60| 6e 63 68 20 7b 37 32 20 | 6d 75 6c 7d 20 64 65 66 |nch {72 |mul} def|
|00005b70| 0a 58 2f 6d 6f 76 65 55 | 20 7b 30 20 31 31 20 69 |.X/moveU| {0 11 i|
|00005b80| 6e 63 68 20 74 72 61 6e | 73 6c 61 74 65 7d 20 64 |nch tran|slate} d|
|00005b90| 65 66 0a 58 2f 6d 6f 76 | 65 52 20 7b 38 2e 35 20 |ef.X/mov|eR {8.5 |
|00005ba0| 69 6e 63 68 20 30 20 74 | 72 61 6e 73 6c 61 74 65 |inch 0 t|ranslate|
|00005bb0| 7d 20 64 65 66 0a 58 2f | 6d 6f 76 65 44 20 7b 30 |} def.X/|moveD {0|
|00005bc0| 20 2d 31 31 20 69 6e 63 | 68 20 74 72 61 6e 73 6c | -11 inc|h transl|
|00005bd0| 61 74 65 7d 20 64 65 66 | 0a 58 2f 6d 6f 76 65 4c |ate} def|.X/moveL|
|00005be0| 20 7b 2d 38 2e 35 20 69 | 6e 63 68 20 30 20 74 72 | {-8.5 i|nch 0 tr|
|00005bf0| 61 6e 73 6c 61 74 65 7d | 20 64 65 66 0a 58 2f 72 |anslate}| def.X/r|
|00005c00| 6f 74 52 20 7b 2d 39 30 | 20 72 6f 74 61 74 65 7d |otR {-90| rotate}|
|00005c10| 20 64 65 66 0a 58 2f 72 | 6f 74 4c 20 7b 39 30 20 | def.X/r|otL {90 |
|00005c20| 72 6f 74 61 74 65 7d 20 | 64 65 66 0a 58 2f 64 6f |rotate} |def.X/do|
|00005c30| 53 70 69 72 61 6c 20 7b | 6d 6f 76 65 55 20 6d 6f |Spiral {|moveU mo|
|00005c40| 76 65 52 20 72 6f 74 52 | 20 30 2e 36 37 20 64 75 |veR rotR| 0.67 du|
|00005c50| 70 20 73 63 61 6c 65 7d | 20 64 65 66 0a 58 2f 6d |p scale}| def.X/m|
|00005c60| 6f 76 65 48 55 20 7b 20 | 30 20 35 2e 35 20 69 6e |oveHU { |0 5.5 in|
|00005c70| 63 68 20 74 72 61 6e 73 | 6c 61 74 65 7d 20 64 65 |ch trans|late} de|
|00005c80| 66 0a 58 2f 64 6f 52 65 | 76 53 70 69 72 61 6c 20 |f.X/doRe|vSpiral |
|00005c90| 7b 6d 6f 76 65 48 55 20 | 72 6f 74 4c 20 30 2e 36 |{moveHU |rotL 0.6|
|00005ca0| 37 20 64 75 70 20 73 63 | 61 6c 65 7d 20 64 65 66 |7 dup sc|ale} def|
|00005cb0| 0a 58 2e 0a 58 0a 58 23 | 20 75 70 20 69 73 20 61 |.X..X.X#| up is a|
|00005cc0| 20 73 79 6e 6f 6e 79 6d | 20 66 6f 72 20 74 77 6f | synonym| for two|
|00005cd0| 75 70 2c 20 73 69 6e 63 | 65 20 6d 79 20 63 6f 64 |up, sinc|e my cod|
|00005ce0| 65 20 64 6f 65 73 6e 27 | 74 20 77 6f 72 6b 20 63 |e doesn'|t work c|
|00005cf0| 6f 72 72 65 63 74 6c 79 | 20 66 6f 72 0a 58 23 20 |orrectly| for.X# |
|00005d00| 74 68 65 20 63 61 73 65 | 20 6e 3d 3d 31 2e 20 20 |the case| n==1. |
|00005d10| 55 6e 74 69 6c 20 49 20 | 72 6f 62 75 73 74 69 66 |Until I |robustif|
|00005d20| 79 20 69 74 2c 20 74 68 | 69 73 20 77 69 6c 6c 20 |y it, th|is will |
|00005d30| 73 74 61 79 2e 0a 58 23 | 0a 58 6e 61 6d 65 3d 75 |stay..X#|.Xname=u|
|00005d40| 70 0a 58 6d 6f 64 75 6c | 75 73 3d 32 0a 58 73 63 |p.Xmodul|us=2.Xsc|
|00005d50| 61 6c 65 3d 37 2e 37 35 | 20 69 6e 63 68 20 30 20 |ale=7.75| inch 0 |
|00005d60| 74 72 61 6e 73 6c 61 74 | 65 20 72 6f 74 4c 20 31 |translat|e rotL 1|
|00005d70| 31 20 31 37 20 64 69 76 | 20 64 75 70 20 73 63 61 |1 17 div| dup sca|
|00005d80| 6c 65 0a 58 31 3d 0a 58 | 32 3d 6d 6f 76 65 52 0a |le.X1=.X|2=moveR.|
|00005d90| 58 2e 0a 58 0a 58 6e 61 | 6d 65 3d 32 75 70 0a 58 |X..X.Xna|me=2up.X|
|00005da0| 6d 6f 64 75 6c 75 73 3d | 32 0a 58 73 63 61 6c 65 |modulus=|2.Xscale|
|00005db0| 3d 37 2e 37 35 20 69 6e | 63 68 20 30 20 74 72 61 |=7.75 in|ch 0 tra|
|00005dc0| 6e 73 6c 61 74 65 20 72 | 6f 74 4c 20 31 31 20 31 |nslate r|otL 11 1|
|00005dd0| 37 20 64 69 76 20 64 75 | 70 20 73 63 61 6c 65 0a |7 div du|p scale.|
|00005de0| 58 31 3d 0a 58 32 3d 6d | 6f 76 65 52 0a 58 2e 0a |X1=.X2=m|oveR.X..|
|00005df0| 58 0a 58 23 20 74 77 6f | 2d 75 70 20 77 69 74 68 |X.X# two|-up with|
|00005e00| 20 65 76 65 6e 20 70 61 | 67 65 73 20 72 6f 74 61 | even pa|ges rota|
|00005e10| 74 65 64 2c 20 66 6f 72 | 20 64 6f 75 62 6c 65 2d |ted, for| double-|
|00005e20| 73 69 64 69 6e 67 0a 58 | 23 0a 58 6e 61 6d 65 3d |siding.X|#.Xname=|
|00005e30| 70 75 70 0a 58 6d 6f 64 | 75 6c 75 73 3d 32 0a 58 |pup.Xmod|ulus=2.X|
|00005e40| 65 76 65 6e 3d 6d 6f 76 | 65 55 20 6d 6f 76 65 52 |even=mov|eU moveR|
|00005e50| 20 72 6f 74 52 20 72 6f | 74 52 0a 58 6f 64 64 3d | rotR ro|tR.Xodd=|
|00005e60| 0a 58 73 63 61 6c 65 3d | 37 2e 37 35 20 69 6e 63 |.Xscale=|7.75 inc|
|00005e70| 68 20 30 20 74 72 61 6e | 73 6c 61 74 65 20 72 6f |h 0 tran|slate ro|
|00005e80| 74 4c 20 31 31 20 31 37 | 20 64 69 76 20 64 75 70 |tL 11 17| div dup|
|00005e90| 20 73 63 61 6c 65 0a 58 | 31 3d 0a 58 32 3d 6d 6f | scale.X|1=.X2=mo|
|00005ea0| 76 65 52 0a 58 2e 0a 58 | 0a 58 23 20 6e 6f 74 65 |veR.X..X|.X# note|
|00005eb0| 20 74 68 61 74 20 34 75 | 70 20 69 73 20 73 63 61 | that 4u|p is sca|
|00005ec0| 6c 65 64 20 61 20 62 69 | 74 20 73 6d 61 6c 6c 65 |led a bi|t smalle|
|00005ed0| 72 20 74 68 61 6e 20 79 | 6f 75 20 6d 69 67 68 74 |r than y|ou might|
|00005ee0| 20 74 68 69 6e 6b 2e 20 | 20 49 66 20 49 0a 58 23 | think. | If I.X#|
|00005ef0| 20 6a 75 73 74 20 73 63 | 61 6c 65 64 20 62 79 20 | just sc|aled by |
|00005f00| 2e 35 2c 20 49 27 64 20 | 6c 6f 73 65 20 6d 79 20 |.5, I'd |lose my |
|00005f10| 74 6f 70 20 61 6e 64 20 | 62 6f 74 74 6f 6d 20 65 |top and |bottom e|
|00005f20| 64 67 65 73 20 28 70 72 | 69 6e 74 65 72 0a 58 23 |dges (pr|inter.X#|
|00005f30| 20 6c 69 6d 69 74 61 74 | 69 6f 6e 73 29 0a 58 23 | limitat|ions).X#|
|00005f40| 0a 58 6e 61 6d 65 3d 34 | 75 70 0a 58 6d 6f 64 75 |.Xname=4|up.Xmodu|
|00005f50| 6c 75 73 3d 34 0a 58 73 | 63 61 6c 65 3d 30 2e 32 |lus=4.Xs|cale=0.2|
|00005f60| 31 32 35 20 69 6e 63 68 | 20 30 2e 32 37 35 20 69 |125 inch| 0.275 i|
|00005f70| 6e 63 68 20 74 72 61 6e | 73 6c 61 74 65 20 30 2e |nch tran|slate 0.|
|00005f80| 34 37 35 20 64 75 70 20 | 73 63 61 6c 65 0a 58 31 |475 dup |scale.X1|
|00005f90| 3d 6d 6f 76 65 55 0a 58 | 32 3d 6d 6f 76 65 52 0a |=moveU.X|2=moveR.|
|00005fa0| 58 33 3d 6d 6f 76 65 4c | 20 6d 6f 76 65 44 0a 58 |X3=moveL| moveD.X|
|00005fb0| 34 3d 6d 6f 76 65 52 0a | 58 2e 0a 58 0a 58 23 20 |4=moveR.|X..X.X# |
|00005fc0| 74 68 69 73 20 64 6f 65 | 73 20 61 20 67 72 65 65 |this doe|s a gree|
|00005fd0| 74 69 6e 67 2d 63 61 72 | 64 20 66 6f 72 6d 61 74 |ting-car|d format|
|00005fe0| 2c 20 64 65 73 69 67 6e | 65 64 20 74 6f 20 62 65 |, design|ed to be|
|00005ff0| 20 66 6f 6c 64 65 64 20 | 69 6e 74 6f 0a 58 23 20 | folded |into.X# |
|00006000| 66 6f 75 72 74 68 73 2e | 20 20 49 66 20 79 6f 75 |fourths.| If you|
|00006010| 27 72 65 20 6e 6f 74 20 | 73 75 72 65 20 68 6f 77 |'re not |sure how|
|00006020| 20 69 74 27 73 20 73 75 | 70 70 6f 73 65 64 20 74 | it's su|pposed t|
|00006030| 6f 20 6c 6f 6f 6b 2c 20 | 72 75 6e 3a 0a 58 23 20 |o look, |run:.X# |
|00006040| 20 20 20 6d 61 6b 65 75 | 70 20 34 20 7c 20 75 70 | makeu|p 4 | up|
|00006050| 20 2d 6e 20 63 61 72 64 | 20 7c 20 6c 70 72 0a 58 | -n card| | lpr.X|
|00006060| 23 0a 58 6e 61 6d 65 3d | 63 61 72 64 0a 58 6d 6f |#.Xname=|card.Xmo|
|00006070| 64 75 6c 75 73 3d 34 0a | 58 73 63 61 6c 65 3d 30 |dulus=4.|Xscale=0|
|00006080| 2e 32 31 32 35 20 69 6e | 63 68 20 30 2e 32 37 35 |.2125 in|ch 0.275|
|00006090| 20 69 6e 63 68 20 74 72 | 61 6e 73 6c 61 74 65 20 | inch tr|anslate |
|000060a0| 30 2e 34 37 35 20 64 75 | 70 20 73 63 61 6c 65 0a |0.475 du|p scale.|
|000060b0| 58 31 3d 6d 6f 76 65 55 | 20 6d 6f 76 65 55 20 6d |X1=moveU| moveU m|
|000060c0| 6f 76 65 52 20 72 6f 74 | 52 20 72 6f 74 52 0a 58 |oveR rot|R rotR.X|
|000060d0| 32 3d 6d 6f 76 65 55 20 | 6d 6f 76 65 55 20 6d 6f |2=moveU |moveU mo|
|000060e0| 76 65 52 20 72 6f 74 52 | 20 72 6f 74 52 0a 58 33 |veR rotR| rotR.X3|
|000060f0| 3d 6d 6f 76 65 52 0a 58 | 34 3d 6d 6f 76 65 55 20 |=moveR.X|4=moveU |
|00006100| 6d 6f 76 65 55 20 6d 6f | 76 65 52 20 72 6f 74 52 |moveU mo|veR rotR|
|00006110| 20 72 6f 74 52 0a 58 2e | 0a 58 0a 58 23 20 74 68 | rotR.X.|.X.X# th|
|00006120| 69 73 20 69 73 20 61 62 | 6f 75 74 20 74 68 65 20 |is is ab|out the |
|00006130| 6c 69 6d 69 74 20 66 6f | 72 20 61 20 33 30 30 20 |limit fo|r a 300 |
|00006140| 64 70 69 20 64 65 76 69 | 63 65 2c 20 75 6e 6c 65 |dpi devi|ce, unle|
|00006150| 73 73 20 69 74 27 73 20 | 72 65 61 73 6f 6e 61 62 |ss it's |reasonab|
|00006160| 6c 79 0a 58 23 20 6e 65 | 77 20 61 6e 64 20 79 6f |ly.X# ne|w and yo|
|00006170| 75 20 68 61 76 65 20 67 | 6f 6f 64 20 65 79 65 73 |u have g|ood eyes|
|00006180| 2e 20 20 49 20 6c 69 6b | 65 20 69 74 20 61 74 20 |. I lik|e it at |
|00006190| 34 30 30 20 64 70 69 2e | 0a 58 23 0a 58 6e 61 6d |400 dpi.|.X#.Xnam|
|000061a0| 65 3d 36 75 70 0a 58 6d | 6f 64 75 6c 75 73 3d 36 |e=6up.Xm|odulus=6|
|000061b0| 0a 58 73 63 61 6c 65 3d | 30 2e 32 35 20 69 6e 63 |.Xscale=|0.25 inc|
|000061c0| 68 20 30 2e 37 35 20 69 | 6e 63 68 20 74 72 61 6e |h 0.75 i|nch tran|
|000061d0| 73 6c 61 74 65 20 72 6f | 74 4c 20 34 20 31 31 20 |slate ro|tL 4 11 |
|000061e0| 64 69 76 20 64 75 70 20 | 73 63 61 6c 65 0a 58 31 |div dup |scale.X1|
|000061f0| 3d 6d 6f 76 65 44 0a 58 | 32 3d 6d 6f 76 65 52 0a |=moveD.X|2=moveR.|
|00006200| 58 33 3d 6d 6f 76 65 52 | 0a 58 34 3d 6d 6f 76 65 |X3=moveR|.X4=move|
|00006210| 44 20 6d 6f 76 65 4c 20 | 6d 6f 76 65 4c 0a 58 35 |D moveL |moveL.X5|
|00006220| 3d 6d 6f 76 65 52 0a 58 | 36 3d 6d 6f 76 65 52 0a |=moveR.X|6=moveR.|
|00006230| 58 2e 0a 58 0a 58 23 20 | 74 68 69 73 20 69 73 20 |X..X.X# |this is |
|00006240| 61 20 62 69 74 20 74 6f | 6f 20 66 61 72 20 66 6f |a bit to|o far fo|
|00006250| 72 20 63 61 73 75 61 6c | 20 72 65 61 64 69 6e 67 |r casual| reading|
|00006260| 2e 20 20 49 74 27 73 20 | 65 6e 74 65 72 69 6e 67 |. It's |entering|
|00006270| 20 6d 61 67 6e 69 66 79 | 69 6e 67 0a 58 23 20 67 | magnify|ing.X# g|
|00006280| 6c 61 73 73 20 74 65 72 | 72 69 74 6f 72 79 2c 20 |lass ter|ritory, |
|00006290| 77 68 69 63 68 20 69 73 | 20 62 61 64 2c 20 75 6e |which is| bad, un|
|000062a0| 6c 65 73 73 20 79 6f 75 | 20 6e 65 65 64 20 74 6f |less you| need to|
|000062b0| 20 63 61 72 72 79 20 6c | 6f 74 73 20 6f 66 20 52 | carry l|ots of R|
|000062c0| 46 43 73 0a 58 23 20 61 | 72 6f 75 6e 64 2e 0a 58 |FCs.X# a|round..X|
|000062d0| 23 0a 58 6e 61 6d 65 3d | 38 75 70 0a 58 6d 6f 64 |#.Xname=|8up.Xmod|
|000062e0| 75 6c 75 73 3d 38 0a 58 | 73 63 61 6c 65 3d 30 2e |ulus=8.X|scale=0.|
|000062f0| 37 20 69 6e 63 68 20 30 | 20 74 72 61 6e 73 6c 61 |7 inch 0| transla|
|00006300| 74 65 20 72 6f 74 4c 20 | 31 31 20 33 34 20 64 69 |te rotL |11 34 di|
|00006310| 76 20 64 75 70 20 73 63 | 61 6c 65 0a 58 31 3d 6d |v dup sc|ale.X1=m|
|00006320| 6f 76 65 44 0a 58 32 3d | 6d 6f 76 65 52 0a 58 33 |oveD.X2=|moveR.X3|
|00006330| 3d 6d 6f 76 65 52 0a 58 | 34 3d 6d 6f 76 65 52 0a |=moveR.X|4=moveR.|
|00006340| 58 35 3d 6d 6f 76 65 44 | 20 6d 6f 76 65 4c 20 6d |X5=moveD| moveL m|
|00006350| 6f 76 65 4c 20 6d 6f 76 | 65 4c 0a 58 36 3d 6d 6f |oveL mov|eL.X6=mo|
|00006360| 76 65 52 0a 58 37 3d 6d | 6f 76 65 52 0a 58 38 3d |veR.X7=m|oveR.X8=|
|00006370| 6d 6f 76 65 52 0a 58 2e | 0a 58 0a 58 23 20 53 74 |moveR.X.|.X.X# St|
|00006380| 65 76 65 20 52 6f 6d 69 | 67 27 73 20 63 6f 6e 74 |eve Romi|g's cont|
|00006390| 72 69 62 75 74 69 6f 6e | 20 74 6f 20 65 76 69 6c |ribution| to evil|
|000063a0| 20 50 6f 73 74 53 63 72 | 69 70 74 20 68 61 63 6b | PostScr|ipt hack|
|000063b0| 69 6e 67 2e 20 20 54 6f | 20 73 65 65 20 77 68 61 |ing. To| see wha|
|000063c0| 74 0a 58 23 20 69 74 20 | 64 6f 65 73 2c 20 72 75 |t.X# it |does, ru|
|000063d0| 6e 3a 0a 58 23 20 20 20 | 20 6d 61 6b 65 75 70 20 |n:.X# | makeup |
|000063e0| 31 30 20 7c 20 75 70 20 | 2d 6e 20 73 70 69 72 61 |10 | up |-n spira|
|000063f0| 6c 20 7c 20 6c 70 72 0a | 58 23 0a 58 6e 61 6d 65 |l | lpr.|X#.Xname|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.