home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / compsrcs / unix / volume03 / hyphen < prev    next >
SHell self-extracting ARchive  |  1988-09-11  |  4.1 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: hyphen

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
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 news or mail, 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)
100% xdgMime message/rfc822 default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 3a 20 53 74 | 65 77 61 72 74 20 4c 65 |From: St|ewart Le|
|00000010| 76 69 6e 20 3c 67 65 6e | 72 61 64 21 64 65 63 76 |vin <gen|rad!decv|
|00000020| 61 78 21 6d 61 7a 61 6d | 61 21 73 74 65 77 3e 0a |ax!mazam|a!stew>.|
|00000030| 53 75 62 6a 65 63 74 3a | 20 74 72 6f 66 66 20 68 |Subject:| troff h|
|00000040| 79 70 68 65 6e 61 74 69 | 6f 6e 20 75 74 69 6c 69 |yphenati|on utili|
|00000050| 74 79 0a 4e 65 77 73 67 | 72 6f 75 70 73 3a 20 6d |ty.Newsg|roups: m|
|00000060| 6f 64 2e 73 6f 75 72 63 | 65 73 0a 41 70 70 72 6f |od.sourc|es.Appro|
|00000070| 76 65 64 3a 20 6a 70 6e | 40 70 61 6e 64 61 2e 55 |ved: jpn|@panda.U|
|00000080| 55 43 50 0a 0a 4d 6f 64 | 2e 73 6f 75 72 63 65 73 |UCP..Mod|.sources|
|00000090| 3a 20 20 56 6f 6c 75 6d | 65 20 33 2c 20 49 73 73 |: Volum|e 3, Iss|
|000000a0| 75 65 20 36 37 0a 53 75 | 62 6d 69 74 74 65 64 20 |ue 67.Su|bmitted |
|000000b0| 62 79 3a 20 53 74 65 77 | 61 72 74 20 4c 65 76 69 |by: Stew|art Levi|
|000000c0| 6e 20 3c 67 65 6e 72 61 | 64 21 64 65 63 76 61 78 |n <genra|d!decvax|
|000000d0| 21 6d 61 7a 61 6d 61 21 | 73 74 65 77 3e 0a 0a 0a |!mazama!|stew>...|
|000000e0| 23 21 20 2f 62 69 6e 2f | 73 68 0a 23 20 54 68 69 |#! /bin/|sh.# Thi|
|000000f0| 73 20 69 73 20 61 20 73 | 68 65 6c 6c 20 61 72 63 |s is a s|hell arc|
|00000100| 68 69 76 65 2c 20 6d 65 | 61 6e 69 6e 67 3a 0a 23 |hive, me|aning:.#|
|00000110| 20 31 2e 20 52 65 6d 6f | 76 65 20 65 76 65 72 79 | 1. Remo|ve every|
|00000120| 74 68 69 6e 67 20 61 62 | 6f 76 65 20 74 68 65 20 |thing ab|ove the |
|00000130| 23 21 20 2f 62 69 6e 2f | 73 68 20 6c 69 6e 65 2e |#! /bin/|sh line.|
|00000140| 0a 23 20 32 2e 20 53 61 | 76 65 20 74 68 65 20 72 |.# 2. Sa|ve the r|
|00000150| 65 73 75 6c 74 69 6e 67 | 20 74 65 78 74 20 69 6e |esulting| text in|
|00000160| 20 61 20 66 69 6c 65 2e | 0a 23 20 33 2e 20 45 78 | a file.|.# 3. Ex|
|00000170| 65 63 75 74 65 20 74 68 | 65 20 66 69 6c 65 20 77 |ecute th|e file w|
|00000180| 69 74 68 20 2f 62 69 6e | 2f 73 68 20 28 6e 6f 74 |ith /bin|/sh (not|
|00000190| 20 63 73 68 29 20 74 6f | 20 63 72 65 61 74 65 20 | csh) to| create |
|000001a0| 74 68 65 20 66 69 6c 65 | 73 3a 0a 23 09 4d 61 6b |the file|s:.#.Mak|
|000001b0| 65 66 69 6c 65 0a 23 09 | 68 79 70 68 65 6e 2e 31 |efile.#.|hyphen.1|
|000001c0| 0a 23 09 68 79 70 68 65 | 6e 2e 6c 69 62 0a 23 09 |.#.hyphe|n.lib.#.|
|000001d0| 68 79 70 68 65 6e 2e 73 | 68 0a 23 20 54 68 69 73 |hyphen.s|h.# This|
|000001e0| 20 61 72 63 68 69 76 65 | 20 63 72 65 61 74 65 64 | archive| created|
|000001f0| 3a 20 54 75 65 20 44 65 | 63 20 32 34 20 30 39 3a |: Tue De|c 24 09:|
|00000200| 31 33 3a 34 37 20 31 39 | 38 35 0a 65 78 70 6f 72 |13:47 19|85.expor|
|00000210| 74 20 50 41 54 48 3b 20 | 50 41 54 48 3d 2f 62 69 |t PATH; |PATH=/bi|
|00000220| 6e 3a 24 50 41 54 48 0a | 65 63 68 6f 20 73 68 61 |n:$PATH.|echo sha|
|00000230| 72 3a 20 65 78 74 72 61 | 63 74 69 6e 67 20 22 27 |r: extra|cting "'|
|00000240| 4d 61 6b 65 66 69 6c 65 | 27 22 20 27 28 32 31 31 |Makefile|'" '(211|
|00000250| 20 63 68 61 72 61 63 74 | 65 72 73 29 27 0a 69 66 | charact|ers)'.if|
|00000260| 20 74 65 73 74 20 2d 66 | 20 27 4d 61 6b 65 66 69 | test -f| 'Makefi|
|00000270| 6c 65 27 0a 74 68 65 6e | 0a 09 65 63 68 6f 20 73 |le'.then|..echo s|
|00000280| 68 61 72 3a 20 77 69 6c | 6c 20 6e 6f 74 20 6f 76 |har: wil|l not ov|
|00000290| 65 72 2d 77 72 69 74 65 | 20 65 78 69 73 74 69 6e |er-write| existin|
|000002a0| 67 20 66 69 6c 65 20 22 | 27 4d 61 6b 65 66 69 6c |g file "|'Makefil|
|000002b0| 65 27 22 0a 65 6c 73 65 | 0a 63 61 74 20 3c 3c 20 |e'".else|.cat << |
|000002c0| 5c 53 48 41 52 5f 45 4f | 46 20 3e 20 27 4d 61 6b |\SHAR_EO|F > 'Mak|
|000002d0| 65 66 69 6c 65 27 0a 42 | 49 4e 3d 2f 75 73 72 2f |efile'.B|IN=/usr/|
|000002e0| 62 69 6e 2f 0a 4c 49 42 | 3d 2f 75 73 72 2f 6c 69 |bin/.LIB|=/usr/li|
|000002f0| 62 2f 0a 4d 41 4e 3d 2f | 75 73 72 2f 6d 61 6e 2f |b/.MAN=/|usr/man/|
|00000300| 6d 61 6e 31 0a 69 6e 73 | 74 61 6c 6c 3a 20 0a 09 |man1.ins|tall: ..|
|00000310| 73 65 64 20 2d 65 20 27 | 73 40 24 24 28 4c 49 42 |sed -e '|s@$$(LIB|
|00000320| 29 40 24 28 4c 49 42 29 | 40 27 20 3c 68 79 70 68 |)@$(LIB)|@' <hyph|
|00000330| 65 6e 2e 73 68 20 3e 68 | 79 70 68 65 6e 0a 09 69 |en.sh >h|yphen..i|
|00000340| 6e 73 74 61 6c 6c 20 2d | 6d 20 35 35 35 20 68 79 |nstall -|m 555 hy|
|00000350| 70 68 65 6e 20 24 28 42 | 49 4e 29 0a 09 69 6e 73 |phen $(B|IN)..ins|
|00000360| 74 61 6c 6c 20 2d 63 20 | 2d 6d 20 35 35 35 20 68 |tall -c |-m 555 h|
|00000370| 79 70 68 65 6e 2e 6c 69 | 62 20 24 28 4c 49 42 29 |yphen.li|b $(LIB)|
|00000380| 68 79 70 68 65 6e 0a 09 | 69 6e 73 74 61 6c 6c 20 |hyphen..|install |
|00000390| 2d 63 20 2d 6d 20 34 34 | 34 20 68 79 70 68 65 6e |-c -m 44|4 hyphen|
|000003a0| 2e 31 20 24 28 4d 41 4e | 29 0a 53 48 41 52 5f 45 |.1 $(MAN|).SHAR_E|
|000003b0| 4f 46 0a 69 66 20 74 65 | 73 74 20 32 31 31 20 2d |OF.if te|st 211 -|
|000003c0| 6e 65 20 22 60 77 63 20 | 2d 63 20 3c 20 27 4d 61 |ne "`wc |-c < 'Ma|
|000003d0| 6b 65 66 69 6c 65 27 60 | 22 0a 74 68 65 6e 0a 09 |kefile'`|".then..|
|000003e0| 65 63 68 6f 20 73 68 61 | 72 3a 20 65 72 72 6f 72 |echo sha|r: error|
|000003f0| 20 74 72 61 6e 73 6d 69 | 74 74 69 6e 67 20 22 27 | transmi|tting "'|
|00000400| 4d 61 6b 65 66 69 6c 65 | 27 22 20 27 28 73 68 6f |Makefile|'" '(sho|
|00000410| 75 6c 64 20 68 61 76 65 | 20 62 65 65 6e 20 32 31 |uld have| been 21|
|00000420| 31 20 63 68 61 72 61 63 | 74 65 72 73 29 27 0a 66 |1 charac|ters)'.f|
|00000430| 69 0a 66 69 0a 65 63 68 | 6f 20 73 68 61 72 3a 20 |i.fi.ech|o shar: |
|00000440| 65 78 74 72 61 63 74 69 | 6e 67 20 22 27 68 79 70 |extracti|ng "'hyp|
|00000450| 68 65 6e 2e 31 27 22 20 | 27 28 37 33 32 20 63 68 |hen.1'" |'(732 ch|
|00000460| 61 72 61 63 74 65 72 73 | 29 27 0a 69 66 20 74 65 |aracters|)'.if te|
|00000470| 73 74 20 2d 66 20 27 68 | 79 70 68 65 6e 2e 31 27 |st -f 'h|yphen.1'|
|00000480| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00000490| 3a 20 77 69 6c 6c 20 6e | 6f 74 20 6f 76 65 72 2d |: will n|ot over-|
|000004a0| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 20 66 |write ex|isting f|
|000004b0| 69 6c 65 20 22 27 68 79 | 70 68 65 6e 2e 31 27 22 |ile "'hy|phen.1'"|
|000004c0| 0a 65 6c 73 65 0a 63 61 | 74 20 3c 3c 20 5c 53 48 |.else.ca|t << \SH|
|000004d0| 41 52 5f 45 4f 46 20 3e | 20 27 68 79 70 68 65 6e |AR_EOF >| 'hyphen|
|000004e0| 2e 31 27 0a 2e 54 48 20 | 48 59 50 48 45 4e 20 31 |.1'..TH |HYPHEN 1|
|000004f0| 0a 2e 53 48 20 4e 41 4d | 45 0a 68 79 70 68 65 6e |..SH NAM|E.hyphen|
|00000500| 20 5c 2d 20 66 69 6c 74 | 65 72 20 74 72 6f 66 66 | \- filt|er troff|
|00000510| 20 69 6e 70 75 74 2c 20 | 69 6e 73 65 72 74 69 6e | input, |insertin|
|00000520| 67 20 63 6f 6e 64 69 74 | 69 6f 6e 61 6c 20 68 79 |g condit|ional hy|
|00000530| 70 68 65 6e 61 74 69 6f | 6e 0a 2e 53 48 20 53 59 |phenatio|n..SH SY|
|00000540| 4e 4f 50 53 49 53 0a 2e | 42 20 68 79 70 68 65 6e |NOPSIS..|B hyphen|
|00000550| 0a 5b 66 69 6c 65 31 20 | 66 69 6c 65 32 20 2e 2e |.[file1 |file2 ..|
|00000560| 2e 5d 0a 2e 53 48 20 44 | 45 53 43 52 49 50 54 49 |.]..SH D|ESCRIPTI|
|00000570| 4f 4e 0a 53 6f 6d 65 20 | 77 6f 72 64 73 20 61 72 |ON.Some |words ar|
|00000580| 65 20 65 78 63 65 70 74 | 69 6f 6e 73 20 74 6f 20 |e except|ions to |
|00000590| 74 72 6f 66 66 27 73 20 | 62 75 69 6c 74 20 69 6e |troff's |built in|
|000005a0| 20 68 79 70 68 65 6e 61 | 74 69 6f 6e 20 72 75 6c | hyphena|tion rul|
|000005b0| 65 73 2e 0a 57 68 69 6c | 65 20 74 72 6f 66 66 20 |es..Whil|e troff |
|000005c0| 68 61 73 20 61 20 6c 69 | 6d 69 74 65 64 20 66 61 |has a li|mited fa|
|000005d0| 63 69 6c 69 74 79 20 74 | 6f 20 68 61 6e 64 6c 65 |cility t|o handle|
|000005e0| 20 73 75 63 68 20 65 78 | 63 65 70 74 69 6f 6e 73 | such ex|ceptions|
|000005f0| 20 28 74 68 65 20 2e 68 | 77 0a 63 6f 6d 6d 61 6e | (the .h|w.comman|
|00000600| 64 29 2c 20 74 68 65 20 | 66 61 63 69 6c 69 74 79 |d), the |facility|
|00000610| 20 69 73 20 65 61 73 69 | 6c 79 20 6f 76 65 72 6c | is easi|ly overl|
|00000620| 6f 61 64 65 64 2e 0a 2e | 49 20 48 79 70 68 65 6e |oaded...|I Hyphen|
|00000630| 0a 69 73 20 61 6e 20 61 | 6c 74 65 72 6e 61 74 69 |.is an a|lternati|
|00000640| 76 65 20 74 68 61 74 20 | 69 6e 73 65 72 74 73 20 |ve that |inserts |
|00000650| 65 78 70 6c 69 63 69 74 | 20 63 6f 6e 64 69 74 69 |explicit| conditi|
|00000660| 6f 6e 61 6c 20 68 79 70 | 68 65 6e 61 74 69 6f 6e |onal hyp|henation|
|00000670| 0a 28 5c 65 25 29 20 69 | 6e 74 6f 20 61 20 73 79 |.(\e%) i|nto a sy|
|00000680| 73 74 65 6d 20 64 65 70 | 65 6e 64 65 6e 74 20 6c |stem dep|endent l|
|00000690| 69 73 74 20 6f 66 20 65 | 78 63 65 70 74 69 6f 6e |ist of e|xception|
|000006a0| 73 2e 0a 2e 73 70 0a 54 | 68 69 73 20 63 6f 6d 6d |s...sp.T|his comm|
|000006b0| 61 6e 64 20 63 6f 70 69 | 65 73 20 74 68 65 20 6e |and copi|es the n|
|000006c0| 61 6d 65 64 20 66 69 6c | 65 73 20 74 6f 20 73 74 |amed fil|es to st|
|000006d0| 61 6e 64 61 72 64 20 6f | 75 74 70 75 74 2c 20 69 |andard o|utput, i|
|000006e0| 6e 73 65 72 74 69 6e 67 | 0a 63 6f 6e 64 69 74 69 |nserting|.conditi|
|000006f0| 6f 6e 61 6c 20 68 79 70 | 68 65 6e 61 74 69 6f 6e |onal hyp|henation|
|00000700| 2e 20 20 49 66 20 6e 6f | 20 66 69 6c 65 73 20 61 |. If no| files a|
|00000710| 72 65 20 73 70 65 63 69 | 66 69 65 64 2c 20 73 74 |re speci|fied, st|
|00000720| 61 6e 64 61 72 64 20 69 | 6e 70 75 74 0a 69 73 20 |andard i|nput.is |
|00000730| 72 65 61 64 2e 0a 2e 53 | 48 20 46 49 4c 45 53 0a |read...S|H FILES.|
|00000740| 2f 75 73 72 2f 6c 69 62 | 2f 68 79 70 68 65 6e 09 |/usr/lib|/hyphen.|
|00000750| 09 65 64 69 74 6f 72 20 | 6c 69 73 74 20 6f 66 20 |.editor |list of |
|00000760| 77 6f 72 64 73 20 74 6f | 20 68 79 70 68 65 6e 61 |words to| hyphena|
|00000770| 74 65 0a 2e 53 48 20 22 | 53 45 45 20 41 4c 53 4f |te..SH "|SEE ALSO|
|00000780| 22 0a 73 65 64 28 31 29 | 2c 20 76 74 72 6f 66 66 |".sed(1)|, vtroff|
|00000790| 28 31 29 2c 20 65 71 6e | 28 31 29 2c 20 74 62 6c |(1), eqn|(1), tbl|
|000007a0| 28 31 29 0a 2e 53 48 20 | 41 55 54 48 4f 52 0a 53 |(1)..SH |AUTHOR.S|
|000007b0| 74 65 77 61 72 74 20 41 | 2e 20 4c 65 76 69 6e 0a |tewart A|. Levin.|
|000007c0| 53 48 41 52 5f 45 4f 46 | 0a 69 66 20 74 65 73 74 |SHAR_EOF|.if test|
|000007d0| 20 37 33 32 20 2d 6e 65 | 20 22 60 77 63 20 2d 63 | 732 -ne| "`wc -c|
|000007e0| 20 3c 20 27 68 79 70 68 | 65 6e 2e 31 27 60 22 0a | < 'hyph|en.1'`".|
|000007f0| 74 68 65 6e 0a 09 65 63 | 68 6f 20 73 68 61 72 3a |then..ec|ho shar:|
|00000800| 20 65 72 72 6f 72 20 74 | 72 61 6e 73 6d 69 74 74 | error t|ransmitt|
|00000810| 69 6e 67 20 22 27 68 79 | 70 68 65 6e 2e 31 27 22 |ing "'hy|phen.1'"|
|00000820| 20 27 28 73 68 6f 75 6c | 64 20 68 61 76 65 20 62 | '(shoul|d have b|
|00000830| 65 65 6e 20 37 33 32 20 | 63 68 61 72 61 63 74 65 |een 732 |characte|
|00000840| 72 73 29 27 0a 66 69 0a | 66 69 0a 65 63 68 6f 20 |rs)'.fi.|fi.echo |
|00000850| 73 68 61 72 3a 20 65 78 | 74 72 61 63 74 69 6e 67 |shar: ex|tracting|
|00000860| 20 22 27 68 79 70 68 65 | 6e 2e 6c 69 62 27 22 20 | "'hyphe|n.lib'" |
|00000870| 27 28 37 36 38 20 63 68 | 61 72 61 63 74 65 72 73 |'(768 ch|aracters|
|00000880| 29 27 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 68 |)'.if te|st -f 'h|
|00000890| 79 70 68 65 6e 2e 6c 69 | 62 27 0a 74 68 65 6e 0a |yphen.li|b'.then.|
|000008a0| 09 65 63 68 6f 20 73 68 | 61 72 3a 20 77 69 6c 6c |.echo sh|ar: will|
|000008b0| 20 6e 6f 74 20 6f 76 65 | 72 2d 77 72 69 74 65 20 | not ove|r-write |
|000008c0| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 22 27 |existing| file "'|
|000008d0| 68 79 70 68 65 6e 2e 6c | 69 62 27 22 0a 65 6c 73 |hyphen.l|ib'".els|
|000008e0| 65 0a 63 61 74 20 3c 3c | 20 5c 53 48 41 52 5f 45 |e.cat <<| \SHAR_E|
|000008f0| 4f 46 20 3e 20 27 68 79 | 70 68 65 6e 2e 6c 69 62 |OF > 'hy|phen.lib|
|00000900| 27 0a 73 2f 75 6e 6b 6e | 6f 77 6e 2f 75 6e 5c 5c |'.s/unkn|own/un\\|
|00000910| 25 6b 6e 6f 77 6e 2f 67 | 0a 73 2f 64 65 76 69 73 |%known/g|.s/devis|
|00000920| 65 64 2f 64 65 5c 5c 25 | 76 69 73 65 64 2f 67 0a |ed/de\\%|vised/g.|
|00000930| 73 2f 63 6f 6d 70 61 72 | 69 73 6f 6e 73 2f 63 6f |s/compar|isons/co|
|00000940| 6d 5c 5c 25 70 61 72 5c | 5c 25 69 5c 5c 25 73 6f |m\\%par\|\%i\\%so|
|00000950| 6e 73 2f 67 0a 73 2f 67 | 65 6f 70 68 79 73 69 63 |ns/g.s/g|eophysic|
|00000960| 61 6c 2f 67 65 5c 5c 25 | 6f 5c 5c 25 70 68 79 73 |al/ge\\%|o\\%phys|
|00000970| 5c 5c 25 69 5c 5c 25 63 | 61 6c 2f 67 0a 73 2f 62 |\\%i\\%c|al/g.s/b|
|00000980| 6f 75 6e 64 61 72 79 2f | 62 6f 75 6e 64 5c 5c 25 |oundary/|bound\\%|
|00000990| 61 5c 5c 25 72 79 2f 67 | 0a 73 2f 74 72 69 67 6f |a\\%ry/g|.s/trigo|
|000009a0| 6e 6f 6d 65 74 72 69 63 | 2f 74 72 69 67 5c 5c 25 |nometric|/trig\\%|
|000009b0| 6f 5c 5c 25 6e 6f 5c 5c | 25 6d 65 74 5c 5c 25 72 |o\\%no\\|%met\\%r|
|000009c0| 69 63 2f 67 0a 73 2f 76 | 65 6c 6f 63 69 74 79 2f |ic/g.s/v|elocity/|
|000009d0| 76 65 5c 5c 25 6c 6f 63 | 5c 5c 25 69 5c 5c 25 74 |ve\\%loc|\\%i\\%t|
|000009e0| 79 2f 67 0a 73 2f 6b 69 | 6c 6f 6d 65 74 65 72 2f |y/g.s/ki|lometer/|
|000009f0| 6b 69 6c 5c 5c 25 6f 5c | 5c 25 6d 65 5c 5c 25 74 |kil\\%o\|\%me\\%t|
|00000a00| 65 72 2f 67 0a 73 2f 70 | 72 65 73 74 61 63 6b 2f |er/g.s/p|restack/|
|00000a10| 70 72 65 5c 5c 25 73 74 | 61 63 6b 2f 67 0a 73 2f |pre\\%st|ack/g.s/|
|00000a20| 75 6e 66 61 6d 69 6c 69 | 61 72 69 74 79 2f 75 6e |unfamili|arity/un|
|00000a30| 5c 5c 25 66 61 5c 5c 25 | 6d 69 6c 5c 5c 25 69 61 |\\%fa\\%|mil\\%ia|
|00000a40| 72 5c 5c 25 69 5c 5c 25 | 74 79 2f 67 0a 73 2f 61 |r\\%i\\%|ty/g.s/a|
|00000a50| 63 6b 6e 6f 77 6c 65 64 | 67 65 2f 61 63 5c 5c 25 |cknowled|ge/ac\\%|
|00000a60| 6b 6e 6f 77 6c 5c 5c 25 | 65 64 67 65 2f 67 0a 73 |knowl\\%|edge/g.s|
|00000a70| 2f 63 72 79 73 74 61 6c | 73 2f 63 72 79 73 5c 5c |/crystal|s/crys\\|
|00000a80| 25 74 61 6c 73 2f 67 0a | 73 2f 65 78 74 72 61 70 |%tals/g.|s/extrap|
|00000a90| 6f 6c 61 74 69 6f 6e 2f | 65 78 5c 5c 25 74 72 61 |olation/|ex\\%tra|
|00000aa0| 70 5c 5c 25 6f 5c 5c 25 | 6c 61 5c 5c 25 74 69 6f |p\\%o\\%|la\\%tio|
|00000ab0| 6e 2f 67 0a 73 2f 66 61 | 6d 69 6c 69 61 72 2f 66 |n/g.s/fa|miliar/f|
|00000ac0| 61 5c 5c 25 6d 69 6c 5c | 5c 25 69 61 72 2f 67 0a |a\\%mil\|\%iar/g.|
|00000ad0| 73 2f 70 72 6f 70 61 67 | 61 74 69 6e 67 2f 70 72 |s/propag|ating/pr|
|00000ae0| 6f 70 5c 5c 25 61 5c 5c | 25 67 61 5c 5c 25 74 69 |op\\%a\\|%ga\\%ti|
|00000af0| 6e 67 2f 67 0a 73 2f 70 | 61 72 74 69 63 69 70 61 |ng/g.s/p|articipa|
|00000b00| 74 65 2f 70 61 72 5c 5c | 25 74 69 63 5c 5c 25 69 |te/par\\|%tic\\%i|
|00000b10| 5c 5c 25 70 61 74 65 2f | 67 0a 73 2f 64 65 73 74 |\\%pate/|g.s/dest|
|00000b20| 72 6f 79 2f 64 65 5c 5c | 25 73 74 72 6f 79 2f 67 |roy/de\\|%stroy/g|
|00000b30| 0a 73 2f 70 61 72 61 6d | 65 74 65 72 2f 70 61 5c |.s/param|eter/pa\|
|00000b40| 5c 25 72 61 6d 5c 5c 25 | 65 5c 5c 25 74 65 72 2f |\%ram\\%|e\\%ter/|
|00000b50| 67 0a 73 2f 73 65 6d 69 | 63 69 72 63 75 6c 61 72 |g.s/semi|circular|
|00000b60| 2f 73 65 6d 5c 5c 25 69 | 5c 5c 25 63 69 72 5c 5c |/sem\\%i|\\%cir\\|
|00000b70| 25 63 75 5c 5c 25 6c 61 | 72 2f 67 0a 73 2f 73 65 |%cu\\%la|r/g.s/se|
|00000b80| 6d 69 63 69 72 63 6c 65 | 2f 73 65 6d 5c 5c 25 69 |micircle|/sem\\%i|
|00000b90| 5c 5c 25 63 69 72 5c 5c | 25 63 6c 65 2f 67 0a 73 |\\%cir\\|%cle/g.s|
|00000ba0| 2f 67 72 61 64 75 61 74 | 65 2f 67 72 61 64 5c 5c |/graduat|e/grad\\|
|00000bb0| 25 75 5c 5c 25 61 74 65 | 2f 67 0a 73 2f 77 72 61 |%u\\%ate|/g.s/wra|
|00000bc0| 70 61 72 6f 75 6e 64 2f | 77 72 61 70 5c 5c 25 61 |paround/|wrap\\%a|
|00000bd0| 72 6f 75 6e 64 2f 67 0a | 73 2f 73 65 6d 69 64 65 |round/g.|s/semide|
|00000be0| 66 69 6e 69 74 65 2f 73 | 65 6d 5c 5c 25 69 5c 5c |finite/s|em\\%i\\|
|00000bf0| 25 64 65 66 5c 5c 25 69 | 5c 5c 25 6e 69 74 65 2f |%def\\%i|\\%nite/|
|00000c00| 67 0a 53 48 41 52 5f 45 | 4f 46 0a 69 66 20 74 65 |g.SHAR_E|OF.if te|
|00000c10| 73 74 20 37 36 38 20 2d | 6e 65 20 22 60 77 63 20 |st 768 -|ne "`wc |
|00000c20| 2d 63 20 3c 20 27 68 79 | 70 68 65 6e 2e 6c 69 62 |-c < 'hy|phen.lib|
|00000c30| 27 60 22 0a 74 68 65 6e | 0a 09 65 63 68 6f 20 73 |'`".then|..echo s|
|00000c40| 68 61 72 3a 20 65 72 72 | 6f 72 20 74 72 61 6e 73 |har: err|or trans|
|00000c50| 6d 69 74 74 69 6e 67 20 | 22 27 68 79 70 68 65 6e |mitting |"'hyphen|
|00000c60| 2e 6c 69 62 27 22 20 27 | 28 73 68 6f 75 6c 64 20 |.lib'" '|(should |
|00000c70| 68 61 76 65 20 62 65 65 | 6e 20 37 36 38 20 63 68 |have bee|n 768 ch|
|00000c80| 61 72 61 63 74 65 72 73 | 29 27 0a 66 69 0a 66 69 |aracters|)'.fi.fi|
|00000c90| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 65 78 74 72 |.echo sh|ar: extr|
|00000ca0| 61 63 74 69 6e 67 20 22 | 27 68 79 70 68 65 6e 2e |acting "|'hyphen.|
|00000cb0| 73 68 27 22 20 27 28 36 | 33 39 20 63 68 61 72 61 |sh'" '(6|39 chara|
|00000cc0| 63 74 65 72 73 29 27 0a | 69 66 20 74 65 73 74 20 |cters)'.|if test |
|00000cd0| 2d 66 20 27 68 79 70 68 | 65 6e 2e 73 68 27 0a 74 |-f 'hyph|en.sh'.t|
|00000ce0| 68 65 6e 0a 09 65 63 68 | 6f 20 73 68 61 72 3a 20 |hen..ech|o shar: |
|00000cf0| 77 69 6c 6c 20 6e 6f 74 | 20 6f 76 65 72 2d 77 72 |will not| over-wr|
|00000d00| 69 74 65 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ite exis|ting fil|
|00000d10| 65 20 22 27 68 79 70 68 | 65 6e 2e 73 68 27 22 0a |e "'hyph|en.sh'".|
|00000d20| 65 6c 73 65 0a 63 61 74 | 20 3c 3c 20 5c 53 48 41 |else.cat| << \SHA|
|00000d30| 52 5f 45 4f 46 20 3e 20 | 27 68 79 70 68 65 6e 2e |R_EOF > |'hyphen.|
|00000d40| 73 68 27 0a 23 21 20 2f | 62 69 6e 2f 73 68 0a 3a |sh'.#! /|bin/sh.:|
|00000d50| 20 73 68 65 6c 6c 20 20 | 68 79 70 68 65 6e 0a 69 | shell |hyphen.i|
|00000d60| 66 20 7b 20 5b 20 5c 28 | 20 2d 74 20 30 20 5c 29 |f { [ \(| -t 0 \)|
|00000d70| 20 20 2d 61 20 20 5c 28 | 20 30 20 3d 20 24 23 20 | -a \(| 0 = $# |
|00000d80| 5c 29 20 5d 20 3b 20 7d | 20 74 68 65 6e 20 5c 0a |\) ] ; }| then \.|
|00000d90| 7b 20 63 61 74 20 3c 3c | 44 41 54 41 20 3b 20 7d |{ cat <<|DATA ; }|
|00000da0| 0a 2f 2a 0a 66 69 6c 74 | 65 72 20 74 72 6f 66 66 |./*.filt|er troff|
|00000db0| 20 69 6e 70 75 74 2c 20 | 69 6e 73 65 72 74 69 6e | input, |insertin|
|00000dc0| 67 20 63 6f 6e 64 69 74 | 69 6f 6e 61 6c 20 68 79 |g condit|ional hy|
|00000dd0| 70 68 65 6e 61 74 69 6f | 6e 0a 20 20 0a 68 79 70 |phenatio|n. .hyp|
|00000de0| 68 65 6e 20 20 5b 20 66 | 69 6c 65 31 20 66 69 6c |hen [ f|ile1 fil|
|00000df0| 65 32 20 2e 2e 2e 20 5d | 0a 20 20 0a 70 61 72 61 |e2 ... ]|. .para|
|00000e00| 6d 65 74 65 72 73 3a 0a | 09 66 69 6c 65 09 09 74 |meters:.|.file..t|
|00000e10| 72 6f 66 66 20 66 69 6c | 65 28 73 29 20 74 6f 20 |roff fil|e(s) to |
|00000e20| 63 6f 6e 64 69 74 69 6f | 6e 61 6c 6c 79 20 68 79 |conditio|nally hy|
|00000e30| 70 68 65 6e 61 74 65 2e | 20 44 65 66 61 75 6c 74 |phenate.| Default|
|00000e40| 20 69 73 0a 09 09 09 73 | 74 61 6e 64 61 72 64 20 | is....s|tandard |
|00000e50| 69 6e 70 75 74 2e 0a 64 | 69 73 63 75 73 73 69 6f |input..d|iscussio|
|00000e60| 6e 3a 0a 53 6f 6d 65 20 | 77 6f 72 64 73 20 61 72 |n:.Some |words ar|
|00000e70| 65 20 65 78 63 65 70 74 | 69 6f 6e 73 20 74 6f 20 |e except|ions to |
|00000e80| 74 72 6f 66 66 27 73 20 | 62 75 69 6c 74 20 69 6e |troff's |built in|
|00000e90| 20 68 79 70 68 65 6e 61 | 74 69 6f 6e 20 72 75 6c | hyphena|tion rul|
|00000ea0| 65 73 2e 0a 57 68 69 6c | 65 20 74 72 6f 66 66 20 |es..Whil|e troff |
|00000eb0| 68 61 73 20 61 20 6c 69 | 6d 69 74 65 64 20 66 61 |has a li|mited fa|
|00000ec0| 63 69 6c 69 74 79 20 74 | 6f 20 68 61 6e 64 6c 65 |cility t|o handle|
|00000ed0| 20 73 75 63 68 20 65 78 | 63 65 70 74 69 6f 6e 73 | such ex|ceptions|
|00000ee0| 20 28 74 68 65 0a 2e 68 | 77 20 63 6f 6d 6d 61 6e | (the..h|w comman|
|00000ef0| 64 29 2c 20 74 68 65 20 | 66 61 63 69 6c 69 74 79 |d), the |facility|
|00000f00| 20 69 73 20 65 61 73 69 | 6c 79 20 6f 76 65 72 6c | is easi|ly overl|
|00000f10| 6f 61 64 65 64 2e 20 20 | 54 68 69 73 20 70 72 6f |oaded. |This pro|
|00000f20| 67 72 61 6d 0a 69 73 20 | 61 6e 20 61 6c 74 65 72 |gram.is |an alter|
|00000f30| 6e 61 74 69 76 65 20 74 | 68 61 74 20 69 6e 73 65 |native t|hat inse|
|00000f40| 72 74 73 20 65 78 70 6c | 69 63 69 74 20 63 6f 6e |rts expl|icit con|
|00000f50| 64 69 74 69 6f 6e 61 6c | 20 68 79 70 68 65 6e 61 |ditional| hyphena|
|00000f60| 74 69 6f 6e 0a 28 5c 25 | 29 20 69 6e 74 6f 20 61 |tion.(\%|) into a|
|00000f70| 20 73 79 73 74 65 6d 20 | 64 65 70 65 6e 64 65 6e | system |dependen|
|00000f80| 74 20 6c 69 73 74 20 6f | 66 20 65 78 63 65 70 74 |t list o|f except|
|00000f90| 69 6f 6e 73 2e 0a 2a 2f | 0a 44 41 54 41 0a 65 6c |ions..*/|.DATA.el|
|00000fa0| 73 65 20 7b 20 73 65 64 | 20 2d 66 20 24 28 4c 49 |se { sed| -f $(LI|
|00000fb0| 42 29 68 79 70 68 65 6e | 20 24 2a 20 3b 20 7d 0a |B)hyphen| $* ; }.|
|00000fc0| 66 69 0a 53 48 41 52 5f | 45 4f 46 0a 69 66 20 74 |fi.SHAR_|EOF.if t|
|00000fd0| 65 73 74 20 36 33 39 20 | 2d 6e 65 20 22 60 77 63 |est 639 |-ne "`wc|
|00000fe0| 20 2d 63 20 3c 20 27 68 | 79 70 68 65 6e 2e 73 68 | -c < 'h|yphen.sh|
|00000ff0| 27 60 22 0a 74 68 65 6e | 0a 09 65 63 68 6f 20 73 |'`".then|..echo s|
|00001000| 68 61 72 3a 20 65 72 72 | 6f 72 20 74 72 61 6e 73 |har: err|or trans|
|00001010| 6d 69 74 74 69 6e 67 20 | 22 27 68 79 70 68 65 6e |mitting |"'hyphen|
|00001020| 2e 73 68 27 22 20 27 28 | 73 68 6f 75 6c 64 20 68 |.sh'" '(|should h|
|00001030| 61 76 65 20 62 65 65 6e | 20 36 33 39 20 63 68 61 |ave been| 639 cha|
|00001040| 72 61 63 74 65 72 73 29 | 27 0a 66 69 0a 66 69 0a |racters)|'.fi.fi.|
|00001050| 65 78 69 74 20 30 0a 23 | 09 45 6e 64 20 6f 66 20 |exit 0.#|.End of |
|00001060| 73 68 65 6c 6c 20 61 72 | 63 68 69 76 65 0a |shell ar|chive. |
+--------+-------------------------+-------------------------+--------+--------+