home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume10 / roff17 < prev    next >
SHell self-extracting ARchive  |  1990-01-19  |  5.5 KB

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).

ConfidenceProgramDetectionMatch TypeSupport
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 6f 72 |.sources|.misc.or|
|00000020| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 41 50 54 20 |ganizati|on: APT |
|00000030| 54 65 63 68 6e 6f 6c 6f | 67 79 2c 20 49 6e 63 2e |Technolo|gy, Inc.|
|00000040| 20 20 53 61 6e 20 4a 6f | 73 65 2c 20 43 41 2c 20 | San Jo|se, CA, |
|00000050| 20 55 53 41 0a 73 75 62 | 6a 65 63 74 3a 20 76 31 | USA.sub|ject: v1|
|00000060| 30 69 30 32 34 3a 20 72 | 6f 66 66 20 76 65 72 73 |0i024: r|off vers|
|00000070| 69 6f 6e 20 31 2e 37 0a | 66 72 6f 6d 3a 20 62 72 |ion 1.7.|from: br|
|00000080| 69 61 6e 40 61 70 74 2e | 55 55 43 50 20 28 42 72 |ian@apt.|UUCP (Br|
|00000090| 69 61 6e 20 4c 69 74 7a | 69 6e 67 65 72 29 0a 53 |ian Litz|inger).S|
|000000a0| 65 6e 64 65 72 3a 20 61 | 6c 6c 62 65 72 79 40 75 |ender: a|llbery@u|
|000000b0| 75 6e 65 74 2e 55 55 2e | 4e 45 54 20 28 42 72 61 |unet.UU.|NET (Bra|
|000000c0| 6e 64 6f 6e 20 53 2e 20 | 41 6c 6c 62 65 72 79 20 |ndon S. |Allbery |
|000000d0| 2d 20 63 6f 6d 70 2e 73 | 6f 75 72 63 65 73 2e 6d |- comp.s|ources.m|
|000000e0| 69 73 63 29 0a 0a 50 6f | 73 74 69 6e 67 2d 6e 75 |isc)..Po|sting-nu|
|000000f0| 6d 62 65 72 3a 20 56 6f | 6c 75 6d 65 20 31 30 2c |mber: Vo|lume 10,|
|00000100| 20 49 73 73 75 65 20 32 | 34 0a 53 75 62 6d 69 74 | Issue 2|4.Submit|
|00000110| 74 65 64 2d 62 79 3a 20 | 62 72 69 61 6e 40 61 70 |ted-by: |brian@ap|
|00000120| 74 2e 55 55 43 50 20 28 | 42 72 69 61 6e 20 4c 69 |t.UUCP (|Brian Li|
|00000130| 74 7a 69 6e 67 65 72 29 | 0a 41 72 63 68 69 76 65 |tzinger)|.Archive|
|00000140| 2d 6e 61 6d 65 3a 20 72 | 6f 66 66 31 37 0a 0a 5b |-name: r|off17..[|
|00000150| 3f 3f 3f 20 20 2b 2b 62 | 73 61 5d 0a 0a 59 65 74 |??? ++b|sa]..Yet|
|00000160| 20 61 6e 6f 74 68 65 72 | 20 61 62 73 6f 6c 75 74 | another| absolut|
|00000170| 65 6c 79 20 75 73 65 6c | 65 73 73 20 70 72 6f 67 |ely usel|ess prog|
|00000180| 72 61 6d 2e 20 20 4a 75 | 73 74 20 2f 62 69 6e 2f |ram. Ju|st /bin/|
|00000190| 72 6d 20 72 6f 66 66 2e | 73 68 61 72 0a 61 6e 64 |rm roff.|shar.and|
|000001a0| 20 79 6f 75 20 6c 69 76 | 65 20 61 20 6d 75 63 68 | you liv|e a much|
|000001b0| 20 62 65 74 74 65 72 20 | 6c 69 66 65 2e 0a 0a 4d | better |life...M|
|000001c0| 61 79 62 65 20 77 65 20 | 73 68 6f 75 6c 64 20 67 |aybe we |should g|
|000001d0| 65 74 20 61 20 6e 65 77 | 20 6d 6f 64 65 72 61 74 |et a new| moderat|
|000001e0| 6f 72 20 66 6f 72 20 74 | 68 69 73 20 67 72 6f 75 |or for t|his grou|
|000001f0| 70 2e 20 38 2d 29 0a 0a | 54 68 69 73 20 69 73 20 |p. 8-)..|This is |
|00000200| 61 6e 20 69 6d 70 72 6f | 76 65 64 20 76 65 72 73 |an impro|ved vers|
|00000210| 69 6f 6e 20 6f 66 20 74 | 68 65 20 72 6f 66 66 20 |ion of t|he roff |
|00000220| 73 63 72 69 70 74 20 49 | 20 77 72 6f 74 65 2e 20 |script I| wrote. |
|00000230| 20 49 74 20 68 61 73 0a | 62 65 65 6e 20 65 6e 68 | It has.|been enh|
|00000240| 61 6e 63 65 64 20 62 79 | 20 63 6f 6e 74 72 69 62 |anced by| contrib|
|00000250| 75 74 69 6f 6e 73 20 66 | 72 6f 6d 20 72 6f 66 66 |utions f|rom roff|
|00000260| 20 75 73 65 72 73 2e 20 | 28 41 73 20 68 61 72 64 | users. |(As hard|
|00000270| 20 61 73 20 69 74 0a 6d | 61 79 20 62 65 20 74 6f | as it.m|ay be to|
|00000280| 20 62 65 6c 69 65 76 65 | 20 73 6f 6d 65 6f 6e 65 | believe| someone|
|00000290| 20 61 63 74 75 61 6c 6c | 79 20 66 6f 75 6e 64 20 | actuall|y found |
|000002a0| 63 6f 64 65 20 62 79 20 | 6d 65 20 75 73 65 66 75 |code by |me usefu|
|000002b0| 6c 29 0a 0a 72 6f 66 66 | 2c 20 69 66 20 79 6f 75 |l)..roff|, if you|
|000002c0| 20 63 61 72 65 2c 20 6c | 65 74 73 20 79 6f 75 20 | care, l|ets you |
|000002d0| 65 6e 63 6f 64 65 20 74 | 68 65 20 66 69 6c 74 65 |encode t|he filte|
|000002e0| 72 73 20 74 68 61 74 20 | 61 20 74 72 6f 66 66 20 |rs that |a troff |
|000002f0| 66 69 6c 65 0a 6d 75 73 | 74 20 62 65 20 70 61 73 |file.mus|t be pas|
|00000300| 73 65 64 20 74 68 72 6f | 75 67 68 20 74 6f 20 62 |sed thro|ugh to b|
|00000310| 65 20 70 72 69 6e 74 65 | 64 20 69 6e 74 6f 20 74 |e printe|d into t|
|00000320| 68 65 20 66 69 6c 65 20 | 69 74 73 65 6c 66 2e 20 |he file |itself. |
|00000330| 20 54 68 75 73 0a 79 6f | 75 20 77 6f 6e 27 74 20 | Thus.yo|u won't |
|00000340| 68 61 76 65 20 74 6f 20 | 72 65 6d 65 6d 62 65 72 |have to |remember|
|00000350| 20 69 66 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 | if the |document|
|00000360| 20 72 65 71 75 69 72 65 | 73 20 70 69 63 2c 20 6f | require|s pic, o|
|00000370| 72 20 74 62 6c 2c 0a 6f | 72 20 70 69 63 20 61 6e |r tbl,.o|r pic an|
|00000380| 64 20 74 62 6c 20 61 6e | 64 20 67 72 61 70 2c 20 |d tbl an|d grap, |
|00000390| 61 6e 64 20 73 6f 20 6f | 6e 2e 0a 0a 3c 3e 20 20 |and so o|n...<> |
|000003a0| 42 72 69 61 6e 20 4c 69 | 74 7a 69 6e 67 65 72 20 |Brian Li|tzinger |
|000003b0| 40 20 41 50 54 20 54 65 | 63 68 6e 6f 6c 6f 67 79 |@ APT Te|chnology|
|000003c0| 20 49 6e 63 2e 2c 20 53 | 61 6e 20 4a 6f 73 65 2c | Inc., S|an Jose,|
|000003d0| 20 43 41 0a 3c 3e 20 20 | 55 55 43 50 3a 20 20 7b | CA.<> |UUCP: {|
|000003e0| 61 70 70 6c 65 2c 73 75 | 6e 2c 70 79 72 61 6d 69 |apple,su|n,pyrami|
|000003f0| 64 7d 21 64 61 76 65 72 | 21 61 70 74 21 62 72 69 |d}!daver|!apt!bri|
|00000400| 61 6e 20 20 20 20 62 72 | 69 61 6e 40 61 70 74 2e |an br|ian@apt.|
|00000410| 55 55 43 50 0a 3c 3e 20 | 20 56 4f 49 43 45 3a 20 |UUCP.<> | VOICE: |
|00000420| 34 30 38 20 33 37 30 20 | 39 30 37 37 20 20 20 20 |408 370 |9077 |
|00000430| 20 20 46 41 58 3a 20 34 | 30 38 20 33 37 30 20 39 | FAX: 4|08 370 9|
|00000440| 32 39 31 0a 0a 23 21 20 | 2f 62 69 6e 2f 73 68 0a |291..#! |/bin/sh.|
|00000450| 23 20 54 68 69 73 20 69 | 73 20 61 20 73 68 65 6c |# This i|s a shel|
|00000460| 6c 20 61 72 63 68 69 76 | 65 2e 20 20 52 65 6d 6f |l archiv|e. Remo|
|00000470| 76 65 20 61 6e 79 74 68 | 69 6e 67 20 62 65 66 6f |ve anyth|ing befo|
|00000480| 72 65 20 74 68 69 73 20 | 6c 69 6e 65 2c 20 74 68 |re this |line, th|
|00000490| 65 6e 20 75 6e 70 61 63 | 6b 0a 23 20 69 74 20 62 |en unpac|k.# it b|
|000004a0| 79 20 73 61 76 69 6e 67 | 20 69 74 20 69 6e 74 6f |y saving| it into|
|000004b0| 20 61 20 66 69 6c 65 20 | 61 6e 64 20 74 79 70 69 | a file |and typi|
|000004c0| 6e 67 20 22 73 68 20 66 | 69 6c 65 22 2e 20 20 54 |ng "sh f|ile". T|
|000004d0| 6f 20 6f 76 65 72 77 72 | 69 74 65 20 65 78 69 73 |o overwr|ite exis|
|000004e0| 74 69 6e 67 0a 23 20 66 | 69 6c 65 73 2c 20 74 79 |ting.# f|iles, ty|
|000004f0| 70 65 20 22 73 68 20 66 | 69 6c 65 20 2d 63 22 2e |pe "sh f|ile -c".|
|00000500| 20 20 59 6f 75 20 63 61 | 6e 20 61 6c 73 6f 20 66 | You ca|n also f|
|00000510| 65 65 64 20 74 68 69 73 | 20 61 73 20 73 74 61 6e |eed this| as stan|
|00000520| 64 61 72 64 20 69 6e 70 | 75 74 20 76 69 61 0a 23 |dard inp|ut via.#|
|00000530| 20 75 6e 73 68 61 72 2c | 20 6f 72 20 62 79 20 74 | unshar,| or by t|
|00000540| 79 70 69 6e 67 20 22 73 | 68 20 3c 66 69 6c 65 22 |yping "s|h <file"|
|00000550| 2c 20 65 2e 67 2e 2e 20 | 20 49 66 20 74 68 69 73 |, e.g.. | If this|
|00000560| 20 61 72 63 68 69 76 65 | 20 69 73 20 63 6f 6d 70 | archive| is comp|
|00000570| 6c 65 74 65 2c 20 79 6f | 75 0a 23 20 77 69 6c 6c |lete, yo|u.# will|
|00000580| 20 73 65 65 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 | see the| followi|
|00000590| 6e 67 20 6d 65 73 73 61 | 67 65 20 61 74 20 74 68 |ng messa|ge at th|
|000005a0| 65 20 65 6e 64 3a 0a 23 | 09 09 22 45 6e 64 20 6f |e end:.#|.."End o|
|000005b0| 66 20 73 68 65 6c 6c 20 | 61 72 63 68 69 76 65 2e |f shell |archive.|
|000005c0| 22 0a 23 20 43 6f 6e 74 | 65 6e 74 73 3a 20 20 52 |".# Cont|ents: R|
|000005d0| 45 41 44 4d 45 20 72 6f | 66 66 0a 23 20 57 72 61 |EADME ro|ff.# Wra|
|000005e0| 70 70 65 64 20 62 79 20 | 62 72 69 61 6e 40 61 70 |pped by |brian@ap|
|000005f0| 74 20 6f 6e 20 57 65 64 | 20 4a 61 6e 20 31 37 20 |t on Wed| Jan 17 |
|00000600| 30 30 3a 32 39 3a 34 35 | 20 31 39 39 30 0a 50 41 |00:29:45| 1990.PA|
|00000610| 54 48 3d 2f 62 69 6e 3a | 2f 75 73 72 2f 62 69 6e |TH=/bin:|/usr/bin|
|00000620| 3a 2f 75 73 72 2f 75 63 | 62 20 3b 20 65 78 70 6f |:/usr/uc|b ; expo|
|00000630| 72 74 20 50 41 54 48 0a | 69 66 20 74 65 73 74 20 |rt PATH.|if test |
|00000640| 2d 66 20 27 52 45 41 44 | 4d 45 27 20 2d 61 20 22 |-f 'READ|ME' -a "|
|00000650| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|00000660| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|00000670| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|00000680| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|00000690| 65 20 5c 22 27 52 45 41 | 44 4d 45 27 5c 22 0a 65 |e \"'REA|DME'\".e|
|000006a0| 6c 73 65 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |lse.echo| shar: E|
|000006b0| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 52 45 41 |xtractin|g \"'REA|
|000006c0| 44 4d 45 27 5c 22 20 5c | 28 32 30 30 37 20 63 68 |DME'\" \|(2007 ch|
|000006d0| 61 72 61 63 74 65 72 73 | 5c 29 0a 73 65 64 20 22 |aracters|\).sed "|
|000006e0| 73 2f 5e 58 2f 2f 22 20 | 3e 27 52 45 41 44 4d 45 |s/^X//" |>'README|
|000006f0| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|00000700| 27 0a 58 54 68 69 73 20 | 69 73 20 76 65 72 73 69 |'.XThis |is versi|
|00000710| 6f 6e 20 31 2e 37 20 6f | 66 20 72 6f 66 66 2e 0a |on 1.7 o|f roff..|
|00000720| 58 0a 58 49 74 20 69 6e | 63 6f 72 70 6f 72 61 74 |X.XIt in|corporat|
|00000730| 65 73 20 73 6f 6d 65 20 | 6e 65 77 20 66 65 61 74 |es some |new feat|
|00000740| 75 72 65 73 20 74 68 61 | 74 20 77 65 72 65 20 63 |ures tha|t were c|
|00000750| 6f 6e 74 72 69 62 75 74 | 65 64 20 62 79 20 6f 74 |ontribut|ed by ot|
|00000760| 68 65 72 0a 58 75 73 65 | 72 27 73 20 6f 66 20 72 |her.Xuse|r's of r|
|00000770| 6f 66 66 2e 0a 58 0a 58 | 72 6f 66 66 20 69 73 20 |off..X.X|roff is |
|00000780| 61 20 73 63 72 69 70 74 | 20 74 68 61 74 20 61 6c |a script| that al|
|00000790| 6c 6f 77 73 20 79 6f 75 | 20 74 6f 20 65 6e 63 6f |lows you| to enco|
|000007a0| 64 65 20 74 68 65 20 66 | 69 6c 74 65 72 73 20 74 |de the f|ilters t|
|000007b0| 68 61 74 20 61 20 74 72 | 6f 66 66 0a 58 66 69 6c |hat a tr|off.Xfil|
|000007c0| 65 20 6d 75 73 74 20 62 | 65 20 70 61 73 73 65 64 |e must b|e passed|
|000007d0| 20 74 68 72 6f 75 67 68 | 20 61 6c 6f 6e 67 20 77 | through| along w|
|000007e0| 69 74 68 20 77 68 69 63 | 68 20 6d 61 63 72 6f 20 |ith whic|h macro |
|000007f0| 70 61 63 6b 61 67 65 73 | 20 74 6f 20 75 73 65 0a |packages| to use.|
|00000800| 58 69 6e 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |Xin the |document|
|00000810| 20 66 69 6c 65 2e 0a 58 | 0a 58 54 6f 20 75 73 65 | file..X|.XTo use|
|00000820| 20 72 6f 66 66 20 79 6f | 75 20 73 69 6d 70 6c 79 | roff yo|u simply|
|00000830| 20 61 64 64 20 61 20 72 | 6f 66 66 20 63 6f 6d 6d | add a r|off comm|
|00000840| 61 6e 64 20 6c 69 6e 65 | 20 61 73 20 74 68 65 20 |and line| as the |
|00000850| 66 69 72 73 74 20 6c 69 | 6e 65 20 6f 66 0a 58 79 |first li|ne of.Xy|
|00000860| 6f 75 72 20 64 6f 63 75 | 6d 65 6e 74 20 66 69 6c |our docu|ment fil|
|00000870| 65 2e 20 20 54 68 65 6e | 20 77 68 65 6e 20 79 6f |e. Then| when yo|
|00000880| 75 20 77 69 73 68 20 74 | 6f 20 70 72 69 6e 74 20 |u wish t|o print |
|00000890| 6f 75 74 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |out the |document|
|000008a0| 0a 58 79 6f 75 20 63 61 | 6e 20 73 69 6d 70 6c 79 |.Xyou ca|n simply|
|000008b0| 20 65 6e 74 65 72 0a 58 | 0a 58 20 20 20 20 72 6f | enter.X|.X ro|
|000008c0| 66 66 20 66 69 6c 65 6e | 61 6d 65 0a 58 0a 58 72 |ff filen|ame.X.Xr|
|000008d0| 6f 66 66 20 77 69 6c 6c | 20 67 65 6e 65 72 61 74 |off will| generat|
|000008e0| 65 20 74 68 65 20 63 6f | 72 72 65 63 74 20 63 6f |e the co|rrect co|
|000008f0| 6d 6d 61 6e 64 20 73 74 | 72 65 61 6d 20 74 6f 20 |mmand st|ream to |
|00000900| 70 72 69 6e 74 20 74 68 | 65 20 66 69 6c 65 2e 0a |print th|e file..|
|00000910| 58 0a 58 74 68 65 20 72 | 6f 66 66 20 63 6f 6d 6d |X.Xthe r|off comm|
|00000920| 61 6e 64 20 6c 69 6e 65 | 20 69 73 20 62 61 73 69 |and line| is basi|
|00000930| 63 61 6c 6c 79 20 61 20 | 6c 69 6e 65 20 6f 66 20 |cally a |line of |
|00000940| 74 65 78 74 20 74 68 61 | 74 20 69 73 20 70 61 73 |text tha|t is pas|
|00000950| 73 65 64 20 74 6f 0a 58 | 65 76 61 6c 28 31 29 2e |sed to.X|eval(1).|
|00000960| 20 20 49 74 73 20 66 6f | 72 6d 61 74 20 69 73 20 | Its fo|rmat is |
|00000970| 61 73 20 66 6f 6c 6c 6f | 77 73 3a 0a 58 0a 58 2e |as follo|ws:.X.X.|
|00000980| 5c 22 20 65 78 65 63 20 | 74 62 6c 20 7c 20 70 69 |\" exec |tbl | pi|
|00000990| 63 20 7c 20 65 72 6f 66 | 66 20 2d 6d 6d 0a 58 0a |c | erof|f -mm.X.|
|000009a0| 58 74 68 65 20 27 2e 5c | 22 27 20 69 73 20 61 20 |Xthe '.\|"' is a |
|000009b0| 74 72 6f 66 66 2f 6e 72 | 6f 66 66 20 63 6f 6d 6d |troff/nr|off comm|
|000009c0| 65 6e 74 20 64 65 6c 69 | 6d 65 74 65 72 2e 20 20 |ent deli|meter. |
|000009d0| 54 68 65 20 27 65 78 65 | 63 27 20 68 65 6c 70 73 |The 'exe|c' helps|
|000009e0| 20 69 64 65 6e 74 69 66 | 79 0a 58 74 68 69 73 20 | identif|y.Xthis |
|000009f0| 6c 69 6e 65 20 61 73 20 | 61 20 72 6f 66 66 20 63 |line as |a roff c|
|00000a00| 6f 6d 6d 61 6e 64 20 6c | 69 6e 65 2e 0a 58 0a 58 |ommand l|ine..X.X|
|00000a10| 74 68 65 20 72 65 73 74 | 20 6f 66 20 74 68 65 20 |the rest| of the |
|00000a20| 6c 69 6e 65 20 69 73 20 | 74 68 65 20 66 69 6c 74 |line is |the filt|
|00000a30| 65 72 73 2c 20 70 61 63 | 6b 61 67 65 73 2c 20 61 |ers, pac|kages, a|
|00000a40| 6e 64 20 6d 61 63 72 6f | 73 20 74 68 61 74 20 74 |nd macro|s that t|
|00000a50| 68 65 0a 58 64 6f 63 75 | 6d 65 6e 74 20 66 69 6c |he.Xdocu|ment fil|
|00000a60| 65 20 73 68 6f 75 6c 64 | 20 62 65 20 70 61 73 73 |e should| be pass|
|00000a70| 65 64 20 74 68 72 6f 75 | 67 68 2e 20 20 4f 74 68 |ed throu|gh. Oth|
|00000a80| 65 72 20 65 78 61 6d 70 | 6c 65 73 20 61 72 65 3a |er examp|les are:|
|00000a90| 0a 58 0a 58 2e 5c 22 20 | 65 78 65 63 20 65 72 6f |.X.X.\" |exec ero|
|00000aa0| 66 66 0a 58 0a 58 2e 5c | 22 20 65 78 65 63 20 74 |ff.X.X.\|" exec t|
|00000ab0| 62 6c 20 7c 20 65 72 6f | 66 66 20 2d 6d 6d 20 2d |bl | ero|ff -mm -|
|00000ac0| 6d 61 70 74 0a 58 0a 58 | 49 66 20 79 6f 75 20 6c |mapt.X.X|If you l|
|00000ad0| 6f 6f 6b 20 61 74 20 74 | 68 65 20 72 6f 66 66 20 |ook at t|he roff |
|00000ae0| 73 63 72 69 70 74 20 79 | 6f 75 20 77 69 6c 6c 20 |script y|ou will |
|00000af0| 6e 6f 74 69 63 65 20 74 | 68 61 74 20 77 65 20 73 |notice t|hat we s|
|00000b00| 74 72 69 70 20 6f 66 66 | 20 74 68 65 0a 58 66 69 |trip off| the.Xfi|
|00000b10| 72 73 74 20 6c 69 6e 65 | 20 6f 66 20 74 68 65 20 |rst line| of the |
|00000b20| 64 6f 63 75 6d 65 6e 74 | 20 66 69 6c 65 20 28 74 |document| file (t|
|00000b30| 68 65 20 72 6f 66 66 20 | 63 6f 6d 6d 61 6e 64 20 |he roff |command |
|00000b40| 6c 69 6e 65 29 20 62 65 | 66 6f 72 65 20 77 65 0a |line) be|fore we.|
|00000b50| 58 70 69 70 65 20 74 68 | 65 20 64 6f 63 75 6d 65 |Xpipe th|e docume|
|00000b60| 6e 74 20 74 68 72 6f 75 | 67 68 20 74 68 65 20 72 |nt throu|gh the r|
|00000b70| 65 73 74 20 6f 66 20 74 | 68 65 20 66 69 6c 74 65 |est of t|he filte|
|00000b80| 72 73 2e 20 20 54 68 69 | 73 20 69 73 20 64 75 65 |rs. Thi|s is due|
|00000b90| 20 74 6f 0a 58 61 20 70 | 72 65 76 69 6f 75 73 20 | to.Xa p|revious |
|00000ba0| 62 6f 75 74 20 6f 66 20 | 69 67 6e 6f 72 61 6e 63 |bout of |ignoranc|
|00000bb0| 65 20 6f 6e 20 74 68 65 | 20 70 61 72 74 20 6f 66 |e on the| part of|
|00000bc0| 20 74 68 65 20 61 75 74 | 68 6f 72 2c 20 61 6e 64 | the aut|hor, and|
|00000bd0| 20 6d 75 73 74 20 6e 6f | 77 0a 58 72 65 6d 61 69 | must no|w.Xremai|
|00000be0| 6e 20 77 69 74 68 20 75 | 73 20 66 6f 72 65 76 65 |n with u|s foreve|
|00000bf0| 72 20 74 6f 20 6d 61 69 | 6e 74 61 69 6e 20 63 6f |r to mai|ntain co|
|00000c00| 6d 70 61 74 69 62 69 6c | 69 74 79 20 77 69 74 68 |mpatibil|ity with|
|00000c10| 20 6f 6c 64 65 72 20 72 | 6f 66 66 20 63 6f 6d 6d | older r|off comm|
|00000c20| 61 6e 64 0a 58 6c 69 6e | 65 73 2e 0a 58 0a 58 59 |and.Xlin|es..X.XY|
|00000c30| 6f 75 20 6d 69 67 68 74 | 20 61 6c 73 6f 20 6e 6f |ou might| also no|
|00000c40| 74 69 63 65 20 61 20 72 | 65 66 65 72 65 6e 63 65 |tice a r|eference|
|00000c50| 20 74 6f 20 27 24 46 27 | 2e 20 20 54 68 69 73 20 | to '$F'|. This |
|00000c60| 69 73 20 6e 65 63 65 73 | 73 61 72 79 20 66 6f 72 |is neces|sary for|
|00000c70| 20 75 73 0a 58 74 6f 20 | 62 65 20 63 6f 6d 70 61 | us.Xto |be compa|
|00000c80| 74 69 62 6c 65 20 77 69 | 74 68 20 61 6e 6f 74 68 |tible wi|th anoth|
|00000c90| 65 72 20 6f 6c 64 65 72 | 20 72 6f 66 66 20 63 6f |er older| roff co|
|00000ca0| 6d 6d 61 6e 64 20 6c 69 | 6e 65 20 66 6f 72 6d 61 |mmand li|ne forma|
|00000cb0| 74 2e 0a 58 0a 58 49 66 | 20 79 6f 75 20 61 72 65 |t..X.XIf| you are|
|00000cc0| 20 61 20 75 73 65 72 20 | 6f 66 20 74 68 65 20 70 | a user |of the p|
|00000cd0| 72 65 76 69 6f 75 73 20 | 76 65 72 73 69 6f 6e 20 |revious |version |
|00000ce0| 6f 66 20 72 6f 66 66 20 | 74 68 65 20 66 6f 6c 6c |of roff |the foll|
|00000cf0| 6f 77 69 6e 67 0a 58 65 | 6e 68 61 6e 63 65 6d 65 |owing.Xe|nhanceme|
|00000d00| 6e 74 73 20 68 61 76 65 | 20 62 65 65 6e 20 61 64 |nts have| been ad|
|00000d10| 64 65 64 3a 0a 58 0a 58 | 31 2e 20 74 68 65 20 72 |ded:.X.X|1. the r|
|00000d20| 6f 66 66 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 |off comm|and line|
|00000d30| 20 6f 66 20 74 68 65 20 | 70 72 65 76 69 6f 75 73 | of the |previous|
|00000d40| 20 76 65 72 73 69 6f 6e | 20 72 65 6c 69 65 64 20 | version| relied |
|00000d50| 6f 6e 20 63 68 61 72 61 | 63 74 65 72 73 0a 58 62 |on chara|cters.Xb|
|00000d60| 65 69 6e 67 20 69 6e 20 | 70 61 72 74 69 63 75 6c |eing in |particul|
|00000d70| 61 72 20 6c 6f 63 61 74 | 69 6f 6e 73 2e 20 20 49 |ar locat|ions. I|
|00000d80| 2e 45 2e 20 65 78 65 63 | 20 68 61 64 20 74 6f 20 |.E. exec| had to |
|00000d90| 6f 63 63 75 72 20 61 73 | 20 74 68 65 20 66 6f 72 |occur as| the for|
|00000da0| 74 68 0a 58 63 68 61 72 | 61 63 74 65 72 20 6f 66 |th.Xchar|acter of|
|00000db0| 20 74 68 65 20 72 6f 66 | 66 20 6c 69 6e 65 2e 20 | the rof|f line. |
|00000dc0| 20 54 68 69 73 20 72 65 | 71 75 69 72 65 6d 65 6e | This re|quiremen|
|00000dd0| 74 20 69 73 20 67 6f 6e | 65 2c 20 61 73 20 74 68 |t is gon|e, as th|
|00000de0| 65 20 6e 65 77 0a 58 72 | 6f 66 66 20 74 72 65 61 |e new.Xr|off trea|
|00000df0| 74 73 20 74 68 65 20 65 | 6e 74 72 69 65 73 20 61 |ts the e|ntries a|
|00000e00| 73 20 66 69 65 6c 64 73 | 20 73 65 70 65 72 61 74 |s fields| seperat|
|00000e10| 65 64 20 62 79 20 61 72 | 62 69 74 72 61 72 79 20 |ed by ar|bitrary |
|00000e20| 61 6d 6f 75 6e 74 73 0a | 58 6f 66 20 77 68 69 74 |amounts.|Xof whit|
|00000e30| 65 20 73 70 61 63 65 2e | 0a 58 0a 58 32 2e 20 23 |e space.|.X.X2. #|
|00000e40| 21 2f 62 69 6e 2f 73 68 | 20 77 61 73 20 61 64 64 |!/bin/sh| was add|
|00000e50| 65 64 20 74 6f 20 74 68 | 65 20 62 65 67 69 6e 6e |ed to th|e beginn|
|00000e60| 69 6e 67 20 66 6f 72 20 | 63 73 68 20 75 73 65 72 |ing for |csh user|
|00000e70| 73 2e 0a 58 0a 58 33 2e | 20 72 6f 66 66 20 6e 6f |s..X.X3.| roff no|
|00000e80| 77 20 74 61 6b 65 73 20 | 74 68 65 20 27 2d 70 27 |w takes |the '-p'|
|00000e90| 20 61 72 67 75 6d 65 6e | 74 20 74 6f 20 70 61 73 | argumen|t to pas|
|00000ea0| 73 20 74 68 65 20 66 69 | 6c 65 20 74 6f 20 6f 74 |s the fi|le to ot|
|00000eb0| 68 65 72 20 74 72 6f 66 | 66 0a 58 70 72 6f 63 65 |her trof|f.Xproce|
|00000ec0| 73 73 6f 72 73 20 73 75 | 63 68 20 61 73 20 70 73 |ssors su|ch as ps|
|00000ed0| 72 6f 66 66 2e 0a 58 0a | 58 62 75 67 73 3a 0a 58 |roff..X.|Xbugs:.X|
|00000ee0| 0a 58 20 20 20 20 49 20 | 73 75 72 65 20 77 69 73 |.X I |sure wis|
|00000ef0| 68 20 72 6f 66 66 20 63 | 6f 75 6c 64 20 74 61 6b |h roff c|ould tak|
|00000f00| 65 20 69 6e 70 75 74 20 | 66 72 6f 6d 20 73 74 64 |e input |from std|
|00000f10| 69 6e 2e 0a 45 4e 44 5f | 4f 46 5f 46 49 4c 45 0a |in..END_|OF_FILE.|
|00000f20| 69 66 20 74 65 73 74 20 | 32 30 30 37 20 2d 6e 65 |if test |2007 -ne|
|00000f30| 20 60 77 63 20 2d 63 20 | 3c 27 52 45 41 44 4d 45 | `wc -c |<'README|
|00000f40| 27 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |'`; then|. ech|
|00000f50| 6f 20 73 68 61 72 3a 20 | 5c 22 27 52 45 41 44 4d |o shar: |\"'READM|
|00000f60| 45 27 5c 22 20 75 6e 70 | 61 63 6b 65 64 20 77 69 |E'\" unp|acked wi|
|00000f70| 74 68 20 77 72 6f 6e 67 | 20 73 69 7a 65 21 0a 66 |th wrong| size!.f|
|00000f80| 69 0a 23 20 65 6e 64 20 | 6f 66 20 27 52 45 41 44 |i.# end |of 'READ|
|00000f90| 4d 45 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |ME'.fi.i|f test -|
|00000fa0| 66 20 27 72 6f 66 66 27 | 20 2d 61 20 22 24 7b 31 |f 'roff'| -a "${1|
|00000fb0| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|00000fc0| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|00000fd0| 57 69 6c 6c 20 6e 6f 74 | 20 63 6c 6f 62 62 65 72 |Will not| clobber|
|00000fe0| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|00000ff0| 22 27 72 6f 66 66 27 5c | 22 0a 65 6c 73 65 0a 65 |"'roff'\|".else.e|
|00001000| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|00001010| 74 69 6e 67 20 5c 22 27 | 72 6f 66 66 27 5c 22 20 |ting \"'|roff'\" |
|00001020| 5c 28 31 31 36 33 20 63 | 68 61 72 61 63 74 65 72 |\(1163 c|haracter|
|00001030| 73 5c 29 0a 73 65 64 20 | 22 73 2f 5e 58 2f 2f 22 |s\).sed |"s/^X//"|
|00001040| 20 3e 27 72 6f 66 66 27 | 20 3c 3c 27 45 4e 44 5f | >'roff'| <<'END_|
|00001050| 4f 46 5f 46 49 4c 45 27 | 0a 58 23 21 2f 62 69 6e |OF_FILE'|.X#!/bin|
|00001060| 2f 73 68 0a 58 23 20 72 | 6f 66 66 20 62 79 20 42 |/sh.X# r|off by B|
|00001070| 72 69 61 6e 20 45 2e 20 | 4c 69 74 7a 69 6e 67 65 |rian E. |Litzinge|
|00001080| 72 0a 58 23 20 24 48 65 | 61 64 65 72 3a 20 72 6f |r.X# $He|ader: ro|
|00001090| 66 66 2c 76 20 31 2e 37 | 20 39 30 2f 30 31 2f 31 |ff,v 1.7| 90/01/1|
|000010a0| 37 20 30 30 3a 31 39 3a | 31 38 20 62 72 69 61 6e |7 00:19:|18 brian|
|000010b0| 20 45 78 70 20 24 0a 58 | 23 20 43 6f 6e 74 72 69 | Exp $.X|# Contri|
|000010c0| 62 75 74 69 6e 67 20 41 | 75 74 68 6f 72 73 3a 0a |buting A|uthors:.|
|000010d0| 58 23 20 20 20 20 20 4a | 65 66 66 20 47 6f 6c 64 |X# J|eff Gold|
|000010e0| 73 74 65 69 6e 2c 20 53 | 76 61 6e 74 65 20 4c 69 |stein, S|vante Li|
|000010f0| 6e 64 61 68 6c 2c 20 42 | 61 72 72 79 20 53 63 68 |ndahl, B|arry Sch|
|00001100| 77 61 72 74 7a 0a 58 23 | 0a 58 23 20 55 73 61 67 |wartz.X#|.X# Usag|
|00001110| 65 3a 20 20 72 6f 66 66 | 20 5b 20 2d 70 20 70 72 |e: roff| [ -p pr|
|00001120| 65 66 69 78 20 5d 20 5b | 20 6f 70 74 69 6f 6e 73 |efix ] [| options|
|00001130| 20 5d 20 66 69 6c 65 2d | 6e 61 6d 65 20 2e 2e 2e | ] file-|name ...|
|00001140| 0a 58 23 20 54 68 65 20 | 74 72 6f 66 66 2d 70 72 |.X# The |troff-pr|
|00001150| 65 66 69 78 20 69 73 20 | 74 68 65 20 66 69 72 73 |efix is |the firs|
|00001160| 74 20 70 61 72 74 20 6f | 66 20 74 68 65 20 74 72 |t part o|f the tr|
|00001170| 6f 66 66 20 63 6f 6d 6d | 61 6e 64 20 6e 61 6d 65 |off comm|and name|
|00001180| 2c 20 74 68 65 0a 58 23 | 20 73 65 63 6f 6e 64 20 |, the.X#| second |
|00001190| 70 61 72 74 20 62 65 69 | 6e 67 20 22 72 6f 66 66 |part bei|ng "roff|
|000011a0| 22 2e 20 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |". For |example,|
|000011b0| 20 74 79 70 65 0a 58 23 | 09 72 6f 66 66 20 2d 66 | type.X#|.roff -f|
|000011c0| 20 70 73 20 66 69 6c 65 | 0a 58 23 20 74 6f 20 72 | ps file|.X# to r|
|000011d0| 75 6e 20 74 68 65 20 66 | 69 6c 65 20 74 68 72 6f |un the f|ile thro|
|000011e0| 75 67 68 20 70 73 72 6f | 66 66 20 61 6e 64 20 74 |ugh psro|ff and t|
|000011f0| 68 65 20 61 70 70 72 6f | 70 72 69 61 74 65 20 66 |he appro|priate f|
|00001200| 69 6c 74 65 72 73 20 61 | 6e 64 20 6d 61 63 72 6f |ilters a|nd macro|
|00001210| 73 2e 0a 58 0a 58 54 52 | 4f 46 46 3d 65 72 6f 66 |s..X.XTR|OFF=erof|
|00001220| 66 0a 58 50 52 45 46 49 | 58 3d 65 0a 58 54 4d 50 |f.XPREFI|X=e.XTMP|
|00001230| 3d 2f 74 6d 70 2f 72 6f | 66 66 24 24 0a 58 69 66 |=/tmp/ro|ff$$.Xif|
|00001240| 20 5b 20 24 23 20 2d 6c | 74 20 31 20 5d 20 3b 20 | [ $# -l|t 1 ] ; |
|00001250| 74 68 65 6e 0a 58 20 20 | 20 20 65 63 68 6f 20 22 |then.X | echo "|
|00001260| 55 73 61 67 65 3a 20 20 | 60 62 61 73 65 6e 61 6d |Usage: |`basenam|
|00001270| 65 20 24 30 60 20 5b 20 | 2d 70 20 70 72 65 66 69 |e $0` [ |-p prefi|
|00001280| 78 20 5d 20 5b 6f 70 74 | 69 6f 6e 73 5d 20 66 69 |x ] [opt|ions] fi|
|00001290| 6c 65 73 22 0a 58 20 20 | 20 20 65 78 69 74 20 32 |les".X | exit 2|
|000012a0| 0a 58 66 69 0a 58 77 68 | 69 6c 65 20 5b 20 2d 6e |.Xfi.Xwh|ile [ -n|
|000012b0| 20 22 24 31 22 20 5d 20 | 3b 20 64 6f 0a 58 20 20 | "$1" ] |; do.X |
|000012c0| 20 20 63 61 73 65 20 22 | 24 31 22 20 69 6e 0a 58 | case "|$1" in.X|
|000012d0| 09 2d 70 29 0a 58 09 20 | 20 20 20 73 68 69 66 74 |.-p).X. | shift|
|000012e0| 0a 58 09 20 20 20 20 50 | 52 45 46 49 58 3d 24 31 |.X. P|REFIX=$1|
|000012f0| 0a 58 09 3b 3b 0a 58 09 | 2d 2a 29 0a 58 09 20 20 |.X.;;.X.|-*).X. |
|00001300| 20 20 61 72 67 73 3d 22 | 24 61 72 67 73 20 24 31 | args="|$args $1|
|00001310| 22 0a 58 09 3b 3b 0a 58 | 09 2a 29 0a 58 09 20 20 |".X.;;.X|.*).X. |
|00001320| 20 20 63 6f 6d 6d 61 6e | 64 5f 6c 69 6e 65 3d 22 | comman|d_line="|
|00001330| 60 73 65 64 20 2d 65 20 | 31 71 20 24 31 60 22 0a |`sed -e |1q $1`".|
|00001340| 58 09 20 20 20 20 62 3d | 22 60 65 63 68 6f 20 24 |X. b=|"`echo $|
|00001350| 63 6f 6d 6d 61 6e 64 5f | 6c 69 6e 65 20 7c 20 63 |command_|line | c|
|00001360| 75 74 20 2d 66 32 20 2d | 64 27 20 27 60 22 0a 58 |ut -f2 -|d' '`".X|
|00001370| 09 20 20 20 20 69 66 20 | 5b 20 22 24 62 22 20 21 |. if |[ "$b" !|
|00001380| 3d 20 22 65 78 65 63 22 | 20 5d 20 3b 20 74 68 65 |= "exec"| ] ; the|
|00001390| 6e 0a 58 09 09 65 63 68 | 6f 20 22 24 31 20 6e 6f |n.X..ech|o "$1 no|
|000013a0| 74 20 72 6f 66 66 20 66 | 6f 72 6d 61 74 20 66 69 |t roff f|ormat fi|
|000013b0| 6c 65 21 22 0a 58 09 09 | 65 78 69 74 20 32 0a 58 |le!".X..|exit 2.X|
|000013c0| 09 20 20 20 20 66 69 0a | 58 09 20 20 20 20 63 6f |. fi.|X. co|
|000013d0| 6d 6d 61 6e 64 3d 22 60 | 65 63 68 6f 20 24 63 6f |mmand="`|echo $co|
|000013e0| 6d 6d 61 6e 64 5f 6c 69 | 6e 65 20 7c 20 63 75 74 |mmand_li|ne | cut|
|000013f0| 20 2d 66 33 2d 20 2d 64 | 27 20 27 22 0a 58 09 20 | -f3- -d|' '".X. |
|00001400| 20 20 20 64 3d 22 73 65 | 64 20 2d 65 20 31 64 20 | d="se|d -e 1d |
|00001410| 24 31 20 7c 22 0a 58 09 | 20 20 20 20 66 6f 72 20 |$1 |".X.| for |
|00001420| 69 20 69 6e 20 24 63 6f | 6d 6d 61 6e 64 20 3b 20 |i in $co|mmand ; |
|00001430| 64 6f 0a 58 09 09 69 66 | 20 5b 20 22 24 69 22 20 |do.X..if| [ "$i" |
|00001440| 3d 20 27 24 46 27 20 5d | 20 3b 20 74 68 65 6e 0a |= '$F' ]| ; then.|
|00001450| 58 09 09 20 20 20 20 74 | 72 75 65 0a 58 09 09 65 |X.. t|rue.X..e|
|00001460| 6c 73 65 0a 58 09 09 20 | 20 20 20 69 66 20 5b 20 |lse.X.. | if [ |
|00001470| 22 24 69 22 20 3d 20 22 | 24 54 52 4f 46 46 22 20 |"$i" = "|$TROFF" |
|00001480| 5d 20 3b 20 74 68 65 6e | 0a 58 09 09 09 64 3d 22 |] ; then|.X...d="|
|00001490| 24 64 20 24 7b 50 52 45 | 46 49 58 7d 72 6f 66 66 |$d ${PRE|FIX}roff|
|000014a0| 20 24 61 72 67 73 22 0a | 58 09 09 20 20 20 20 65 | $args".|X.. e|
|000014b0| 6c 73 65 0a 58 09 09 09 | 64 3d 22 24 64 20 24 69 |lse.X...|d="$d $i|
|000014c0| 22 0a 58 09 09 20 20 20 | 20 66 69 0a 58 09 09 66 |".X.. | fi.X..f|
|000014d0| 69 0a 58 09 20 20 20 20 | 64 6f 6e 65 0a 58 09 20 |i.X. |done.X. |
|000014e0| 20 20 20 23 65 63 68 6f | 20 24 64 0a 58 09 20 20 | #echo| $d.X. |
|000014f0| 20 20 65 76 61 6c 20 24 | 64 0a 58 09 3b 3b 0a 58 | eval $|d.X.;;.X|
|00001500| 20 20 20 20 65 73 61 63 | 0a 58 20 20 20 20 73 68 | esac|.X sh|
|00001510| 69 66 74 0a 58 64 6f 6e | 65 0a 45 4e 44 5f 4f 46 |ift.Xdon|e.END_OF|
|00001520| 5f 46 49 4c 45 0a 69 66 | 20 74 65 73 74 20 31 31 |_FILE.if| test 11|
|00001530| 36 33 20 2d 6e 65 20 60 | 77 63 20 2d 63 20 3c 27 |63 -ne `|wc -c <'|
|00001540| 72 6f 66 66 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |roff'`; |then. |
|00001550| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 72 | echo sh|ar: \"'r|
|00001560| 6f 66 66 27 5c 22 20 75 | 6e 70 61 63 6b 65 64 20 |off'\" u|npacked |
|00001570| 77 69 74 68 20 77 72 6f | 6e 67 20 73 69 7a 65 21 |with wro|ng size!|
|00001580| 0a 66 69 0a 63 68 6d 6f | 64 20 2b 78 20 27 72 6f |.fi.chmo|d +x 'ro|
|00001590| 66 66 27 0a 23 20 65 6e | 64 20 6f 66 20 27 72 6f |ff'.# en|d of 'ro|
|000015a0| 66 66 27 0a 66 69 0a 65 | 63 68 6f 20 73 68 61 72 |ff'.fi.e|cho shar|
|000015b0| 3a 20 45 6e 64 20 6f 66 | 20 73 68 65 6c 6c 20 61 |: End of| shell a|
|000015c0| 72 63 68 69 76 65 2e 0a | 65 78 69 74 20 30 0a 0a |rchive..|exit 0..|
+--------+-------------------------+-------------------------+--------+--------+