home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / compsrcs / misc / volume10 / roff17 < prev    next >
SHell self-extracting ARchive  |  1991-08-27  |  5.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: SHell self-extracting ARchive (archive/shar).

You can browse this item here: roff17

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file ASCII text default
100% TrID E-Mail message (Var. 2) 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)
100% xdgMime application/mbox default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 64 65 63 | 77 72 6c 21 73 68 6c 75 |From dec|wrl!shlu|
|00000010| 6d 70 2e 6e 61 63 2e 64 | 65 63 2e 63 6f 6d 21 64 |mp.nac.d|ec.com!d|
|00000020| 65 63 75 61 63 21 68 61 | 76 65 6e 21 61 70 6c 63 |ecuac!ha|ven!aplc|
|00000030| 65 6e 21 75 75 6e 65 74 | 21 61 6c 6c 62 65 72 79 |en!uunet|!allbery|
|00000040| 20 54 75 65 20 4a 61 6e | 20 33 30 20 30 38 3a 34 | Tue Jan| 30 08:4|
|00000050| 32 3a 33 35 20 50 53 54 | 20 31 39 39 30 0a 41 72 |2:35 PST| 1990.Ar|
|00000060| 74 69 63 6c 65 20 31 32 | 38 37 20 6f 66 20 63 6f |ticle 12|87 of co|
|00000070| 6d 70 2e 73 6f 75 72 63 | 65 73 2e 6d 69 73 63 3a |mp.sourc|es.misc:|
|00000080| 0a 50 61 74 68 3a 20 64 | 65 63 77 72 6c 21 73 68 |.Path: d|ecwrl!sh|
|00000090| 6c 75 6d 70 2e 6e 61 63 | 2e 64 65 63 2e 63 6f 6d |lump.nac|.dec.com|
|000000a0| 21 64 65 63 75 61 63 21 | 68 61 76 65 6e 21 61 70 |!decuac!|haven!ap|
|000000b0| 6c 63 65 6e 21 75 75 6e | 65 74 21 61 6c 6c 62 65 |lcen!uun|et!allbe|
|000000c0| 72 79 0a 46 72 6f 6d 3a | 20 62 72 69 61 6e 40 61 |ry.From:| brian@a|
|000000d0| 70 74 2e 55 55 43 50 20 | 28 42 72 69 61 6e 20 4c |pt.UUCP |(Brian L|
|000000e0| 69 74 7a 69 6e 67 65 72 | 29 0a 4e 65 77 73 67 72 |itzinger|).Newsgr|
|000000f0| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 73 6f 75 72 63 |oups: co|mp.sourc|
|00000100| 65 73 2e 6d 69 73 63 0a | 53 75 62 6a 65 63 74 3a |es.misc.|Subject:|
|00000110| 20 76 31 30 69 30 32 34 | 3a 20 72 6f 66 66 20 76 | v10i024|: roff v|
|00000120| 65 72 73 69 6f 6e 20 31 | 2e 37 0a 4d 65 73 73 61 |ersion 1|.7.Messa|
|00000130| 67 65 2d 49 44 3a 20 3c | 37 37 31 35 39 40 75 75 |ge-ID: <|77159@uu|
|00000140| 6e 65 74 2e 55 55 2e 4e | 45 54 3e 0a 44 61 74 65 |net.UU.N|ET>.Date|
|00000150| 3a 20 32 30 20 4a 61 6e | 20 39 30 20 30 31 3a 31 |: 20 Jan| 90 01:1|
|00000160| 35 3a 31 38 20 47 4d 54 | 0a 53 65 6e 64 65 72 3a |5:18 GMT|.Sender:|
|00000170| 20 61 6c 6c 62 65 72 79 | 40 75 75 6e 65 74 2e 55 | allbery|@uunet.U|
|00000180| 55 2e 4e 45 54 0a 4f 72 | 67 61 6e 69 7a 61 74 69 |U.NET.Or|ganizati|
|00000190| 6f 6e 3a 20 41 50 54 20 | 54 65 63 68 6e 6f 6c 6f |on: APT |Technolo|
|000001a0| 67 79 2c 20 49 6e 63 2e | 20 20 53 61 6e 20 4a 6f |gy, Inc.| San Jo|
|000001b0| 73 65 2c 20 43 41 2c 20 | 20 55 53 41 0a 4c 69 6e |se, CA, | USA.Lin|
|000001c0| 65 73 3a 20 31 37 32 0a | 41 70 70 72 6f 76 65 64 |es: 172.|Approved|
|000001d0| 3a 20 61 6c 6c 62 65 72 | 79 40 75 75 6e 65 74 2e |: allber|y@uunet.|
|000001e0| 55 55 2e 4e 45 54 20 28 | 42 72 61 6e 64 6f 6e 20 |UU.NET (|Brandon |
|000001f0| 53 2e 20 41 6c 6c 62 65 | 72 79 20 2d 20 63 6f 6d |S. Allbe|ry - com|
|00000200| 70 2e 73 6f 75 72 63 65 | 73 2e 6d 69 73 63 29 0a |p.source|s.misc).|
|00000210| 0a 50 6f 73 74 69 6e 67 | 2d 6e 75 6d 62 65 72 3a |.Posting|-number:|
|00000220| 20 56 6f 6c 75 6d 65 20 | 31 30 2c 20 49 73 73 75 | Volume |10, Issu|
|00000230| 65 20 32 34 0a 53 75 62 | 6d 69 74 74 65 64 2d 62 |e 24.Sub|mitted-b|
|00000240| 79 3a 20 62 72 69 61 6e | 40 61 70 74 2e 55 55 43 |y: brian|@apt.UUC|
|00000250| 50 20 28 42 72 69 61 6e | 20 4c 69 74 7a 69 6e 67 |P (Brian| Litzing|
|00000260| 65 72 29 0a 41 72 63 68 | 69 76 65 2d 6e 61 6d 65 |er).Arch|ive-name|
|00000270| 3a 20 72 6f 66 66 31 37 | 0a 0a 5b 3f 3f 3f 20 20 |: roff17|..[??? |
|00000280| 2b 2b 62 73 61 5d 0a 0a | 59 65 74 20 61 6e 6f 74 |++bsa]..|Yet anot|
|00000290| 68 65 72 20 61 62 73 6f | 6c 75 74 65 6c 79 20 75 |her abso|lutely u|
|000002a0| 73 65 6c 65 73 73 20 70 | 72 6f 67 72 61 6d 2e 20 |seless p|rogram. |
|000002b0| 20 4a 75 73 74 20 2f 62 | 69 6e 2f 72 6d 20 72 6f | Just /b|in/rm ro|
|000002c0| 66 66 2e 73 68 61 72 0a | 61 6e 64 20 79 6f 75 20 |ff.shar.|and you |
|000002d0| 6c 69 76 65 20 61 20 6d | 75 63 68 20 62 65 74 74 |live a m|uch bett|
|000002e0| 65 72 20 6c 69 66 65 2e | 0a 0a 4d 61 79 62 65 20 |er life.|..Maybe |
|000002f0| 77 65 20 73 68 6f 75 6c | 64 20 67 65 74 20 61 20 |we shoul|d get a |
|00000300| 6e 65 77 20 6d 6f 64 65 | 72 61 74 6f 72 20 66 6f |new mode|rator fo|
|00000310| 72 20 74 68 69 73 20 67 | 72 6f 75 70 2e 20 38 2d |r this g|roup. 8-|
|00000320| 29 0a 0a 54 68 69 73 20 | 69 73 20 61 6e 20 69 6d |)..This |is an im|
|00000330| 70 72 6f 76 65 64 20 76 | 65 72 73 69 6f 6e 20 6f |proved v|ersion o|
|00000340| 66 20 74 68 65 20 72 6f | 66 66 20 73 63 72 69 70 |f the ro|ff scrip|
|00000350| 74 20 49 20 77 72 6f 74 | 65 2e 20 20 49 74 20 68 |t I wrot|e. It h|
|00000360| 61 73 0a 62 65 65 6e 20 | 65 6e 68 61 6e 63 65 64 |as.been |enhanced|
|00000370| 20 62 79 20 63 6f 6e 74 | 72 69 62 75 74 69 6f 6e | by cont|ribution|
|00000380| 73 20 66 72 6f 6d 20 72 | 6f 66 66 20 75 73 65 72 |s from r|off user|
|00000390| 73 2e 20 28 41 73 20 68 | 61 72 64 20 61 73 20 69 |s. (As h|ard as i|
|000003a0| 74 0a 6d 61 79 20 62 65 | 20 74 6f 20 62 65 6c 69 |t.may be| to beli|
|000003b0| 65 76 65 20 73 6f 6d 65 | 6f 6e 65 20 61 63 74 75 |eve some|one actu|
|000003c0| 61 6c 6c 79 20 66 6f 75 | 6e 64 20 63 6f 64 65 20 |ally fou|nd code |
|000003d0| 62 79 20 6d 65 20 75 73 | 65 66 75 6c 29 0a 0a 72 |by me us|eful)..r|
|000003e0| 6f 66 66 2c 20 69 66 20 | 79 6f 75 20 63 61 72 65 |off, if |you care|
|000003f0| 2c 20 6c 65 74 73 20 79 | 6f 75 20 65 6e 63 6f 64 |, lets y|ou encod|
|00000400| 65 20 74 68 65 20 66 69 | 6c 74 65 72 73 20 74 68 |e the fi|lters th|
|00000410| 61 74 20 61 20 74 72 6f | 66 66 20 66 69 6c 65 0a |at a tro|ff file.|
|00000420| 6d 75 73 74 20 62 65 20 | 70 61 73 73 65 64 20 74 |must be |passed t|
|00000430| 68 72 6f 75 67 68 20 74 | 6f 20 62 65 20 70 72 69 |hrough t|o be pri|
|00000440| 6e 74 65 64 20 69 6e 74 | 6f 20 74 68 65 20 66 69 |nted int|o the fi|
|00000450| 6c 65 20 69 74 73 65 6c | 66 2e 20 20 54 68 75 73 |le itsel|f. Thus|
|00000460| 0a 79 6f 75 20 77 6f 6e | 27 74 20 68 61 76 65 20 |.you won|'t have |
|00000470| 74 6f 20 72 65 6d 65 6d | 62 65 72 20 69 66 20 74 |to remem|ber if t|
|00000480| 68 65 20 64 6f 63 75 6d | 65 6e 74 20 72 65 71 75 |he docum|ent requ|
|00000490| 69 72 65 73 20 70 69 63 | 2c 20 6f 72 20 74 62 6c |ires pic|, or tbl|
|000004a0| 2c 0a 6f 72 20 70 69 63 | 20 61 6e 64 20 74 62 6c |,.or pic| and tbl|
|000004b0| 20 61 6e 64 20 67 72 61 | 70 2c 20 61 6e 64 20 73 | and gra|p, and s|
|000004c0| 6f 20 6f 6e 2e 0a 0a 3c | 3e 20 20 42 72 69 61 6e |o on...<|> Brian|
|000004d0| 20 4c 69 74 7a 69 6e 67 | 65 72 20 40 20 41 50 54 | Litzing|er @ APT|
|000004e0| 20 54 65 63 68 6e 6f 6c | 6f 67 79 20 49 6e 63 2e | Technol|ogy Inc.|
|000004f0| 2c 20 53 61 6e 20 4a 6f | 73 65 2c 20 43 41 0a 3c |, San Jo|se, CA.<|
|00000500| 3e 20 20 55 55 43 50 3a | 20 20 7b 61 70 70 6c 65 |> UUCP:| {apple|
|00000510| 2c 73 75 6e 2c 70 79 72 | 61 6d 69 64 7d 21 64 61 |,sun,pyr|amid}!da|
|00000520| 76 65 72 21 61 70 74 21 | 62 72 69 61 6e 20 20 20 |ver!apt!|brian |
|00000530| 20 62 72 69 61 6e 40 61 | 70 74 2e 55 55 43 50 0a | brian@a|pt.UUCP.|
|00000540| 3c 3e 20 20 56 4f 49 43 | 45 3a 20 34 30 38 20 33 |<> VOIC|E: 408 3|
|00000550| 37 30 20 39 30 37 37 20 | 20 20 20 20 20 46 41 58 |70 9077 | FAX|
|00000560| 3a 20 34 30 38 20 33 37 | 30 20 39 32 39 31 0a 0a |: 408 37|0 9291..|
|00000570| 23 21 20 2f 62 69 6e 2f | 73 68 0a 23 20 54 68 69 |#! /bin/|sh.# Thi|
|00000580| 73 20 69 73 20 61 20 73 | 68 65 6c 6c 20 61 72 63 |s is a s|hell arc|
|00000590| 68 69 76 65 2e 20 20 52 | 65 6d 6f 76 65 20 61 6e |hive. R|emove an|
|000005a0| 79 74 68 69 6e 67 20 62 | 65 66 6f 72 65 20 74 68 |ything b|efore th|
|000005b0| 69 73 20 6c 69 6e 65 2c | 20 74 68 65 6e 20 75 6e |is line,| then un|
|000005c0| 70 61 63 6b 0a 23 20 69 | 74 20 62 79 20 73 61 76 |pack.# i|t by sav|
|000005d0| 69 6e 67 20 69 74 20 69 | 6e 74 6f 20 61 20 66 69 |ing it i|nto a fi|
|000005e0| 6c 65 20 61 6e 64 20 74 | 79 70 69 6e 67 20 22 73 |le and t|yping "s|
|000005f0| 68 20 66 69 6c 65 22 2e | 20 20 54 6f 20 6f 76 65 |h file".| To ove|
|00000600| 72 77 72 69 74 65 20 65 | 78 69 73 74 69 6e 67 0a |rwrite e|xisting.|
|00000610| 23 20 66 69 6c 65 73 2c | 20 74 79 70 65 20 22 73 |# files,| type "s|
|00000620| 68 20 66 69 6c 65 20 2d | 63 22 2e 20 20 59 6f 75 |h file -|c". You|
|00000630| 20 63 61 6e 20 61 6c 73 | 6f 20 66 65 65 64 20 74 | can als|o feed t|
|00000640| 68 69 73 20 61 73 20 73 | 74 61 6e 64 61 72 64 20 |his as s|tandard |
|00000650| 69 6e 70 75 74 20 76 69 | 61 0a 23 20 75 6e 73 68 |input vi|a.# unsh|
|00000660| 61 72 2c 20 6f 72 20 62 | 79 20 74 79 70 69 6e 67 |ar, or b|y typing|
|00000670| 20 22 73 68 20 3c 66 69 | 6c 65 22 2c 20 65 2e 67 | "sh <fi|le", e.g|
|00000680| 2e 2e 20 20 49 66 20 74 | 68 69 73 20 61 72 63 68 |.. If t|his arch|
|00000690| 69 76 65 20 69 73 20 63 | 6f 6d 70 6c 65 74 65 2c |ive is c|omplete,|
|000006a0| 20 79 6f 75 0a 23 20 77 | 69 6c 6c 20 73 65 65 20 | you.# w|ill see |
|000006b0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 6d 65 |the foll|owing me|
|000006c0| 73 73 61 67 65 20 61 74 | 20 74 68 65 20 65 6e 64 |ssage at| the end|
|000006d0| 3a 0a 23 09 09 22 45 6e | 64 20 6f 66 20 73 68 65 |:.#.."En|d of she|
|000006e0| 6c 6c 20 61 72 63 68 69 | 76 65 2e 22 0a 23 20 43 |ll archi|ve.".# C|
|000006f0| 6f 6e 74 65 6e 74 73 3a | 20 20 52 45 41 44 4d 45 |ontents:| README|
|00000700| 20 72 6f 66 66 0a 23 20 | 57 72 61 70 70 65 64 20 | roff.# |Wrapped |
|00000710| 62 79 20 62 72 69 61 6e | 40 61 70 74 20 6f 6e 20 |by brian|@apt on |
|00000720| 57 65 64 20 4a 61 6e 20 | 31 37 20 30 30 3a 32 39 |Wed Jan |17 00:29|
|00000730| 3a 34 35 20 31 39 39 30 | 0a 50 41 54 48 3d 2f 62 |:45 1990|.PATH=/b|
|00000740| 69 6e 3a 2f 75 73 72 2f | 62 69 6e 3a 2f 75 73 72 |in:/usr/|bin:/usr|
|00000750| 2f 75 63 62 20 3b 20 65 | 78 70 6f 72 74 20 50 41 |/ucb ; e|xport PA|
|00000760| 54 48 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 52 |TH.if te|st -f 'R|
|00000770| 45 41 44 4d 45 27 20 2d | 61 20 22 24 7b 31 7d 22 |EADME' -|a "${1}"|
|00000780| 20 21 3d 20 22 2d 63 22 | 20 3b 20 74 68 65 6e 20 | != "-c"| ; then |
|00000790| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 57 69 |. echo |shar: Wi|
|000007a0| 6c 6c 20 6e 6f 74 20 63 | 6c 6f 62 62 65 72 20 65 |ll not c|lobber e|
|000007b0| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 5c 22 27 |xisting |file \"'|
|000007c0| 52 45 41 44 4d 45 27 5c | 22 0a 65 6c 73 65 0a 65 |README'\|".else.e|
|000007d0| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|000007e0| 74 69 6e 67 20 5c 22 27 | 52 45 41 44 4d 45 27 5c |ting \"'|README'\|
|000007f0| 22 20 5c 28 32 30 30 37 | 20 63 68 61 72 61 63 74 |" \(2007| charact|
|00000800| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|00000810| 2f 22 20 3e 27 52 45 41 | 44 4d 45 27 20 3c 3c 27 |/" >'REA|DME' <<'|
|00000820| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 27 0a 58 54 68 |END_OF_F|ILE'.XTh|
|00000830| 69 73 20 69 73 20 76 65 | 72 73 69 6f 6e 20 31 2e |is is ve|rsion 1.|
|00000840| 37 20 6f 66 20 72 6f 66 | 66 2e 0a 58 0a 58 49 74 |7 of rof|f..X.XIt|
|00000850| 20 69 6e 63 6f 72 70 6f | 72 61 74 65 73 20 73 6f | incorpo|rates so|
|00000860| 6d 65 20 6e 65 77 20 66 | 65 61 74 75 72 65 73 20 |me new f|eatures |
|00000870| 74 68 61 74 20 77 65 72 | 65 20 63 6f 6e 74 72 69 |that wer|e contri|
|00000880| 62 75 74 65 64 20 62 79 | 20 6f 74 68 65 72 0a 58 |buted by| other.X|
|00000890| 75 73 65 72 27 73 20 6f | 66 20 72 6f 66 66 2e 0a |user's o|f roff..|
|000008a0| 58 0a 58 72 6f 66 66 20 | 69 73 20 61 20 73 63 72 |X.Xroff |is a scr|
|000008b0| 69 70 74 20 74 68 61 74 | 20 61 6c 6c 6f 77 73 20 |ipt that| allows |
|000008c0| 79 6f 75 20 74 6f 20 65 | 6e 63 6f 64 65 20 74 68 |you to e|ncode th|
|000008d0| 65 20 66 69 6c 74 65 72 | 73 20 74 68 61 74 20 61 |e filter|s that a|
|000008e0| 20 74 72 6f 66 66 0a 58 | 66 69 6c 65 20 6d 75 73 | troff.X|file mus|
|000008f0| 74 20 62 65 20 70 61 73 | 73 65 64 20 74 68 72 6f |t be pas|sed thro|
|00000900| 75 67 68 20 61 6c 6f 6e | 67 20 77 69 74 68 20 77 |ugh alon|g with w|
|00000910| 68 69 63 68 20 6d 61 63 | 72 6f 20 70 61 63 6b 61 |hich mac|ro packa|
|00000920| 67 65 73 20 74 6f 20 75 | 73 65 0a 58 69 6e 20 74 |ges to u|se.Xin t|
|00000930| 68 65 20 64 6f 63 75 6d | 65 6e 74 20 66 69 6c 65 |he docum|ent file|
|00000940| 2e 0a 58 0a 58 54 6f 20 | 75 73 65 20 72 6f 66 66 |..X.XTo |use roff|
|00000950| 20 79 6f 75 20 73 69 6d | 70 6c 79 20 61 64 64 20 | you sim|ply add |
|00000960| 61 20 72 6f 66 66 20 63 | 6f 6d 6d 61 6e 64 20 6c |a roff c|ommand l|
|00000970| 69 6e 65 20 61 73 20 74 | 68 65 20 66 69 72 73 74 |ine as t|he first|
|00000980| 20 6c 69 6e 65 20 6f 66 | 0a 58 79 6f 75 72 20 64 | line of|.Xyour d|
|00000990| 6f 63 75 6d 65 6e 74 20 | 66 69 6c 65 2e 20 20 54 |ocument |file. T|
|000009a0| 68 65 6e 20 77 68 65 6e | 20 79 6f 75 20 77 69 73 |hen when| you wis|
|000009b0| 68 20 74 6f 20 70 72 69 | 6e 74 20 6f 75 74 20 74 |h to pri|nt out t|
|000009c0| 68 65 20 64 6f 63 75 6d | 65 6e 74 0a 58 79 6f 75 |he docum|ent.Xyou|
|000009d0| 20 63 61 6e 20 73 69 6d | 70 6c 79 20 65 6e 74 65 | can sim|ply ente|
|000009e0| 72 0a 58 0a 58 20 20 20 | 20 72 6f 66 66 20 66 69 |r.X.X | roff fi|
|000009f0| 6c 65 6e 61 6d 65 0a 58 | 0a 58 72 6f 66 66 20 77 |lename.X|.Xroff w|
|00000a00| 69 6c 6c 20 67 65 6e 65 | 72 61 74 65 20 74 68 65 |ill gene|rate the|
|00000a10| 20 63 6f 72 72 65 63 74 | 20 63 6f 6d 6d 61 6e 64 | correct| command|
|00000a20| 20 73 74 72 65 61 6d 20 | 74 6f 20 70 72 69 6e 74 | stream |to print|
|00000a30| 20 74 68 65 20 66 69 6c | 65 2e 0a 58 0a 58 74 68 | the fil|e..X.Xth|
|00000a40| 65 20 72 6f 66 66 20 63 | 6f 6d 6d 61 6e 64 20 6c |e roff c|ommand l|
|00000a50| 69 6e 65 20 69 73 20 62 | 61 73 69 63 61 6c 6c 79 |ine is b|asically|
|00000a60| 20 61 20 6c 69 6e 65 20 | 6f 66 20 74 65 78 74 20 | a line |of text |
|00000a70| 74 68 61 74 20 69 73 20 | 70 61 73 73 65 64 20 74 |that is |passed t|
|00000a80| 6f 0a 58 65 76 61 6c 28 | 31 29 2e 20 20 49 74 73 |o.Xeval(|1). Its|
|00000a90| 20 66 6f 72 6d 61 74 20 | 69 73 20 61 73 20 66 6f | format |is as fo|
|00000aa0| 6c 6c 6f 77 73 3a 0a 58 | 0a 58 2e 5c 22 20 65 78 |llows:.X|.X.\" ex|
|00000ab0| 65 63 20 74 62 6c 20 7c | 20 70 69 63 20 7c 20 65 |ec tbl || pic | e|
|00000ac0| 72 6f 66 66 20 2d 6d 6d | 0a 58 0a 58 74 68 65 20 |roff -mm|.X.Xthe |
|00000ad0| 27 2e 5c 22 27 20 69 73 | 20 61 20 74 72 6f 66 66 |'.\"' is| a troff|
|00000ae0| 2f 6e 72 6f 66 66 20 63 | 6f 6d 6d 65 6e 74 20 64 |/nroff c|omment d|
|00000af0| 65 6c 69 6d 65 74 65 72 | 2e 20 20 54 68 65 20 27 |elimeter|. The '|
|00000b00| 65 78 65 63 27 20 68 65 | 6c 70 73 20 69 64 65 6e |exec' he|lps iden|
|00000b10| 74 69 66 79 0a 58 74 68 | 69 73 20 6c 69 6e 65 20 |tify.Xth|is line |
|00000b20| 61 73 20 61 20 72 6f 66 | 66 20 63 6f 6d 6d 61 6e |as a rof|f comman|
|00000b30| 64 20 6c 69 6e 65 2e 0a | 58 0a 58 74 68 65 20 72 |d line..|X.Xthe r|
|00000b40| 65 73 74 20 6f 66 20 74 | 68 65 20 6c 69 6e 65 20 |est of t|he line |
|00000b50| 69 73 20 74 68 65 20 66 | 69 6c 74 65 72 73 2c 20 |is the f|ilters, |
|00000b60| 70 61 63 6b 61 67 65 73 | 2c 20 61 6e 64 20 6d 61 |packages|, and ma|
|00000b70| 63 72 6f 73 20 74 68 61 | 74 20 74 68 65 0a 58 64 |cros tha|t the.Xd|
|00000b80| 6f 63 75 6d 65 6e 74 20 | 66 69 6c 65 20 73 68 6f |ocument |file sho|
|00000b90| 75 6c 64 20 62 65 20 70 | 61 73 73 65 64 20 74 68 |uld be p|assed th|
|00000ba0| 72 6f 75 67 68 2e 20 20 | 4f 74 68 65 72 20 65 78 |rough. |Other ex|
|00000bb0| 61 6d 70 6c 65 73 20 61 | 72 65 3a 0a 58 0a 58 2e |amples a|re:.X.X.|
|00000bc0| 5c 22 20 65 78 65 63 20 | 65 72 6f 66 66 0a 58 0a |\" exec |eroff.X.|
|00000bd0| 58 2e 5c 22 20 65 78 65 | 63 20 74 62 6c 20 7c 20 |X.\" exe|c tbl | |
|00000be0| 65 72 6f 66 66 20 2d 6d | 6d 20 2d 6d 61 70 74 0a |eroff -m|m -mapt.|
|00000bf0| 58 0a 58 49 66 20 79 6f | 75 20 6c 6f 6f 6b 20 61 |X.XIf yo|u look a|
|00000c00| 74 20 74 68 65 20 72 6f | 66 66 20 73 63 72 69 70 |t the ro|ff scrip|
|00000c10| 74 20 79 6f 75 20 77 69 | 6c 6c 20 6e 6f 74 69 63 |t you wi|ll notic|
|00000c20| 65 20 74 68 61 74 20 77 | 65 20 73 74 72 69 70 20 |e that w|e strip |
|00000c30| 6f 66 66 20 74 68 65 0a | 58 66 69 72 73 74 20 6c |off the.|Xfirst l|
|00000c40| 69 6e 65 20 6f 66 20 74 | 68 65 20 64 6f 63 75 6d |ine of t|he docum|
|00000c50| 65 6e 74 20 66 69 6c 65 | 20 28 74 68 65 20 72 6f |ent file| (the ro|
|00000c60| 66 66 20 63 6f 6d 6d 61 | 6e 64 20 6c 69 6e 65 29 |ff comma|nd line)|
|00000c70| 20 62 65 66 6f 72 65 20 | 77 65 0a 58 70 69 70 65 | before |we.Xpipe|
|00000c80| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 20 74 68 | the doc|ument th|
|00000c90| 72 6f 75 67 68 20 74 68 | 65 20 72 65 73 74 20 6f |rough th|e rest o|
|00000ca0| 66 20 74 68 65 20 66 69 | 6c 74 65 72 73 2e 20 20 |f the fi|lters. |
|00000cb0| 54 68 69 73 20 69 73 20 | 64 75 65 20 74 6f 0a 58 |This is |due to.X|
|00000cc0| 61 20 70 72 65 76 69 6f | 75 73 20 62 6f 75 74 20 |a previo|us bout |
|00000cd0| 6f 66 20 69 67 6e 6f 72 | 61 6e 63 65 20 6f 6e 20 |of ignor|ance on |
|00000ce0| 74 68 65 20 70 61 72 74 | 20 6f 66 20 74 68 65 20 |the part| of the |
|00000cf0| 61 75 74 68 6f 72 2c 20 | 61 6e 64 20 6d 75 73 74 |author, |and must|
|00000d00| 20 6e 6f 77 0a 58 72 65 | 6d 61 69 6e 20 77 69 74 | now.Xre|main wit|
|00000d10| 68 20 75 73 20 66 6f 72 | 65 76 65 72 20 74 6f 20 |h us for|ever to |
|00000d20| 6d 61 69 6e 74 61 69 6e | 20 63 6f 6d 70 61 74 69 |maintain| compati|
|00000d30| 62 69 6c 69 74 79 20 77 | 69 74 68 20 6f 6c 64 65 |bility w|ith olde|
|00000d40| 72 20 72 6f 66 66 20 63 | 6f 6d 6d 61 6e 64 0a 58 |r roff c|ommand.X|
|00000d50| 6c 69 6e 65 73 2e 0a 58 | 0a 58 59 6f 75 20 6d 69 |lines..X|.XYou mi|
|00000d60| 67 68 74 20 61 6c 73 6f | 20 6e 6f 74 69 63 65 20 |ght also| notice |
|00000d70| 61 20 72 65 66 65 72 65 | 6e 63 65 20 74 6f 20 27 |a refere|nce to '|
|00000d80| 24 46 27 2e 20 20 54 68 | 69 73 20 69 73 20 6e 65 |$F'. Th|is is ne|
|00000d90| 63 65 73 73 61 72 79 20 | 66 6f 72 20 75 73 0a 58 |cessary |for us.X|
|00000da0| 74 6f 20 62 65 20 63 6f | 6d 70 61 74 69 62 6c 65 |to be co|mpatible|
|00000db0| 20 77 69 74 68 20 61 6e | 6f 74 68 65 72 20 6f 6c | with an|other ol|
|00000dc0| 64 65 72 20 72 6f 66 66 | 20 63 6f 6d 6d 61 6e 64 |der roff| command|
|00000dd0| 20 6c 69 6e 65 20 66 6f | 72 6d 61 74 2e 0a 58 0a | line fo|rmat..X.|
|00000de0| 58 49 66 20 79 6f 75 20 | 61 72 65 20 61 20 75 73 |XIf you |are a us|
|00000df0| 65 72 20 6f 66 20 74 68 | 65 20 70 72 65 76 69 6f |er of th|e previo|
|00000e00| 75 73 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 72 6f |us versi|on of ro|
|00000e10| 66 66 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |ff the f|ollowing|
|00000e20| 0a 58 65 6e 68 61 6e 63 | 65 6d 65 6e 74 73 20 68 |.Xenhanc|ements h|
|00000e30| 61 76 65 20 62 65 65 6e | 20 61 64 64 65 64 3a 0a |ave been| added:.|
|00000e40| 58 0a 58 31 2e 20 74 68 | 65 20 72 6f 66 66 20 63 |X.X1. th|e roff c|
|00000e50| 6f 6d 6d 61 6e 64 20 6c | 69 6e 65 20 6f 66 20 74 |ommand l|ine of t|
|00000e60| 68 65 20 70 72 65 76 69 | 6f 75 73 20 76 65 72 73 |he previ|ous vers|
|00000e70| 69 6f 6e 20 72 65 6c 69 | 65 64 20 6f 6e 20 63 68 |ion reli|ed on ch|
|00000e80| 61 72 61 63 74 65 72 73 | 0a 58 62 65 69 6e 67 20 |aracters|.Xbeing |
|00000e90| 69 6e 20 70 61 72 74 69 | 63 75 6c 61 72 20 6c 6f |in parti|cular lo|
|00000ea0| 63 61 74 69 6f 6e 73 2e | 20 20 49 2e 45 2e 20 65 |cations.| I.E. e|
|00000eb0| 78 65 63 20 68 61 64 20 | 74 6f 20 6f 63 63 75 72 |xec had |to occur|
|00000ec0| 20 61 73 20 74 68 65 20 | 66 6f 72 74 68 0a 58 63 | as the |forth.Xc|
|00000ed0| 68 61 72 61 63 74 65 72 | 20 6f 66 20 74 68 65 20 |haracter| of the |
|00000ee0| 72 6f 66 66 20 6c 69 6e | 65 2e 20 20 54 68 69 73 |roff lin|e. This|
|00000ef0| 20 72 65 71 75 69 72 65 | 6d 65 6e 74 20 69 73 20 | require|ment is |
|00000f00| 67 6f 6e 65 2c 20 61 73 | 20 74 68 65 20 6e 65 77 |gone, as| the new|
|00000f10| 0a 58 72 6f 66 66 20 74 | 72 65 61 74 73 20 74 68 |.Xroff t|reats th|
|00000f20| 65 20 65 6e 74 72 69 65 | 73 20 61 73 20 66 69 65 |e entrie|s as fie|
|00000f30| 6c 64 73 20 73 65 70 65 | 72 61 74 65 64 20 62 79 |lds sepe|rated by|
|00000f40| 20 61 72 62 69 74 72 61 | 72 79 20 61 6d 6f 75 6e | arbitra|ry amoun|
|00000f50| 74 73 0a 58 6f 66 20 77 | 68 69 74 65 20 73 70 61 |ts.Xof w|hite spa|
|00000f60| 63 65 2e 0a 58 0a 58 32 | 2e 20 23 21 2f 62 69 6e |ce..X.X2|. #!/bin|
|00000f70| 2f 73 68 20 77 61 73 20 | 61 64 64 65 64 20 74 6f |/sh was |added to|
|00000f80| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 66 | the beg|inning f|
|00000f90| 6f 72 20 63 73 68 20 75 | 73 65 72 73 2e 0a 58 0a |or csh u|sers..X.|
|00000fa0| 58 33 2e 20 72 6f 66 66 | 20 6e 6f 77 20 74 61 6b |X3. roff| now tak|
|00000fb0| 65 73 20 74 68 65 20 27 | 2d 70 27 20 61 72 67 75 |es the '|-p' argu|
|00000fc0| 6d 65 6e 74 20 74 6f 20 | 70 61 73 73 20 74 68 65 |ment to |pass the|
|00000fd0| 20 66 69 6c 65 20 74 6f | 20 6f 74 68 65 72 20 74 | file to| other t|
|00000fe0| 72 6f 66 66 0a 58 70 72 | 6f 63 65 73 73 6f 72 73 |roff.Xpr|ocessors|
|00000ff0| 20 73 75 63 68 20 61 73 | 20 70 73 72 6f 66 66 2e | such as| psroff.|
|00001000| 0a 58 0a 58 62 75 67 73 | 3a 0a 58 0a 58 20 20 20 |.X.Xbugs|:.X.X |
|00001010| 20 49 20 73 75 72 65 20 | 77 69 73 68 20 72 6f 66 | I sure |wish rof|
|00001020| 66 20 63 6f 75 6c 64 20 | 74 61 6b 65 20 69 6e 70 |f could |take inp|
|00001030| 75 74 20 66 72 6f 6d 20 | 73 74 64 69 6e 2e 0a 45 |ut from |stdin..E|
|00001040| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 69 66 20 74 65 |ND_OF_FI|LE.if te|
|00001050| 73 74 20 32 30 30 37 20 | 2d 6e 65 20 60 77 63 20 |st 2007 |-ne `wc |
|00001060| 2d 63 20 3c 27 52 45 41 | 44 4d 45 27 60 3b 20 74 |-c <'REA|DME'`; t|
|00001070| 68 65 6e 0a 20 20 20 20 | 65 63 68 6f 20 73 68 61 |hen. |echo sha|
|00001080| 72 3a 20 5c 22 27 52 45 | 41 44 4d 45 27 5c 22 20 |r: \"'RE|ADME'\" |
|00001090| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|000010a0| 6f 6e 67 20 73 69 7a 65 | 21 0a 66 69 0a 23 20 65 |ong size|!.fi.# e|
|000010b0| 6e 64 20 6f 66 20 27 52 | 45 41 44 4d 45 27 0a 66 |nd of 'R|EADME'.f|
|000010c0| 69 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 72 6f |i.if tes|t -f 'ro|
|000010d0| 66 66 27 20 2d 61 20 22 | 24 7b 31 7d 22 20 21 3d |ff' -a "|${1}" !=|
|000010e0| 20 22 2d 63 22 20 3b 20 | 74 68 65 6e 20 0a 20 20 | "-c" ; |then . |
|000010f0| 65 63 68 6f 20 73 68 61 | 72 3a 20 57 69 6c 6c 20 |echo sha|r: Will |
|00001100| 6e 6f 74 20 63 6c 6f 62 | 62 65 72 20 65 78 69 73 |not clob|ber exis|
|00001110| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 27 72 6f 66 |ting fil|e \"'rof|
|00001120| 66 27 5c 22 0a 65 6c 73 | 65 0a 65 63 68 6f 20 73 |f'\".els|e.echo s|
|00001130| 68 61 72 3a 20 45 78 74 | 72 61 63 74 69 6e 67 20 |har: Ext|racting |
|00001140| 5c 22 27 72 6f 66 66 27 | 5c 22 20 5c 28 31 31 36 |\"'roff'|\" \(116|
|00001150| 33 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |3 charac|ters\).s|
|00001160| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 27 72 6f |ed "s/^X|//" >'ro|
|00001170| 66 66 27 20 3c 3c 27 45 | 4e 44 5f 4f 46 5f 46 49 |ff' <<'E|ND_OF_FI|
|00001180| 4c 45 27 0a 58 23 21 2f | 62 69 6e 2f 73 68 0a 58 |LE'.X#!/|bin/sh.X|
|00001190| 23 20 72 6f 66 66 20 62 | 79 20 42 72 69 61 6e 20 |# roff b|y Brian |
|000011a0| 45 2e 20 4c 69 74 7a 69 | 6e 67 65 72 0a 58 23 20 |E. Litzi|nger.X# |
|000011b0| 24 48 65 61 64 65 72 3a | 20 72 6f 66 66 2c 76 20 |$Header:| roff,v |
|000011c0| 31 2e 37 20 39 30 2f 30 | 31 2f 31 37 20 30 30 3a |1.7 90/0|1/17 00:|
|000011d0| 31 39 3a 31 38 20 62 72 | 69 61 6e 20 45 78 70 20 |19:18 br|ian Exp |
|000011e0| 24 0a 58 23 20 43 6f 6e | 74 72 69 62 75 74 69 6e |$.X# Con|tributin|
|000011f0| 67 20 41 75 74 68 6f 72 | 73 3a 0a 58 23 20 20 20 |g Author|s:.X# |
|00001200| 20 20 4a 65 66 66 20 47 | 6f 6c 64 73 74 65 69 6e | Jeff G|oldstein|
|00001210| 2c 20 53 76 61 6e 74 65 | 20 4c 69 6e 64 61 68 6c |, Svante| Lindahl|
|00001220| 2c 20 42 61 72 72 79 20 | 53 63 68 77 61 72 74 7a |, Barry |Schwartz|
|00001230| 0a 58 23 0a 58 23 20 55 | 73 61 67 65 3a 20 20 72 |.X#.X# U|sage: r|
|00001240| 6f 66 66 20 5b 20 2d 70 | 20 70 72 65 66 69 78 20 |off [ -p| prefix |
|00001250| 5d 20 5b 20 6f 70 74 69 | 6f 6e 73 20 5d 20 66 69 |] [ opti|ons ] fi|
|00001260| 6c 65 2d 6e 61 6d 65 20 | 2e 2e 2e 0a 58 23 20 54 |le-name |....X# T|
|00001270| 68 65 20 74 72 6f 66 66 | 2d 70 72 65 66 69 78 20 |he troff|-prefix |
|00001280| 69 73 20 74 68 65 20 66 | 69 72 73 74 20 70 61 72 |is the f|irst par|
|00001290| 74 20 6f 66 20 74 68 65 | 20 74 72 6f 66 66 20 63 |t of the| troff c|
|000012a0| 6f 6d 6d 61 6e 64 20 6e | 61 6d 65 2c 20 74 68 65 |ommand n|ame, the|
|000012b0| 0a 58 23 20 73 65 63 6f | 6e 64 20 70 61 72 74 20 |.X# seco|nd part |
|000012c0| 62 65 69 6e 67 20 22 72 | 6f 66 66 22 2e 20 20 46 |being "r|off". F|
|000012d0| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 74 79 70 65 |or examp|le, type|
|000012e0| 0a 58 23 09 72 6f 66 66 | 20 2d 66 20 70 73 20 66 |.X#.roff| -f ps f|
|000012f0| 69 6c 65 0a 58 23 20 74 | 6f 20 72 75 6e 20 74 68 |ile.X# t|o run th|
|00001300| 65 20 66 69 6c 65 20 74 | 68 72 6f 75 67 68 20 70 |e file t|hrough p|
|00001310| 73 72 6f 66 66 20 61 6e | 64 20 74 68 65 20 61 70 |sroff an|d the ap|
|00001320| 70 72 6f 70 72 69 61 74 | 65 20 66 69 6c 74 65 72 |propriat|e filter|
|00001330| 73 20 61 6e 64 20 6d 61 | 63 72 6f 73 2e 0a 58 0a |s and ma|cros..X.|
|00001340| 58 54 52 4f 46 46 3d 65 | 72 6f 66 66 0a 58 50 52 |XTROFF=e|roff.XPR|
|00001350| 45 46 49 58 3d 65 0a 58 | 54 4d 50 3d 2f 74 6d 70 |EFIX=e.X|TMP=/tmp|
|00001360| 2f 72 6f 66 66 24 24 0a | 58 69 66 20 5b 20 24 23 |/roff$$.|Xif [ $#|
|00001370| 20 2d 6c 74 20 31 20 5d | 20 3b 20 74 68 65 6e 0a | -lt 1 ]| ; then.|
|00001380| 58 20 20 20 20 65 63 68 | 6f 20 22 55 73 61 67 65 |X ech|o "Usage|
|00001390| 3a 20 20 60 62 61 73 65 | 6e 61 6d 65 20 24 30 60 |: `base|name $0`|
|000013a0| 20 5b 20 2d 70 20 70 72 | 65 66 69 78 20 5d 20 5b | [ -p pr|efix ] [|
|000013b0| 6f 70 74 69 6f 6e 73 5d | 20 66 69 6c 65 73 22 0a |options]| files".|
|000013c0| 58 20 20 20 20 65 78 69 | 74 20 32 0a 58 66 69 0a |X exi|t 2.Xfi.|
|000013d0| 58 77 68 69 6c 65 20 5b | 20 2d 6e 20 22 24 31 22 |Xwhile [| -n "$1"|
|000013e0| 20 5d 20 3b 20 64 6f 0a | 58 20 20 20 20 63 61 73 | ] ; do.|X cas|
|000013f0| 65 20 22 24 31 22 20 69 | 6e 0a 58 09 2d 70 29 0a |e "$1" i|n.X.-p).|
|00001400| 58 09 20 20 20 20 73 68 | 69 66 74 0a 58 09 20 20 |X. sh|ift.X. |
|00001410| 20 20 50 52 45 46 49 58 | 3d 24 31 0a 58 09 3b 3b | PREFIX|=$1.X.;;|
|00001420| 0a 58 09 2d 2a 29 0a 58 | 09 20 20 20 20 61 72 67 |.X.-*).X|. arg|
|00001430| 73 3d 22 24 61 72 67 73 | 20 24 31 22 0a 58 09 3b |s="$args| $1".X.;|
|00001440| 3b 0a 58 09 2a 29 0a 58 | 09 20 20 20 20 63 6f 6d |;.X.*).X|. com|
|00001450| 6d 61 6e 64 5f 6c 69 6e | 65 3d 22 60 73 65 64 20 |mand_lin|e="`sed |
|00001460| 2d 65 20 31 71 20 24 31 | 60 22 0a 58 09 20 20 20 |-e 1q $1|`".X. |
|00001470| 20 62 3d 22 60 65 63 68 | 6f 20 24 63 6f 6d 6d 61 | b="`ech|o $comma|
|00001480| 6e 64 5f 6c 69 6e 65 20 | 7c 20 63 75 74 20 2d 66 |nd_line || cut -f|
|00001490| 32 20 2d 64 27 20 27 60 | 22 0a 58 09 20 20 20 20 |2 -d' '`|".X. |
|000014a0| 69 66 20 5b 20 22 24 62 | 22 20 21 3d 20 22 65 78 |if [ "$b|" != "ex|
|000014b0| 65 63 22 20 5d 20 3b 20 | 74 68 65 6e 0a 58 09 09 |ec" ] ; |then.X..|
|000014c0| 65 63 68 6f 20 22 24 31 | 20 6e 6f 74 20 72 6f 66 |echo "$1| not rof|
|000014d0| 66 20 66 6f 72 6d 61 74 | 20 66 69 6c 65 21 22 0a |f format| file!".|
|000014e0| 58 09 09 65 78 69 74 20 | 32 0a 58 09 20 20 20 20 |X..exit |2.X. |
|000014f0| 66 69 0a 58 09 20 20 20 | 20 63 6f 6d 6d 61 6e 64 |fi.X. | command|
|00001500| 3d 22 60 65 63 68 6f 20 | 24 63 6f 6d 6d 61 6e 64 |="`echo |$command|
|00001510| 5f 6c 69 6e 65 20 7c 20 | 63 75 74 20 2d 66 33 2d |_line | |cut -f3-|
|00001520| 20 2d 64 27 20 27 22 0a | 58 09 20 20 20 20 64 3d | -d' '".|X. d=|
|00001530| 22 73 65 64 20 2d 65 20 | 31 64 20 24 31 20 7c 22 |"sed -e |1d $1 |"|
|00001540| 0a 58 09 20 20 20 20 66 | 6f 72 20 69 20 69 6e 20 |.X. f|or i in |
|00001550| 24 63 6f 6d 6d 61 6e 64 | 20 3b 20 64 6f 0a 58 09 |$command| ; do.X.|
|00001560| 09 69 66 20 5b 20 22 24 | 69 22 20 3d 20 27 24 46 |.if [ "$|i" = '$F|
|00001570| 27 20 5d 20 3b 20 74 68 | 65 6e 0a 58 09 09 20 20 |' ] ; th|en.X.. |
|00001580| 20 20 74 72 75 65 0a 58 | 09 09 65 6c 73 65 0a 58 | true.X|..else.X|
|00001590| 09 09 20 20 20 20 69 66 | 20 5b 20 22 24 69 22 20 |.. if| [ "$i" |
|000015a0| 3d 20 22 24 54 52 4f 46 | 46 22 20 5d 20 3b 20 74 |= "$TROF|F" ] ; t|
|000015b0| 68 65 6e 0a 58 09 09 09 | 64 3d 22 24 64 20 24 7b |hen.X...|d="$d ${|
|000015c0| 50 52 45 46 49 58 7d 72 | 6f 66 66 20 24 61 72 67 |PREFIX}r|off $arg|
|000015d0| 73 22 0a 58 09 09 20 20 | 20 20 65 6c 73 65 0a 58 |s".X.. | else.X|
|000015e0| 09 09 09 64 3d 22 24 64 | 20 24 69 22 0a 58 09 09 |...d="$d| $i".X..|
|000015f0| 20 20 20 20 66 69 0a 58 | 09 09 66 69 0a 58 09 20 | fi.X|..fi.X. |
|00001600| 20 20 20 64 6f 6e 65 0a | 58 09 20 20 20 20 23 65 | done.|X. #e|
|00001610| 63 68 6f 20 24 64 0a 58 | 09 20 20 20 20 65 76 61 |cho $d.X|. eva|
|00001620| 6c 20 24 64 0a 58 09 3b | 3b 0a 58 20 20 20 20 65 |l $d.X.;|;.X e|
|00001630| 73 61 63 0a 58 20 20 20 | 20 73 68 69 66 74 0a 58 |sac.X | shift.X|
|00001640| 64 6f 6e 65 0a 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |done.END|_OF_FILE|
|00001650| 0a 69 66 20 74 65 73 74 | 20 31 31 36 33 20 2d 6e |.if test| 1163 -n|
|00001660| 65 20 60 77 63 20 2d 63 | 20 3c 27 72 6f 66 66 27 |e `wc -c| <'roff'|
|00001670| 60 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |`; then.| echo|
|00001680| 20 73 68 61 72 3a 20 5c | 22 27 72 6f 66 66 27 5c | shar: \|"'roff'\|
|00001690| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|000016a0| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 66 69 0a 63 |wrong si|ze!.fi.c|
|000016b0| 68 6d 6f 64 20 2b 78 20 | 27 72 6f 66 66 27 0a 23 |hmod +x |'roff'.#|
|000016c0| 20 65 6e 64 20 6f 66 20 | 27 72 6f 66 66 27 0a 66 | end of |'roff'.f|
|000016d0| 69 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 45 6e 64 |i.echo s|har: End|
|000016e0| 20 6f 66 20 73 68 65 6c | 6c 20 61 72 63 68 69 76 | of shel|l archiv|
|000016f0| 65 2e 0a 65 78 69 74 20 | 30 0a 0a 0a |e..exit |0... |
+--------+-------------------------+-------------------------+--------+--------+