home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / compsrcs / misc / volume04 / mailsplt.2 < prev    next >
SHell self-extracting ARchive  |  1991-08-27  |  22.6 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: mailsplt.2

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, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK 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/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 75 75 | 6e 65 74 21 6c 6c 6c 2d |Path: uu|net!lll-|
|00000010| 77 69 6e 6b 65 6e 21 6c | 6c 6c 2d 74 69 73 21 61 |winken!l|ll-tis!a|
|00000020| 6d 65 73 21 6e 65 63 6e | 74 63 21 6e 63 6f 61 73 |mes!necn|tc!ncoas|
|00000030| 74 21 61 6c 6c 62 65 72 | 79 0a 46 72 6f 6d 3a 20 |t!allber|y.From: |
|00000040| 77 79 6c 65 40 6c 61 76 | 69 2e 75 75 63 70 0a 4e |wyle@lav|i.uucp.N|
|00000050| 65 77 73 67 72 6f 75 70 | 73 3a 20 63 6f 6d 70 2e |ewsgroup|s: comp.|
|00000060| 73 6f 75 72 63 65 73 2e | 6d 69 73 63 0a 53 75 62 |sources.|misc.Sub|
|00000070| 6a 65 63 74 3a 20 76 30 | 34 69 30 30 31 3a 20 6d |ject: v0|4i001: m|
|00000080| 61 69 6c 73 70 6c 69 74 | 20 32 2e 30 20 72 65 6c |ailsplit| 2.0 rel|
|00000090| 65 61 73 65 0a 4d 65 73 | 73 61 67 65 2d 49 44 3a |ease.Mes|sage-ID:|
|000000a0| 20 3c 38 38 30 37 32 35 | 31 30 35 38 2e 41 41 31 | <880725|1058.AA1|
|000000b0| 39 31 39 34 40 6c 61 76 | 69 2e 75 75 63 70 3e 0a |9194@lav|i.uucp>.|
|000000c0| 44 61 74 65 3a 20 32 20 | 41 75 67 20 38 38 20 30 |Date: 2 |Aug 88 0|
|000000d0| 31 3a 31 31 3a 35 31 20 | 47 4d 54 0a 53 65 6e 64 |1:11:51 |GMT.Send|
|000000e0| 65 72 3a 20 61 6c 6c 62 | 65 72 79 40 6e 63 6f 61 |er: allb|ery@ncoa|
|000000f0| 73 74 2e 55 55 43 50 0a | 52 65 70 6c 79 2d 54 6f |st.UUCP.|Reply-To|
|00000100| 3a 20 77 79 6c 65 40 6c | 61 76 69 2e 75 75 63 70 |: wyle@l|avi.uucp|
|00000110| 0a 4c 69 6e 65 73 3a 20 | 37 32 33 0a 41 70 70 72 |.Lines: |723.Appr|
|00000120| 6f 76 65 64 3a 20 61 6c | 6c 62 65 72 79 40 6e 63 |oved: al|lbery@nc|
|00000130| 6f 61 73 74 2e 55 55 43 | 50 0a 0a 50 6f 73 74 69 |oast.UUC|P..Posti|
|00000140| 6e 67 2d 6e 75 6d 62 65 | 72 3a 20 56 6f 6c 75 6d |ng-numbe|r: Volum|
|00000150| 65 20 34 2c 20 49 73 73 | 75 65 20 31 0a 53 75 62 |e 4, Iss|ue 1.Sub|
|00000160| 6d 69 74 74 65 64 2d 62 | 79 3a 20 22 41 2e 20 4e |mitted-b|y: "A. N|
|00000170| 6f 6e 79 6d 6f 75 73 22 | 20 3c 77 79 6c 65 40 6c |onymous"| <wyle@l|
|00000180| 61 76 69 2e 75 75 63 70 | 3e 0a 41 72 63 68 69 76 |avi.uucp|>.Archiv|
|00000190| 65 2d 6e 61 6d 65 3a 20 | 6d 61 69 6c 73 70 6c 69 |e-name: |mailspli|
|000001a0| 74 32 0a 0a 5b 41 70 6f | 6c 6f 67 69 65 73 20 66 |t2..[Apo|logies f|
|000001b0| 6f 72 20 74 68 65 20 64 | 65 6c 61 79 73 20 2d 2d |or the d|elays --|
|000001c0| 20 79 6f 75 20 76 65 72 | 79 20 6e 65 61 72 6c 79 | you ver|y nearly|
|000001d0| 20 6c 6f 73 74 20 61 20 | 6d 6f 64 65 72 61 74 6f | lost a |moderato|
|000001e0| 72 20 6f 76 65 72 20 74 | 68 65 20 70 61 73 74 0a |r over t|he past.|
|000001f0| 77 65 65 6b 2c 20 64 75 | 65 20 74 6f 20 69 6e 74 |week, du|e to int|
|00000200| 65 72 6e 61 6c 20 70 6f | 6c 69 74 69 63 73 20 6f |ernal po|litics o|
|00000210| 6e 20 6e 63 6f 61 73 74 | 2e 20 20 53 69 67 68 2e |n ncoast|. Sigh.|
|00000220| 20 20 2b 2b 62 73 61 5d | 0a 0a 48 65 72 65 20 69 | ++bsa]|..Here i|
|00000230| 73 20 6d 61 69 6c 73 70 | 6c 69 74 20 32 2e 30 2e |s mailsp|lit 2.0.|
|00000240| 20 20 49 74 20 68 61 73 | 20 66 6c 61 67 73 2c 20 | It has| flags, |
|00000250| 6f 70 74 69 6f 6e 73 2c | 20 62 75 7a 7a 65 72 73 |options,| buzzers|
|00000260| 2c 20 77 68 69 73 74 6c | 65 73 2c 20 63 68 65 63 |, whistl|es, chec|
|00000270| 6b 73 2c 0a 64 65 62 75 | 67 20 6f 70 74 69 6f 6e |ks,.debu|g option|
|00000280| 73 2c 20 61 20 6d 61 6e | 20 70 61 67 65 2c 20 65 |s, a man| page, e|
|00000290| 74 63 2e 20 20 45 6e 6a | 6f 79 20 69 74 2c 20 61 |tc. Enj|oy it, a|
|000002a0| 6e 64 20 70 6c 65 61 73 | 65 20 73 65 6e 64 20 6d |nd pleas|e send m|
|000002b0| 65 20 62 75 67 73 2c 0a | 63 6f 6d 6d 65 6e 74 73 |e bugs,.|comments|
|000002c0| 2c 20 73 75 67 67 65 73 | 74 69 6f 6e 73 2e 20 20 |, sugges|tions. |
|000002d0| 50 61 73 73 20 69 74 20 | 6f 6e 2e 0a 0a 23 21 20 |Pass it |on...#! |
|000002e0| 2f 62 69 6e 2f 73 68 0a | 23 20 54 68 69 73 20 69 |/bin/sh.|# This i|
|000002f0| 73 20 61 20 73 68 65 6c | 6c 20 61 72 63 68 69 76 |s a shel|l archiv|
|00000300| 65 2c 20 6d 65 61 6e 69 | 6e 67 3a 0a 23 20 31 2e |e, meani|ng:.# 1.|
|00000310| 20 52 65 6d 6f 76 65 20 | 65 76 65 72 79 74 68 69 | Remove |everythi|
|00000320| 6e 67 20 61 62 6f 76 65 | 20 74 68 65 20 23 21 20 |ng above| the #! |
|00000330| 2f 62 69 6e 2f 73 68 20 | 6c 69 6e 65 2e 0a 23 20 |/bin/sh |line..# |
|00000340| 32 2e 20 53 61 76 65 20 | 74 68 65 20 72 65 73 75 |2. Save |the resu|
|00000350| 6c 74 69 6e 67 20 74 65 | 78 74 20 69 6e 20 61 20 |lting te|xt in a |
|00000360| 66 69 6c 65 2e 0a 23 20 | 33 2e 20 45 78 65 63 75 |file..# |3. Execu|
|00000370| 74 65 20 74 68 65 20 66 | 69 6c 65 20 77 69 74 68 |te the f|ile with|
|00000380| 20 2f 62 69 6e 2f 73 68 | 20 28 6e 6f 74 20 63 73 | /bin/sh| (not cs|
|00000390| 68 29 20 74 6f 20 63 72 | 65 61 74 65 3a 0a 23 09 |h) to cr|eate:.#.|
|000003a0| 52 45 41 44 4d 45 0a 23 | 09 6d 61 69 6c 73 70 6c |README.#|.mailspl|
|000003b0| 69 74 0a 23 09 6d 61 69 | 6c 73 70 6c 69 74 2e 31 |it.#.mai|lsplit.1|
|000003c0| 0a 23 09 75 6e 64 6f 63 | 0a 23 20 54 68 69 73 20 |.#.undoc|.# This |
|000003d0| 61 72 63 68 69 76 65 20 | 63 72 65 61 74 65 64 3a |archive |created:|
|000003e0| 20 4d 6f 6e 20 4a 75 6c | 20 32 35 20 31 31 3a 35 | Mon Jul| 25 11:5|
|000003f0| 31 3a 31 32 20 31 39 38 | 38 0a 65 78 70 6f 72 74 |1:12 198|8.export|
|00000400| 20 50 41 54 48 3b 20 50 | 41 54 48 3d 2f 62 69 6e | PATH; P|ATH=/bin|
|00000410| 3a 2f 75 73 72 2f 62 69 | 6e 3a 24 50 41 54 48 0a |:/usr/bi|n:$PATH.|
|00000420| 69 66 20 74 65 73 74 20 | 2d 66 20 27 52 45 41 44 |if test |-f 'READ|
|00000430| 4d 45 27 0a 74 68 65 6e | 0a 09 65 63 68 6f 20 73 |ME'.then|..echo s|
|00000440| 68 61 72 3a 20 22 77 69 | 6c 6c 20 6e 6f 74 20 6f |har: "wi|ll not o|
|00000450| 76 65 72 2d 77 72 69 74 | 65 20 65 78 69 73 74 69 |ver-writ|e existi|
|00000460| 6e 67 20 66 69 6c 65 20 | 27 52 45 41 44 4d 45 27 |ng file |'README'|
|00000470| 22 0a 65 6c 73 65 0a 63 | 61 74 20 3c 3c 20 5c 53 |".else.c|at << \S|
|00000480| 48 41 52 5f 45 4f 46 20 | 3e 20 27 52 45 41 44 4d |HAR_EOF |> 'READM|
|00000490| 45 27 0a 6d 61 69 6c 73 | 70 6c 69 74 20 73 65 6e |E'.mails|plit sen|
|000004a0| 64 73 20 66 69 6c 65 73 | 20 61 6e 64 2f 6f 72 20 |ds files| and/or |
|000004b0| 64 69 72 65 63 74 6f 72 | 69 65 73 20 76 69 61 20 |director|ies via |
|000004c0| 65 2d 6d 61 69 6c 20 75 | 73 69 6e 67 20 74 61 72 |e-mail u|sing tar|
|000004d0| 2c 0a 63 6f 6d 70 72 65 | 73 73 2c 20 65 74 63 2e |,.compre|ss, etc.|
|000004e0| 20 20 49 74 20 73 65 6e | 64 73 20 61 6e 20 61 77 | It sen|ds an aw|
|000004f0| 6b 2d 73 63 72 69 70 74 | 20 74 6f 20 72 65 2d 61 |k-script| to re-a|
|00000500| 73 73 65 6d 62 6c 65 20 | 74 68 65 20 70 69 65 63 |ssemble |the piec|
|00000510| 65 73 20 61 74 20 74 68 | 65 0a 72 65 63 65 69 76 |es at th|e.receiv|
|00000520| 69 6e 67 20 73 69 64 65 | 2e 20 20 49 74 20 69 73 |ing side|. It is|
|00000530| 20 75 73 65 66 75 6c 20 | 66 6f 72 20 73 65 6e 64 | useful |for send|
|00000540| 69 6e 67 20 64 69 72 65 | 63 74 6f 72 69 65 73 20 |ing dire|ctories |
|00000550| 61 6e 64 20 6c 61 72 67 | 65 20 69 6d 61 67 65 73 |and larg|e images|
|00000560| 0a 61 72 6f 75 6e 64 20 | 77 68 65 6e 20 79 6f 75 |.around |when you|
|00000570| 20 64 6f 6e 27 74 20 68 | 61 76 65 20 66 74 70 2c | don't h|ave ftp,|
|00000580| 20 6f 72 20 79 6f 75 20 | 68 61 76 65 20 74 6f 20 | or you |have to |
|00000590| 63 72 6f 73 73 20 65 2d | 6d 61 69 6c 20 6e 65 74 |cross e-|mail net|
|000005a0| 77 6f 72 6b 0a 62 6f 75 | 6e 64 61 72 69 65 73 2e |work.bou|ndaries.|
|000005b0| 0a 0a 49 74 20 69 73 20 | 61 20 42 6f 75 72 6e 65 |..It is |a Bourne|
|000005c0| 2d 73 68 65 6c 6c 20 73 | 63 72 69 70 74 2e 20 20 |-shell s|cript. |
|000005d0| 52 65 61 64 20 74 68 65 | 20 6f 76 65 72 2d 62 6c |Read the| over-bl|
|000005e0| 6f 77 6e 20 6d 61 6e 2d | 70 61 67 65 2e 20 20 53 |own man-|page. S|
|000005f0| 65 6e 64 20 6d 65 0a 69 | 64 65 61 73 20 66 6f 72 |end me.i|deas for|
|00000600| 20 69 6d 70 72 6f 76 65 | 6d 65 6e 74 73 2c 20 62 | improve|ments, b|
|00000610| 75 67 20 72 65 70 6f 72 | 74 73 2e 0a 0a 2d 4d 69 |ug repor|ts...-Mi|
|00000620| 74 63 68 20 20 28 77 79 | 6c 65 40 65 74 68 7a 2e |tch (wy|le@ethz.|
|00000630| 75 75 63 70 29 0a 53 48 | 41 52 5f 45 4f 46 0a 66 |uucp).SH|AR_EOF.f|
|00000640| 69 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 6d 61 |i.if tes|t -f 'ma|
|00000650| 69 6c 73 70 6c 69 74 27 | 0a 74 68 65 6e 0a 09 65 |ilsplit'|.then..e|
|00000660| 63 68 6f 20 73 68 61 72 | 3a 20 22 77 69 6c 6c 20 |cho shar|: "will |
|00000670| 6e 6f 74 20 6f 76 65 72 | 2d 77 72 69 74 65 20 65 |not over|-write e|
|00000680| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 27 6d 61 |xisting |file 'ma|
|00000690| 69 6c 73 70 6c 69 74 27 | 22 0a 65 6c 73 65 0a 63 |ilsplit'|".else.c|
|000006a0| 61 74 20 3c 3c 20 5c 53 | 48 41 52 5f 45 4f 46 20 |at << \S|HAR_EOF |
|000006b0| 3e 20 27 6d 61 69 6c 73 | 70 6c 69 74 27 0a 23 21 |> 'mails|plit'.#!|
|000006c0| 20 2f 62 69 6e 2f 73 68 | 0a 23 0a 23 20 6d 61 69 | /bin/sh|.#.# mai|
|000006d0| 6c 73 70 6c 69 74 3a 20 | 20 20 20 20 41 20 74 61 |lsplit: | A ta|
|000006e0| 72 6d 61 69 6c 20 76 61 | 72 69 61 6e 74 20 20 2d |rmail va|riant -|
|000006f0| 4d 20 46 20 57 79 6c 65 | 20 31 39 38 38 2d 0a 23 |M F Wyle| 1988-.#|
|00000700| 0a 23 20 40 28 23 29 6d | 61 69 6c 73 70 6c 69 74 |.# @(#)m|ailsplit|
|00000710| 20 20 20 20 32 2e 31 20 | 20 20 20 38 38 2f 30 37 | 2.1 | 88/07|
|00000720| 2f 32 35 0a 0a 4d 45 3d | 60 2f 75 73 72 2f 62 69 |/25..ME=|`/usr/bi|
|00000730| 6e 2f 62 61 73 65 6e 61 | 6d 65 20 24 30 60 0a 53 |n/basena|me $0`.S|
|00000740| 50 3d 2f 75 73 72 2f 62 | 69 6e 2f 73 70 6c 69 74 |P=/usr/b|in/split|
|00000750| 0a 4c 49 3d 37 30 30 0a | 43 4d 3d 22 24 30 20 24 |.LI=700.|CM="$0 $|
|00000760| 2a 22 0a 56 45 3d 22 32 | 2e 31 20 20 38 38 2f 30 |*".VE="2|.1 88/0|
|00000770| 37 2f 32 35 22 0a 4d 41 | 3d 2f 75 73 72 2f 75 63 |7/25".MA|=/usr/uc|
|00000780| 62 2f 4d 61 69 6c 0a 46 | 43 3d 30 0a 44 45 3d 30 |b/Mail.F|C=0.DE=0|
|00000790| 0a 44 42 3d 35 0a 4d 46 | 3d 22 22 0a 53 55 3d 22 |.DB=5.MF|="".SU="|
|000007a0| 5f 64 65 66 61 75 6c 74 | 5f 22 0a 54 4d 3d 66 61 |_default|_".TM=fa|
|000007b0| 6c 73 65 0a 46 4c 3d 22 | 22 0a 6e 65 3d 22 46 4c |lse.FL="|".ne="FL|
|000007c0| 3d 24 46 4c 40 22 0a 54 | 4f 3d 22 22 0a 55 55 3d |=$FL@".T|O="".UU=|
|000007d0| 75 75 65 6e 63 6f 64 65 | 0a 54 44 3d 2f 74 6d 70 |uuencode|.TD=/tmp|
|000007e0| 0a 54 41 3d 74 61 72 0a | 43 4f 3d 63 6f 6d 70 72 |.TA=tar.|CO=compr|
|000007f0| 65 73 73 0a 52 41 3d 61 | 6c 6c 0a 0a 75 6d 61 73 |ess.RA=a|ll..umas|
|00000800| 6b 20 30 0a 0a 66 6f 72 | 20 41 52 20 69 6e 20 24 |k 0..for| AR in $|
|00000810| 2a 20 3b 20 64 6f 0a 20 | 20 63 61 73 65 20 24 41 |* ; do. | case $A|
|00000820| 52 20 69 6e 0a 20 20 20 | 20 2d 43 20 20 29 20 6e |R in. | -C ) n|
|00000830| 65 3d 22 43 4f 3d 22 20 | 3b 3b 0a 20 20 20 20 2d |e="CO=" |;;. -|
|00000840| 44 20 20 29 20 6e 65 3d | 22 54 44 3d 22 20 3b 3b |D ) ne=|"TD=" ;;|
|00000850| 0a 20 20 20 20 2d 4d 20 | 20 29 20 6e 65 3d 22 4d |. -M | ) ne="M|
|00000860| 46 3d 22 20 3b 3b 0a 20 | 20 20 20 2d 54 20 20 29 |F=" ;;. | -T )|
|00000870| 20 6e 65 3d 22 54 41 3d | 22 20 3b 3b 0a 20 20 20 | ne="TA=|" ;;. |
|00000880| 20 2d 56 20 20 29 20 44 | 42 3d 39 20 3b 3b 0a 20 | -V ) D|B=9 ;;. |
|00000890| 20 20 20 2d 64 20 20 29 | 20 6e 65 3d 22 44 45 3d | -d )| ne="DE=|
|000008a0| 22 20 3b 3b 0a 20 20 20 | 20 2d 6c 20 20 29 20 6e |" ;;. | -l ) n|
|000008b0| 65 3d 22 4c 49 3d 22 20 | 3b 3b 0a 20 20 20 20 2d |e="LI=" |;;. -|
|000008c0| 6d 20 20 29 20 6e 65 3d | 22 4d 41 3d 22 20 3b 3b |m ) ne=|"MA=" ;;|
|000008d0| 0a 20 20 20 20 2d 6e 20 | 20 29 20 54 4d 3d 74 72 |. -n | ) TM=tr|
|000008e0| 75 65 20 3b 3b 0a 20 20 | 20 20 2d 72 20 20 29 20 |ue ;;. | -r ) |
|000008f0| 6e 65 3d 22 52 41 3d 22 | 20 3b 3b 0a 20 20 20 20 |ne="RA="| ;;. |
|00000900| 2d 73 20 20 29 20 6e 65 | 3d 22 53 55 3d 22 20 3b |-s ) ne|="SU=" ;|
|00000910| 3b 0a 20 20 20 20 2d 74 | 20 20 29 20 54 4d 3d 74 |;. -t| ) TM=t|
|00000920| 72 75 65 20 3b 3b 0a 20 | 20 20 20 2d 76 20 20 29 |rue ;;. | -v )|
|00000930| 20 65 63 68 6f 20 22 24 | 4d 45 20 76 65 72 73 69 | echo "$|ME versi|
|00000940| 6f 6e 20 24 56 45 20 62 | 79 20 4d 69 74 63 68 20 |on $VE b|y Mitch |
|00000950| 57 79 6c 65 22 20 3b 20 | 20 65 78 69 74 20 30 20 |Wyle" ; | exit 0 |
|00000960| 3b 3b 0a 20 20 20 20 2d | 78 2a 20 29 20 44 42 3d |;;. -|x* ) DB=|
|00000970| 60 65 63 68 6f 20 24 41 | 52 20 7c 20 63 75 74 20 |`echo $A|R | cut |
|00000980| 2d 63 33 60 20 3b 20 44 | 42 3d 24 7b 44 42 3a 2d |-c3` ; D|B=${DB:-|
|00000990| 30 7d 20 3b 3b 0a 20 20 | 20 20 2d 75 20 20 29 20 |0} ;;. | -u ) |
|000009a0| 6e 65 3d 22 55 55 3d 22 | 20 3b 3b 0a 20 20 20 20 |ne="UU="| ;;. |
|000009b0| 2d 2a 20 20 29 20 65 63 | 68 6f 20 22 20 22 20 3b |-* ) ec|ho " " ;|
|000009c0| 20 65 63 68 6f 20 22 42 | 61 64 20 66 6c 61 67 20 | echo "B|ad flag |
|000009d0| 66 6f 72 20 24 4d 45 22 | 3a 20 24 41 52 0a 20 20 |for $ME"|: $AR. |
|000009e0| 20 20 20 20 20 20 20 20 | 65 63 68 6f 20 22 55 73 | |echo "Us|
|000009f0| 61 67 65 3a 20 20 20 20 | 24 4d 45 20 20 5b 3c 6f |age: |$ME [<o|
|00000a00| 70 74 69 6f 6e 73 3e 5d | 20 3c 6d 61 69 6c 70 61 |ptions>]| <mailpa|
|00000a10| 74 68 3e 20 3c 66 69 6c | 65 28 73 29 3e 22 0a 20 |th> <fil|e(s)>". |
|00000a20| 20 20 20 20 20 20 20 20 | 20 65 63 68 6f 20 22 45 | | echo "E|
|00000a30| 78 61 6d 70 6c 65 3a 20 | 20 24 4d 45 20 20 77 65 |xample: | $ME we|
|00000a40| 72 6e 65 72 40 75 74 61 | 73 74 72 6f 2e 75 75 63 |rner@uta|stro.uuc|
|00000a50| 70 20 2e 2f 67 65 72 6d | 61 6e 5f 6c 65 73 73 6f |p ./germ|an_lesso|
|00000a60| 6e 73 22 0a 20 20 20 20 | 20 20 20 20 20 20 65 63 |ns". | ec|
|00000a70| 68 6f 20 22 20 22 0a 20 | 20 20 20 20 20 20 20 20 |ho " ". | |
|00000a80| 20 65 78 69 74 20 30 20 | 20 3b 3b 0a 20 20 20 20 | exit 0 | ;;. |
|00000a90| 2a 20 20 20 29 20 65 76 | 61 6c 20 24 6e 65 22 24 |* ) ev|al $ne"$|
|00000aa0| 41 52 22 20 3b 20 6e 65 | 3d 22 46 4c 3d 24 46 4c |AR" ; ne|="FL=$FL|
|00000ab0| 40 22 20 3b 3b 0a 20 20 | 65 73 61 63 0a 64 6f 6e |@" ;;. |esac.don|
|00000ac0| 65 0a 63 61 73 65 20 24 | 23 20 69 6e 0a 20 20 30 |e.case $|# in. 0|
|00000ad0| 20 7c 20 31 20 29 0a 20 | 20 20 20 65 63 68 6f 20 | | 1 ). | echo |
|00000ae0| 22 20 22 0a 20 20 20 20 | 65 63 68 6f 20 22 55 73 |" ". |echo "Us|
|00000af0| 61 67 65 3a 20 20 20 20 | 24 4d 45 20 20 5b 3c 6f |age: |$ME [<o|
|00000b00| 70 74 69 6f 6e 73 3e 5d | 20 3c 6d 61 69 6c 70 61 |ptions>]| <mailpa|
|00000b10| 74 68 3e 20 3c 66 69 6c | 65 28 73 29 3e 22 0a 20 |th> <fil|e(s)>". |
|00000b20| 20 20 20 65 63 68 6f 20 | 22 45 78 61 6d 70 6c 65 | echo |"Example|
|00000b30| 3a 20 20 24 4d 45 20 20 | 77 65 72 6e 65 72 40 75 |: $ME |werner@u|
|00000b40| 74 61 73 74 72 6f 2e 75 | 75 63 70 20 67 65 72 6d |tastro.u|ucp germ|
|00000b50| 61 6e 5f 6c 65 73 73 6f | 6e 73 22 0a 20 20 20 20 |an_lesso|ns". |
|00000b60| 65 63 68 6f 20 22 20 22 | 0a 20 20 20 20 65 78 69 |echo " "|. exi|
|00000b70| 74 20 30 20 20 3b 3b 0a | 65 73 61 63 0a 49 46 53 |t 0 ;;.|esac.IFS|
|00000b80| 3d 40 0a 73 65 74 20 24 | 46 4c 0a 54 4f 3d 24 31 |=@.set $|FL.TO=$1|
|00000b90| 0a 63 61 73 65 20 24 53 | 55 20 69 6e 0a 20 20 5f |.case $S|U in. _|
|00000ba0| 64 65 66 61 75 6c 74 5f | 20 29 20 53 55 3d 24 32 |default_| ) SU=$2|
|00000bb0| 20 3b 3b 0a 65 73 61 63 | 0a 0a 63 61 73 65 20 24 | ;;.esac|..case $|
|00000bc0| 44 42 20 69 6e 0a 20 20 | 38 7c 39 29 20 73 65 74 |DB in. |8|9) set|
|00000bd0| 20 2d 78 20 3b 3b 0a 65 | 73 61 63 0a 0a 54 31 3d | -x ;;.e|sac..T1=|
|00000be0| 24 54 44 2f 31 73 70 24 | 24 0a 54 32 3d 24 54 44 |$TD/1sp$|$.T2=$TD|
|00000bf0| 2f 32 73 70 24 24 0a 54 | 33 3d 24 54 44 2f 33 73 |/2sp$$.T|3=$TD/3s|
|00000c00| 70 24 24 0a 0a 63 61 73 | 65 20 24 52 41 20 69 6e |p$$..cas|e $RA in|
|00000c10| 0a 20 20 61 6c 6c 29 20 | 3b 3b 0a 20 20 2a 20 20 |. all) |;;. * |
|00000c20| 29 0a 20 20 20 52 3d 22 | 22 0a 20 20 20 52 41 3d |). R="|". RA=|
|00000c30| 60 65 63 68 6f 20 24 52 | 41 20 7c 20 73 65 64 20 |`echo $R|A | sed |
|00000c40| 27 73 2f 2c 2f 5c 40 2f | 27 60 0a 20 20 20 66 6f |'s/,/\@/|'`. fo|
|00000c50| 72 20 74 6f 6b 20 69 6e | 20 24 52 41 20 3b 20 64 |r tok in| $RA ; d|
|00000c60| 6f 0a 20 20 20 20 20 69 | 66 20 65 63 68 6f 20 24 |o. i|f echo $|
|00000c70| 74 6f 6b 20 7c 20 67 72 | 65 70 20 2d 73 20 27 5c |tok | gr|ep -s '\|
|00000c80| 2d 27 20 3b 20 74 68 65 | 6e 0a 20 20 20 20 20 20 |-' ; the|n. |
|00000c90| 20 74 3d 60 65 63 68 6f | 20 24 74 6f 6b 20 7c 20 | t=`echo| $tok | |
|00000ca0| 73 65 64 20 27 73 2f 2d | 2f 40 2d 40 2f 27 60 0a |sed 's/-|/@-@/'`.|
|00000cb0| 20 20 20 20 20 20 20 73 | 65 74 20 24 74 0a 20 20 | s|et $t. |
|00000cc0| 20 20 20 20 20 69 3d 24 | 31 0a 20 20 20 20 20 20 | i=$|1. |
|00000cd0| 20 6d 61 78 3d 24 7b 33 | 3a 2d 39 39 7d 0a 20 20 | max=${3|:-99}. |
|00000ce0| 20 20 20 20 20 77 68 69 | 6c 65 20 74 65 73 74 20 | whi|le test |
|00000cf0| 24 69 20 2d 6c 65 20 24 | 6d 61 78 20 3b 20 64 6f |$i -le $|max ; do|
|00000d00| 0a 20 20 20 20 20 20 20 | 20 20 52 3d 24 52 22 40 |. | R=$R"@|
|00000d10| 22 24 69 0a 20 20 20 20 | 20 20 20 20 20 69 3d 60 |"$i. | i=`|
|00000d20| 65 78 70 72 20 24 69 2b | 31 60 0a 20 20 20 20 20 |expr $i+|1`. |
|00000d30| 20 20 64 6f 6e 65 0a 20 | 20 20 20 20 65 6c 73 65 | done. | else|
|00000d40| 0a 20 20 20 20 20 20 20 | 52 3d 24 52 22 40 22 24 |. |R=$R"@"$|
|00000d50| 74 6f 6b 0a 20 20 20 20 | 20 66 69 0a 20 20 20 20 |tok. | fi. |
|00000d60| 20 52 41 3d 24 52 0a 20 | 20 20 64 6f 6e 65 20 3b | RA=$R. | done ;|
|00000d70| 3b 0a 65 73 61 63 0a 0a | 63 61 73 65 20 24 44 42 |;.esac..|case $DB|
|00000d80| 20 69 6e 0a 20 20 35 7c | 36 7c 37 7c 38 7c 39 29 | in. 5||6|7|8|9)|
|00000d90| 20 65 63 68 6f 20 22 62 | 65 67 69 6e 6e 69 6e 67 | echo "b|eginning|
|00000da0| 20 74 61 72 20 61 6e 64 | 20 63 6f 6d 70 72 65 73 | tar and| compres|
|00000db0| 73 2e 2e 2e 22 20 3b 3b | 0a 65 73 61 63 0a 73 65 |s..." ;;|.esac.se|
|00000dc0| 74 20 24 46 4c 20 3b 20 | 73 68 69 66 74 0a 66 6f |t $FL ; |shift.fo|
|00000dd0| 72 20 69 20 69 6e 20 24 | 2a 20 3b 20 64 6f 0a 20 |r i in $|* ; do. |
|00000de0| 20 69 66 20 74 65 73 74 | 20 2d 73 20 24 69 20 3b | if test| -s $i ;|
|00000df0| 20 74 68 65 6e 0a 20 20 | 20 20 46 43 3d 60 65 78 | then. | FC=`ex|
|00000e00| 70 72 20 24 46 43 20 2b | 20 31 60 0a 20 20 66 69 |pr $FC +| 1`. fi|
|00000e10| 0a 64 6f 6e 65 0a 69 66 | 20 74 65 73 74 20 24 46 |.done.if| test $F|
|00000e20| 43 20 2d 67 74 20 30 20 | 3b 20 74 68 65 6e 0a 20 |C -gt 0 |; then. |
|00000e30| 20 63 61 73 65 20 24 44 | 42 20 69 6e 0a 20 20 20 | case $D|B in. |
|00000e40| 20 31 7c 32 7c 33 7c 34 | 29 20 0a 20 20 20 20 20 | 1|2|3|4|) . |
|00000e50| 20 63 61 73 65 20 24 54 | 4d 20 69 6e 0a 20 20 20 | case $T|M in. |
|00000e60| 20 20 20 20 20 74 72 75 | 65 20 29 0a 20 20 20 20 | tru|e ). |
|00000e70| 20 20 20 20 20 20 65 63 | 68 6f 20 22 77 6f 75 6c | ec|ho "woul|
|00000e80| 64 20 68 61 76 65 20 69 | 73 73 75 65 64 20 63 6f |d have i|ssued co|
|00000e90| 6d 6d 61 6e 64 3a 22 0a | 20 20 20 20 20 20 20 20 |mmand:".| |
|00000ea0| 20 20 65 63 68 6f 20 22 | 24 54 41 20 63 76 66 20 | echo "|$TA cvf |
|00000eb0| 2d 20 24 2a 20 32 3e 20 | 2f 64 65 76 2f 6e 75 6c |- $* 2> |/dev/nul|
|00000ec0| 6c 20 7c 20 24 43 4f 20 | 3e 24 54 31 22 20 3b 3b |l | $CO |>$T1" ;;|
|00000ed0| 0a 20 20 20 20 20 20 20 | 20 66 61 6c 73 65 29 20 |. | false) |
|00000ee0| 20 24 54 41 20 63 76 66 | 20 2d 20 24 2a 20 32 3e | $TA cvf| - $* 2>|
|00000ef0| 20 2f 64 65 76 2f 6e 75 | 6c 6c 20 7c 20 24 43 4f | /dev/nu|ll | $CO|
|00000f00| 20 3e 24 54 31 20 3b 3b | 0a 20 20 20 20 20 20 20 | >$T1 ;;|. |
|00000f10| 20 2a 20 20 20 20 29 20 | 65 63 68 6f 20 22 53 69 | * ) |echo "Si|
|00000f20| 67 68 2e 2e 2e 20 50 72 | 6f 67 72 61 6d 6d 65 72 |gh... Pr|ogrammer|
|00000f30| 20 65 72 72 6f 72 20 69 | 6e 20 24 4d 45 20 61 74 | error i|n $ME at|
|00000f40| 20 6c 69 6e 65 20 39 33 | 2e 22 20 3b 3b 0a 20 20 | line 93|." ;;. |
|00000f50| 20 20 20 20 65 73 61 63 | 20 3b 3b 0a 20 20 20 20 | esac| ;;. |
|00000f60| 2a 29 20 0a 20 20 20 20 | 20 20 63 61 73 65 20 24 |*) . | case $|
|00000f70| 54 4d 20 69 6e 0a 20 20 | 20 20 20 20 20 74 72 75 |TM in. | tru|
|00000f80| 65 20 29 0a 20 20 20 20 | 20 20 20 20 20 65 63 68 |e ). | ech|
|00000f90| 6f 20 22 77 6f 75 6c 64 | 20 68 61 76 65 20 69 73 |o "would| have is|
|00000fa0| 73 75 65 64 20 63 6f 6d | 6d 61 6e 64 3a 22 0a 20 |sued com|mand:". |
|00000fb0| 20 20 20 20 20 20 20 20 | 65 63 68 6f 20 22 24 54 | |echo "$T|
|00000fc0| 41 20 63 76 66 20 2d 20 | 24 2a 20 7c 20 24 43 4f |A cvf - |$* | $CO|
|00000fd0| 20 3e 24 54 31 22 20 3b | 3b 0a 20 20 20 20 20 20 | >$T1" ;|;. |
|00000fe0| 20 66 61 6c 73 65 29 20 | 24 54 41 20 63 76 66 20 | false) |$TA cvf |
|00000ff0| 2d 20 24 2a 20 7c 20 24 | 43 4f 20 3e 24 54 31 20 |- $* | $|CO >$T1 |
|00001000| 3b 3b 0a 20 20 20 20 20 | 20 20 2a 20 20 20 20 29 |;;. | * )|
|00001010| 20 65 63 68 6f 20 22 53 | 69 67 68 2e 2e 2e 20 50 | echo "S|igh... P|
|00001020| 72 6f 67 72 61 6d 6d 65 | 72 20 65 72 72 6f 72 20 |rogramme|r error |
|00001030| 69 6e 20 24 4d 45 20 61 | 74 20 6c 69 6e 65 20 31 |in $ME a|t line 1|
|00001040| 30 31 2e 22 20 3b 3b 0a | 20 20 20 20 20 20 65 73 |01." ;;.| es|
|00001050| 61 63 20 3b 3b 0a 20 20 | 65 73 61 63 0a 65 6c 73 |ac ;;. |esac.els|
|00001060| 65 0a 63 61 73 65 20 24 | 44 42 20 69 6e 0a 20 20 |e.case $|DB in. |
|00001070| 5b 35 2d 39 5d 20 29 20 | 65 63 68 6f 20 22 2e 2e |[5-9] ) |echo "..|
|00001080| 2e 77 68 6f 6f 70 73 21 | 20 20 4e 6f 74 68 69 6e |.whoops!| Nothin|
|00001090| 67 20 74 6f 20 73 65 6e | 64 21 20 20 50 75 6e 74 |g to sen|d! Punt|
|000010a0| 69 6e 67 2e 2e 2e 22 20 | 31 3e 26 32 20 3b 3b 0a |ing..." |1>&2 ;;.|
|000010b0| 65 73 61 63 0a 20 20 65 | 78 69 74 20 31 0a 66 69 |esac. e|xit 1.fi|
|000010c0| 0a 63 61 73 65 20 24 44 | 42 20 69 6e 0a 20 20 35 |.case $D|B in. 5|
|000010d0| 7c 36 7c 37 7c 38 7c 39 | 29 20 65 63 68 6f 20 22 ||6|7|8|9|) echo "|
|000010e0| 2e 2e 2e 66 69 6e 69 73 | 68 65 64 20 74 61 72 2c |...finis|hed tar,|
|000010f0| 20 63 6f 6d 70 72 65 73 | 73 2c 20 73 74 61 72 74 | compres|s, start|
|00001100| 69 6e 67 20 75 75 65 6e | 63 6f 64 65 2e 2e 2e 22 |ing uuen|code..."|
|00001110| 0a 65 73 61 63 0a 63 61 | 73 65 20 24 54 4d 20 69 |.esac.ca|se $TM i|
|00001120| 6e 0a 20 20 74 72 75 65 | 20 29 0a 20 20 20 20 65 |n. true| ). e|
|00001130| 63 68 6f 20 22 77 6f 75 | 6c 64 20 68 61 76 65 20 |cho "wou|ld have |
|00001140| 69 73 73 75 65 64 20 63 | 6f 6d 6d 61 6e 64 3a 22 |issued c|ommand:"|
|00001150| 0a 20 20 20 20 65 63 68 | 6f 20 22 24 55 55 20 24 |. ech|o "$UU $|
|00001160| 54 31 20 24 54 31 20 3e | 20 24 54 32 20 22 20 3b |T1 $T1 >| $T2 " ;|
|00001170| 3b 0a 20 20 66 61 6c 73 | 65 29 20 24 55 55 20 24 |;. fals|e) $UU $|
|00001180| 54 31 20 24 54 31 20 3e | 20 24 54 32 20 3b 20 3b |T1 $T1 >| $T2 ; ;|
|00001190| 3b 0a 20 20 2a 20 20 20 | 20 29 20 65 63 68 6f 20 |;. * | ) echo |
|000011a0| 22 53 69 67 68 2e 2e 2e | 20 50 72 6f 67 72 61 6d |"Sigh...| Program|
|000011b0| 6d 65 72 20 65 72 72 6f | 72 20 69 6e 20 24 4d 45 |mer erro|r in $ME|
|000011c0| 20 61 74 20 6c 69 6e 65 | 20 31 31 38 2e 22 20 3b | at line| 118." ;|
|000011d0| 3b 0a 65 73 61 63 0a 63 | 61 73 65 20 24 44 42 20 |;.esac.c|ase $DB |
|000011e0| 69 6e 0a 20 20 35 7c 36 | 7c 37 7c 38 7c 39 29 20 |in. 5|6||7|8|9) |
|000011f0| 65 63 68 6f 20 22 2e 2e | 2e 66 69 6e 69 73 68 65 |echo "..|.finishe|
|00001200| 64 20 75 75 65 6e 63 6f | 64 65 2c 20 73 74 61 72 |d uuenco|de, star|
|00001210| 74 69 6e 67 20 73 70 6c | 69 74 2e 2e 2e 22 0a 65 |ting spl|it...".e|
|00001220| 73 61 63 0a 63 61 73 65 | 20 24 54 4d 20 69 6e 20 |sac.case| $TM in |
|00001230| 0a 20 20 74 72 75 65 20 | 29 0a 20 20 20 20 65 63 |. true |). ec|
|00001240| 68 6f 20 22 77 6f 75 6c | 64 20 68 61 76 65 20 69 |ho "woul|d have i|
|00001250| 73 73 75 65 64 20 63 6f | 6d 6d 61 6e 64 3a 22 20 |ssued co|mmand:" |
|00001260| 0a 20 20 20 20 65 63 68 | 6f 20 22 24 53 50 20 2d |. ech|o "$SP -|
|00001270| 24 4c 49 20 24 54 32 20 | 24 54 33 22 20 3b 3b 20 |$LI $T2 |$T3" ;; |
|00001280| 0a 20 20 66 61 6c 73 65 | 29 20 20 24 53 50 20 2d |. false|) $SP -|
|00001290| 24 4c 49 20 24 54 32 20 | 24 54 33 20 3b 20 3b 3b |$LI $T2 |$T3 ; ;;|
|000012a0| 20 0a 20 20 2a 20 20 20 | 20 29 20 65 63 68 6f 20 | . * | ) echo |
|000012b0| 22 53 69 67 68 2e 2e 2e | 20 50 72 6f 67 72 61 6d |"Sigh...| Program|
|000012c0| 6d 65 72 20 65 72 72 6f | 72 20 69 6e 20 24 4d 45 |mer erro|r in $ME|
|000012d0| 20 61 74 20 6c 69 6e 65 | 20 31 32 38 2e 22 20 3b | at line| 128." ;|
|000012e0| 3b 0a 65 73 61 63 20 0a | 63 61 73 65 20 24 54 4d |;.esac .|case $TM|
|000012f0| 20 69 6e 0a 20 20 74 72 | 75 65 20 29 0a 20 20 20 | in. tr|ue ). |
|00001300| 20 65 63 68 6f 20 22 77 | 6f 75 6c 64 20 68 61 76 | echo "w|ould hav|
|00001310| 65 20 69 73 73 75 65 64 | 20 63 6f 6d 6d 61 6e 64 |e issued| command|
|00001320| 73 3a 22 0a 20 20 20 20 | 65 63 68 6f 20 22 24 4d |s:". |echo "$M|
|00001330| 41 20 2d 73 20 22 24 53 | 55 20 2d 20 70 61 72 74 |A -s "$S|U - part|
|00001340| 20 6e 20 6f 66 20 6d 22 | 20 24 54 4f 22 20 0a 20 | n of m"| $TO" . |
|00001350| 20 20 20 65 63 68 6f 20 | 22 77 69 74 68 20 6e 20 | echo |"with n |
|00001360| 72 61 6e 67 69 6e 67 20 | 66 72 6f 6d 20 31 20 74 |ranging |from 1 t|
|00001370| 6f 20 6d 3b 20 6d 20 63 | 61 6e 6e 6f 74 20 62 65 |o m; m c|annot be|
|00001380| 20 64 65 74 65 72 6d 69 | 6e 65 64 2e 22 0a 20 20 | determi|ned.". |
|00001390| 20 20 65 63 68 6f 20 22 | 77 69 74 68 6f 75 74 20 | echo "|without |
|000013a0| 72 75 6e 6e 69 6e 67 20 | 66 6f 72 20 72 65 61 6c |running |for real|
|000013b0| 2e 22 0a 20 20 20 20 65 | 78 69 74 20 30 20 3b 3b |.". e|xit 0 ;;|
|000013c0| 0a 65 73 61 63 20 0a 0a | 6e 3d 31 0a 73 65 74 20 |.esac ..|n=1.set |
|000013d0| 24 54 33 2a 0a 66 6f 72 | 20 66 20 20 64 6f 0a 20 |$T3*.for| f do. |
|000013e0| 20 53 45 3d 66 61 6c 73 | 65 0a 20 20 63 61 73 65 | SE=fals|e. case|
|000013f0| 20 24 52 41 20 69 6e 0a | 20 20 20 20 61 6c 6c 29 | $RA in.| all)|
|00001400| 20 20 53 45 3d 74 72 75 | 65 20 3b 3b 0a 20 20 20 | SE=tru|e ;;. |
|00001410| 20 2a 20 20 29 0a 20 20 | 20 20 20 20 66 6f 72 20 | * ). | for |
|00001420| 70 20 69 6e 20 24 52 41 | 20 3b 20 64 6f 0a 20 20 |p in $RA| ; do. |
|00001430| 20 20 20 20 20 20 63 61 | 73 65 20 24 70 20 69 6e | ca|se $p in|
|00001440| 0a 20 20 20 20 20 20 20 | 20 20 20 24 6e 20 29 20 |. | $n ) |
|00001450| 53 45 3d 74 72 75 65 20 | 3b 3b 0a 20 20 20 20 20 |SE=true |;;. |
|00001460| 20 20 20 65 73 61 63 0a | 20 20 20 20 20 20 64 6f | esac.| do|
|00001470| 6e 65 20 3b 3b 0a 20 20 | 65 73 61 63 0a 20 20 63 |ne ;;. |esac. c|
|00001480| 61 73 65 20 24 53 45 20 | 69 6e 0a 20 20 20 20 74 |ase $SE |in. t|
|00001490| 72 75 65 29 0a 20 20 20 | 20 7b 0a 20 20 20 20 65 |rue). | {. e|
|000014a0| 63 68 6f 20 22 20 22 0a | 20 20 20 20 63 61 73 65 |cho " ".| case|
|000014b0| 20 24 6e 20 69 6e 0a 20 | 20 20 20 31 29 0a 20 20 | $n in. | 1). |
|000014c0| 20 20 20 20 69 66 20 74 | 65 73 74 20 21 20 2d 73 | if t|est ! -s|
|000014d0| 20 24 66 20 3b 20 74 68 | 65 6e 0a 20 20 20 20 20 | $f ; th|en. |
|000014e0| 20 20 20 63 61 73 65 20 | 24 44 42 20 69 6e 20 0a | case |$DB in .|
|000014f0| 20 20 20 20 20 20 20 20 | 20 20 5b 35 2d 39 5d 29 | | [5-9])|
|00001500| 20 65 63 68 6f 20 22 2e | 2e 2e 77 68 6f 6f 70 73 | echo ".|..whoops|
|00001510| 21 20 20 24 53 50 20 66 | 61 69 6c 65 64 21 20 20 |! $SP f|ailed! |
|00001520| 20 50 75 6e 74 69 6e 67 | 2e 2e 2e 22 20 31 3e 26 | Punting|..." 1>&|
|00001530| 32 20 3b 3b 0a 20 20 20 | 20 20 20 20 20 65 73 61 |2 ;;. | esa|
|00001540| 63 20 0a 20 20 20 20 20 | 20 20 20 65 78 69 74 20 |c . | exit |
|00001550| 31 20 3b 0a 20 20 20 20 | 20 20 66 69 0a 20 20 20 |1 ;. | fi. |
|00001560| 20 20 20 65 63 68 6f 20 | 22 5b 54 68 65 20 61 74 | echo |"[The at|
|00001570| 74 61 63 68 65 64 20 73 | 63 72 69 70 74 20 77 69 |tached s|cript wi|
|00001580| 6c 6c 20 67 6c 75 65 20 | 74 68 65 73 65 20 6d 61 |ll glue |these ma|
|00001590| 69 6c 20 6d 65 73 73 61 | 67 65 73 20 74 6f 67 65 |il messa|ges toge|
|000015a0| 74 68 65 72 2c 22 0a 20 | 20 20 20 20 20 65 63 68 |ther,". | ech|
|000015b0| 6f 20 22 75 75 65 6e 63 | 6f 64 65 2c 20 75 6e 63 |o "uuenc|ode, unc|
|000015c0| 6f 6d 70 72 65 73 73 2c | 20 61 6e 64 20 65 78 74 |ompress,| and ext|
|000015d0| 72 61 63 74 20 61 6c 6c | 20 74 68 65 20 66 69 6c |ract all| the fil|
|000015e0| 65 73 2e 20 20 42 65 20 | 73 75 72 65 22 0a 20 20 |es. Be |sure". |
|000015f0| 20 20 20 20 65 63 68 6f | 20 22 74 6f 20 73 65 6e | echo| "to sen|
|00001600| 64 20 74 68 65 20 70 69 | 65 63 65 73 20 74 68 72 |d the pi|eces thr|
|00001610| 6f 75 67 68 20 74 68 69 | 73 20 73 63 72 69 70 74 |ough thi|s script|
|00001620| 20 69 6e 20 74 68 65 20 | 70 72 6f 70 65 72 20 6f | in the |proper o|
|00001630| 72 64 65 72 21 22 0a 20 | 20 20 20 20 20 65 63 68 |rder!". | ech|
|00001640| 6f 20 22 20 22 0a 20 20 | 20 20 20 20 65 63 68 6f |o " ". | echo|
|00001650| 20 22 23 21 20 2f 62 69 | 6e 2f 73 68 22 0a 20 20 | "#! /bi|n/sh". |
|00001660| 20 20 20 20 65 63 68 6f | 20 22 65 63 68 6f 20 65 | echo| "echo e|
|00001670| 78 74 72 61 63 74 69 6e | 67 20 64 61 74 61 2e 2e |xtractin|g data..|
|00001680| 2e 22 0a 20 20 20 20 20 | 20 65 63 68 6f 20 22 2f |.". | echo "/|
|00001690| 62 69 6e 2f 61 77 6b 20 | 27 22 0a 20 20 20 20 20 |bin/awk |'". |
|000016a0| 20 65 63 68 6f 20 22 42 | 45 47 49 4e 20 7b 20 69 | echo "B|EGIN { i|
|000016b0| 6e 68 65 78 20 3d 20 30 | 20 3b 20 70 61 72 74 20 |nhex = 0| ; part |
|000016c0| 3d 20 30 20 7d 22 0a 20 | 20 20 20 20 20 65 63 68 |= 0 }". | ech|
|000016d0| 6f 20 22 2f 5e 2d 2d 2d | 2f 20 7b 22 0a 20 20 20 |o "/^---|/ {". |
|000016e0| 20 20 20 65 63 68 6f 20 | 22 20 20 69 66 20 28 5c | echo |" if (\|
|000016f0| 24 32 20 3d 3d 20 5c 22 | 73 74 61 72 74 5c 22 29 |$2 == \"|start\")|
|00001700| 20 70 61 72 74 2b 2b 22 | 0a 20 20 20 20 20 20 65 | part++"|. e|
|00001710| 63 68 6f 20 22 20 20 69 | 66 20 28 5c 24 36 20 21 |cho " i|f (\$6 !|
|00001720| 3d 20 70 61 72 74 29 20 | 65 78 69 74 20 31 22 0a |= part) |exit 1".|
|00001730| 20 20 20 20 20 20 65 63 | 68 6f 20 22 20 20 69 66 | ec|ho " if|
|00001740| 20 28 69 6e 68 65 78 20 | 26 26 20 28 4e 46 20 3e | (inhex |&& (NF >|
|00001750| 20 31 29 29 22 0a 20 20 | 20 20 20 20 65 63 68 6f | 1))". | echo|
|00001760| 20 22 20 20 20 20 69 6e | 68 65 78 20 3d 20 30 22 | " in|hex = 0"|
|00001770| 0a 20 20 20 20 20 20 65 | 63 68 6f 20 22 20 20 65 |. e|cho " e|
|00001780| 6c 73 65 20 7b 22 0a 20 | 20 20 20 20 20 65 63 68 |lse {". | ech|
|00001790| 6f 20 22 20 20 20 20 69 | 6e 68 65 78 20 3d 20 31 |o " i|nhex = 1|
|000017a0| 22 0a 20 20 20 20 20 20 | 65 63 68 6f 20 22 20 20 |". |echo " |
|000017b0| 20 20 67 65 74 6c 69 6e | 65 22 0a 20 20 20 20 20 | getlin|e". |
|000017c0| 20 65 63 68 6f 20 22 20 | 20 7d 22 0a 20 20 20 20 | echo " | }". |
|000017d0| 20 20 65 63 68 6f 20 22 | 7d 22 0a 20 20 20 20 20 | echo "|}". |
|000017e0| 20 65 63 68 6f 20 22 7b | 20 69 66 20 28 69 6e 68 | echo "{| if (inh|
|000017f0| 65 78 29 20 70 72 69 6e | 74 20 5c 24 30 20 7d 27 |ex) prin|t \$0 }'|
|00001800| 20 20 3e 20 2f 74 6d 70 | 2f 78 74 72 5c 24 5c 24 | > /tmp|/xtr\$\$|
|00001810| 22 0a 20 20 20 20 20 20 | 65 63 68 6f 20 22 22 0a |". |echo "".|
|00001820| 20 20 20 20 20 20 65 63 | 68 6f 20 22 20 69 66 20 | ec|ho " if |
|00001830| 74 65 73 74 20 5c 24 3f | 20 3d 20 31 20 3b 20 74 |test \$?| = 1 ; t|
|00001840| 68 65 6e 22 0a 20 20 20 | 20 20 20 65 63 68 6f 20 |hen". | echo |
|00001850| 22 20 20 20 65 63 68 6f | 20 27 50 61 72 74 73 20 |" echo| 'Parts |
|00001860| 73 65 6e 74 20 74 68 72 | 6f 75 67 68 20 6f 75 74 |sent thr|ough out|
|00001870| 20 6f 66 20 6f 72 64 65 | 72 21 21 20 50 75 6e 74 | of orde|r!! Punt|
|00001880| 69 6e 67 2e 27 22 0a 20 | 20 20 20 20 20 65 63 68 |ing.'". | ech|
|00001890| 6f 20 22 20 20 20 2f 62 | 69 6e 2f 72 6d 20 2d 66 |o " /b|in/rm -f|
|000018a0| 20 2f 74 6d 70 2f 78 74 | 72 5c 24 5c 24 22 0a 20 | /tmp/xt|r\$\$". |
|000018b0| 20 20 20 20 20 65 63 68 | 6f 20 22 20 20 20 65 78 | ech|o " ex|
|000018c0| 69 74 20 31 22 0a 20 20 | 20 20 20 20 65 63 68 6f |it 1". | echo|
|000018d0| 20 22 20 66 69 22 0a 20 | 20 20 20 20 20 65 63 68 | " fi". | ech|
|000018e0| 6f 20 22 22 0a 20 20 20 | 20 20 20 65 63 68 6f 20 |o "". | echo |
|000018f0| 22 65 63 68 6f 20 2e 2e | 2e 66 69 6e 69 73 68 65 |"echo ..|.finishe|
|00001900| 64 20 65 78 74 72 61 63 | 74 69 6f 6e 2c 20 73 74 |d extrac|tion, st|
|00001910| 61 72 74 69 6e 67 20 75 | 75 64 65 63 6f 64 65 2e |arting u|udecode.|
|00001920| 2e 2e 22 0a 20 20 20 20 | 20 20 65 63 68 6f 20 22 |..". | echo "|
|00001930| 66 6e 61 6d 65 3d 5c 60 | 68 65 61 64 20 2d 31 30 |fname=\`|head -10|
|00001940| 30 20 2f 74 6d 70 2f 78 | 74 72 5c 24 5c 24 20 7c |0 /tmp/x|tr\$\$ ||
|00001950| 20 67 72 65 70 20 62 65 | 67 69 6e 20 7c 20 63 75 | grep be|gin | cu|
|00001960| 74 20 2d 66 33 20 2d 64 | 27 20 27 5c 60 22 0a 20 |t -f3 -d|' '\`". |
|00001970| 20 20 20 20 20 65 63 68 | 6f 20 22 4f 75 72 44 69 | ech|o "OurDi|
|00001980| 72 3d 5c 60 70 77 64 5c | 60 22 0a 20 20 20 20 20 |r=\`pwd\|`". |
|00001990| 20 65 63 68 6f 20 22 63 | 64 20 2f 74 6d 70 22 0a | echo "c|d /tmp".|
|000019a0| 20 20 20 20 20 20 65 63 | 68 6f 20 22 24 55 55 20 | ec|ho "$UU |
|000019b0| 78 74 72 5c 24 5c 24 22 | 0a 20 20 20 20 20 20 65 |xtr\$\$"|. e|
|000019c0| 63 68 6f 20 22 2f 62 69 | 6e 2f 72 6d 20 2d 66 20 |cho "/bi|n/rm -f |
|000019d0| 78 74 72 5c 24 5c 24 22 | 0a 20 20 20 20 20 20 65 |xtr\$\$"|. e|
|000019e0| 63 68 6f 20 22 2f 62 69 | 6e 2f 63 68 6d 6f 64 20 |cho "/bi|n/chmod |
|000019f0| 20 37 37 37 20 5c 24 66 | 6e 61 6d 65 22 0a 20 20 | 777 \$f|name". |
|00001a00| 20 20 20 20 65 63 68 6f | 20 22 6d 76 20 5c 24 66 | echo| "mv \$f|
|00001a10| 6e 61 6d 65 20 5c 24 66 | 6e 61 6d 65 2e 5a 22 0a |name \$f|name.Z".|
|00001a20| 20 20 20 20 20 20 65 63 | 68 6f 20 22 65 63 68 6f | ec|ho "echo|
|00001a30| 20 2e 2e 2e 66 69 6e 69 | 73 68 65 64 20 75 75 64 | ...fini|shed uud|
|00001a40| 65 63 6f 64 65 2c 20 73 | 74 61 72 74 69 6e 67 20 |ecode, s|tarting |
|00001a50| 75 6e 63 6f 6d 70 72 65 | 73 73 2e 2e 2e 22 0a 20 |uncompre|ss...". |
|00001a60| 20 20 20 20 20 65 63 68 | 6f 20 22 75 6e 63 6f 6d | ech|o "uncom|
|00001a70| 70 72 65 73 73 20 5c 24 | 66 6e 61 6d 65 22 0a 20 |press \$|fname". |
|00001a80| 20 20 20 20 20 65 63 68 | 6f 20 22 6d 76 20 5c 24 | ech|o "mv \$|
|00001a90| 66 6e 61 6d 65 20 5c 24 | 4f 75 72 44 69 72 22 0a |fname \$|OurDir".|
|00001aa0| 20 20 20 20 20 20 65 63 | 68 6f 20 22 63 64 20 5c | ec|ho "cd \|
|00001ab0| 24 4f 75 72 44 69 72 22 | 0a 20 20 20 20 20 20 65 |$OurDir"|. e|
|00001ac0| 63 68 6f 20 22 65 63 68 | 6f 20 2e 2e 2e 66 69 6e |cho "ech|o ...fin|
|00001ad0| 69 73 68 65 64 20 75 6e | 63 6f 6d 70 72 65 73 73 |ished un|compress|
|00001ae0| 2c 20 73 74 61 72 74 69 | 6e 67 20 74 61 72 20 65 |, starti|ng tar e|
|00001af0| 78 74 72 61 63 74 69 6f | 6e 2e 2e 2e 22 0a 20 20 |xtractio|n...". |
|00001b00| 20 20 20 20 65 63 68 6f | 20 22 24 54 41 20 78 76 | echo| "$TA xv|
|00001b10| 66 20 5c 24 66 6e 61 6d | 65 22 0a 20 20 20 20 20 |f \$fnam|e". |
|00001b20| 20 65 63 68 6f 20 22 2f | 62 69 6e 2f 72 6d 20 2d | echo "/|bin/rm -|
|00001b30| 66 20 2f 74 6d 70 2f 78 | 74 72 2a 20 5c 24 66 6e |f /tmp/x|tr* \$fn|
|00001b40| 61 6d 65 22 0a 20 20 20 | 20 20 20 65 63 68 6f 20 |ame". | echo |
|00001b50| 22 20 22 20 3b 3b 0a 20 | 20 20 20 65 73 61 63 0a |" " ;;. | esac.|
|00001b60| 20 20 20 20 65 63 68 6f | 20 22 20 22 0a 20 20 20 | echo| " ". |
|00001b70| 20 65 63 68 6f 20 22 54 | 68 69 73 20 66 69 6c 65 | echo "T|his file|
|00001b80| 20 77 61 73 20 70 61 63 | 6b 65 64 20 62 79 20 6d | was pac|ked by m|
|00001b90| 61 69 6c 73 70 6c 69 74 | 20 76 65 72 73 69 6f 6e |ailsplit| version|
|00001ba0| 3a 22 0a 20 20 20 20 65 | 63 68 6f 20 24 56 45 0a |:". e|cho $VE.|
|00001bb0| 20 20 20 20 65 63 68 6f | 20 77 69 74 68 20 63 6f | echo| with co|
|00001bc0| 6d 6d 61 6e 64 3a 0a 20 | 20 20 20 65 63 68 6f 20 |mmand:. | echo |
|00001bd0| 22 24 43 4d 22 0a 20 20 | 20 20 65 63 68 6f 20 22 |"$CM". | echo "|
|00001be0| 6f 6e 3a 20 60 64 61 74 | 65 60 22 0a 20 20 20 20 |on: `dat|e`". |
|00001bf0| 65 63 68 6f 20 22 20 22 | 0a 20 20 20 20 65 63 68 |echo " "|. ech|
|00001c00| 6f 20 22 2d 2d 2d 20 73 | 74 61 72 74 20 6f 66 20 |o "--- s|tart of |
|00001c10| 24 53 55 20 70 61 72 74 | 20 24 6e 20 6f 66 20 24 |$SU part| $n of $|
|00001c20| 23 22 0a 20 20 20 20 63 | 61 74 20 24 66 0a 20 20 |#". c|at $f. |
|00001c30| 20 20 65 63 68 6f 20 22 | 2d 2d 2d 20 65 6e 64 20 | echo "|--- end |
|00001c40| 6f 66 20 24 53 55 20 70 | 61 72 74 20 24 6e 20 6f |of $SU p|art $n o|
|00001c50| 66 20 24 23 22 0a 20 20 | 20 20 65 63 68 6f 20 22 |f $#". | echo "|
|00001c60| 20 22 0a 20 20 20 20 65 | 63 68 6f 20 22 20 22 0a | ". e|cho " ".|
|00001c70| 20 20 20 20 7d 20 7c 20 | 24 4d 41 20 24 4d 46 20 | } | |$MA $MF |
|00001c80| 2d 73 20 22 24 53 55 20 | 2d 20 70 61 72 74 20 24 |-s "$SU |- part $|
|00001c90| 6e 20 6f 66 20 24 23 22 | 20 24 54 4f 0a 20 20 20 |n of $#"| $TO. |
|00001ca0| 20 63 61 73 65 20 24 44 | 42 20 69 6e 0a 20 20 20 | case $D|B in. |
|00001cb0| 20 20 20 5b 35 2d 39 5d | 29 20 20 20 65 63 68 6f | [5-9]|) echo|
|00001cc0| 20 22 2e 2e 2e 73 65 6e | 74 20 70 61 72 74 20 24 | "...sen|t part $|
|00001cd0| 6e 20 6f 66 20 24 23 20 | 74 6f 20 24 4d 41 2e 2e |n of $# |to $MA..|
|00001ce0| 2e 22 20 3b 3b 0a 20 20 | 20 20 65 73 61 63 0a 20 |." ;;. | esac. |
|00001cf0| 20 20 20 63 61 73 65 20 | 24 44 42 20 69 6e 0a 20 | case |$DB in. |
|00001d00| 20 20 20 20 20 35 7c 36 | 7c 37 7c 38 7c 39 29 20 | 5|6||7|8|9) |
|00001d10| 65 63 68 6f 20 22 2e 2e | 2e 73 6c 65 65 70 69 6e |echo "..|.sleepin|
|00001d20| 67 20 24 44 45 20 73 65 | 63 6f 6e 64 73 20 28 77 |g $DE se|conds (w|
|00001d30| 61 69 74 69 6e 67 20 66 | 6f 72 20 6d 61 69 6c 65 |aiting f|or maile|
|00001d40| 72 29 20 2e 2e 2e 22 20 | 3b 3b 0a 20 20 20 20 65 |r) ..." |;;. e|
|00001d50| 73 61 63 0a 20 20 20 20 | 73 6c 65 65 70 20 24 44 |sac. |sleep $D|
|00001d60| 45 20 3b 3b 0a 20 20 65 | 73 61 63 0a 20 20 6e 3d |E ;;. e|sac. n=|
|00001d70| 60 65 78 70 72 20 24 6e | 20 2b 20 31 60 0a 64 6f |`expr $n| + 1`.do|
|00001d80| 6e 65 0a 2f 62 69 6e 2f | 72 6d 20 2d 66 20 24 54 |ne./bin/|rm -f $T|
|00001d90| 31 20 24 54 32 20 24 54 | 33 2a 0a 53 48 41 52 5f |1 $T2 $T|3*.SHAR_|
|00001da0| 45 4f 46 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |EOF.fi.i|f test -|
|00001db0| 66 20 27 6d 61 69 6c 73 | 70 6c 69 74 2e 31 27 0a |f 'mails|plit.1'.|
|00001dc0| 74 68 65 6e 0a 09 65 63 | 68 6f 20 73 68 61 72 3a |then..ec|ho shar:|
|00001dd0| 20 22 77 69 6c 6c 20 6e | 6f 74 20 6f 76 65 72 2d | "will n|ot over-|
|00001de0| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 20 66 |write ex|isting f|
|00001df0| 69 6c 65 20 27 6d 61 69 | 6c 73 70 6c 69 74 2e 31 |ile 'mai|lsplit.1|
|00001e00| 27 22 0a 65 6c 73 65 0a | 63 61 74 20 3c 3c 20 5c |'".else.|cat << \|
|00001e10| 53 48 41 52 5f 45 4f 46 | 20 3e 20 27 6d 61 69 6c |SHAR_EOF| > 'mail|
|00001e20| 73 70 6c 69 74 2e 31 27 | 0a 2e 5c 22 20 40 28 23 |split.1'|..\" @(#|
|00001e30| 29 6d 61 69 6c 73 70 6c | 69 74 2e 31 20 20 20 20 |)mailspl|it.1 |
|00001e40| 32 2e 31 20 20 20 38 38 | 2f 30 37 2f 32 35 0a 2e |2.1 88|/07/25..|
|00001e50| 6e 72 20 4e 20 32 34 0a | 2e 6e 72 20 44 20 35 0a |nr N 24.|.nr D 5.|
|00001e60| 2e 54 48 20 4d 41 49 4c | 53 50 4c 49 54 20 31 20 |.TH MAIL|SPLIT 1 |
|00001e70| 4c 6f 63 61 6c 0a 2e 55 | 43 20 34 0a 2e 53 48 20 |Local..U|C 4..SH |
|00001e80| 4e 41 4d 45 0a 6d 61 69 | 6c 73 70 6c 69 74 20 5c |NAME.mai|lsplit \|
|00001e90| 2d 20 70 61 63 6b 61 67 | 65 2c 20 73 70 6c 69 74 |- packag|e, split|
|00001ea0| 2c 20 74 72 61 6e 73 6d | 69 74 20 66 69 6c 65 20 |, transm|it file |
|00001eb0| 64 69 72 65 63 74 6f 72 | 69 65 73 20 62 79 20 65 |director|ies by e|
|00001ec0| 6c 65 63 74 72 6f 6e 69 | 63 20 6d 61 69 6c 0a 2e |lectroni|c mail..|
|00001ed0| 53 48 20 53 59 4e 4f 50 | 53 49 53 0a 2e 42 20 6d |SH SYNOP|SIS..B m|
|00001ee0| 61 69 6c 73 70 6c 69 74 | 20 0a 5b 0a 2e 42 20 6f |ailsplit| .[..B o|
|00001ef0| 70 74 69 6f 6e 73 0a 5d | 20 0a 2e 42 20 6d 61 69 |ptions.]| ..B mai|
|00001f00| 6c 2d 70 61 74 68 20 66 | 69 6c 65 73 0a 2e 62 72 |l-path f|iles..br|
|00001f10| 0a 20 20 72 65 61 6c 6c | 79 3a 0a 2e 62 72 0a 2e |. reall|y:..br..|
|00001f20| 42 20 6d 61 69 6c 73 70 | 6c 69 74 0a 5b 0a 2e 42 |B mailsp|lit.[..B|
|00001f30| 20 5c 2d 56 6e 74 76 0a | 5d 20 5b 0a 2e 42 20 5c | \-Vntv.|] [..B \|
|00001f40| 2d 43 20 63 6f 6d 70 72 | 65 73 73 20 70 72 6f 67 |-C compr|ess prog|
|00001f50| 72 61 6d 0a 5d 20 5b 0a | 2e 42 20 5c 2d 44 20 74 |ram.] [.|.B \-D t|
|00001f60| 65 6d 70 6f 72 61 72 79 | 20 64 69 72 65 63 74 6f |emporary| directo|
|00001f70| 72 79 0a 5d 20 5b 0a 2e | 42 20 5c 2d 4d 20 4d 61 |ry.] [..|B \-M Ma|
|00001f80| 69 6c 65 72 20 6f 70 74 | 69 6f 6e 73 0a 5d 20 5b |iler opt|ions.] [|
|00001f90| 0a 2e 42 20 5c 2d 54 20 | 61 72 63 68 69 76 65 20 |..B \-T |archive |
|00001fa0| 70 72 6f 67 72 61 6d 0a | 5d 20 5b 0a 2e 42 20 5c |program.|] [..B \|
|00001fb0| 2d 64 20 64 65 6c 61 79 | 20 74 69 6d 65 0a 5d 20 |-d delay| time.] |
|00001fc0| 5b 0a 2e 42 20 5c 2d 6c | 20 73 70 6c 69 74 20 6c |[..B \-l| split l|
|00001fd0| 69 6e 65 73 0a 5d 20 5b | 0a 2e 42 20 5c 2d 6d 20 |ines.] [|..B \-m |
|00001fe0| 6d 61 69 6c 20 61 67 65 | 6e 74 0a 5d 20 5b 0a 2e |mail age|nt.] [..|
|00001ff0| 42 20 5c 2d 72 20 70 61 | 72 74 73 0a 5d 20 5b 0a |B \-r pa|rts.] [.|
|00002000| 2e 42 20 5c 2d 73 20 73 | 75 62 6a 65 63 74 0a 5d |.B \-s s|ubject.]|
|00002010| 20 5b 0a 2e 42 20 5c 2d | 78 6e 20 73 65 74 20 64 | [..B \-|xn set d|
|00002020| 65 62 75 67 2d 6c 65 76 | 65 6c 20 6e 0a 5d 20 5b |ebug-lev|el n.] [|
|00002030| 0a 2e 42 20 5c 2d 75 20 | 61 73 63 69 69 20 65 6e |..B \-u |ascii en|
|00002040| 63 6f 64 65 20 70 72 6f | 67 72 61 6d 0a 5d 0a 2e |code pro|gram.]..|
|00002050| 49 20 6d 61 69 6c 2d 70 | 61 74 68 5b 2c 6d 61 69 |I mail-p|ath[,mai|
|00002060| 6c 70 61 74 68 5d 20 0a | 2e 49 20 66 69 6c 65 73 |lpath] .|.I files|
|00002070| 20 5b 66 69 6c 65 73 5d | 20 2e 2e 2e 0a 2e 53 48 | [files]| .....SH|
|00002080| 20 44 45 53 43 52 49 50 | 54 49 4f 4e 0a 2e 5c 22 | DESCRIP|TION..\"|
|00002090| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -------|--------|
|000020a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000020b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000020c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000020d0| 0a 2e 5c 22 20 54 68 69 | 73 20 64 65 66 69 6e 65 |..\" Thi|s define|
|000020e0| 73 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 71 75 |s approp|riate qu|
|000020f0| 6f 74 65 20 73 74 72 69 | 6e 67 73 20 66 6f 72 20 |ote stri|ngs for |
|00002100| 6e 72 6f 66 66 20 61 6e | 64 20 74 72 6f 66 66 0a |nroff an|d troff.|
|00002110| 2e 64 73 20 6c 71 20 5c | 26 22 0a 2e 64 73 20 72 |.ds lq \|&"..ds r|
|00002120| 71 20 5c 26 22 0a 2e 69 | 66 20 74 20 2e 64 73 20 |q \&"..i|f t .ds |
|00002130| 6c 71 20 60 60 0a 2e 69 | 66 20 74 20 2e 64 73 20 |lq ``..i|f t .ds |
|00002140| 72 71 20 27 27 0a 2e 5c | 22 20 4a 75 73 74 20 69 |rq ''..\|" Just i|
|00002150| 6e 20 63 61 73 65 20 74 | 68 65 73 65 20 6e 75 6d |n case t|hese num|
|00002160| 62 65 72 20 72 65 67 69 | 73 74 65 72 73 20 61 72 |ber regi|sters ar|
|00002170| 65 6e 27 74 20 73 65 74 | 20 79 65 74 2e 2e 2e 0a |en't set| yet....|
|00002180| 2e 69 66 20 5c 6e 4e 3d | 3d 30 20 2e 6e 72 20 4e |.if \nN=|=0 .nr N|
|00002190| 20 31 30 0a 2e 69 66 20 | 5c 6e 44 3d 3d 30 20 2e | 10..if |\nD==0 .|
|000021a0| 6e 72 20 44 20 35 0a 2e | 5c 22 20 2d 2d 2d 2d 2d |nr D 5..|\" -----|
|000021b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000021c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000021d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000021e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 2e 49 20 4d 61 |--------|--..I Ma|
|000021f0| 69 6c 73 70 6c 69 74 0a | 69 73 20 61 20 70 72 6f |ilsplit.|is a pro|
|00002200| 67 72 61 6d 20 74 6f 20 | 70 61 63 6b 61 67 65 2c |gram to |package,|
|00002210| 20 63 6f 6d 70 72 65 73 | 73 2c 20 64 6f 63 75 6d | compres|s, docum|
|00002220| 65 6e 74 2c 20 74 72 61 | 6e 73 6d 69 74 2c 20 61 |ent, tra|nsmit, a|
|00002230| 6e 64 20 72 65 2d 61 73 | 73 65 6d 62 6c 65 0a 6d |nd re-as|semble.m|
|00002240| 75 6c 74 69 70 6c 65 20 | 66 69 6c 65 73 20 61 6e |ultiple |files an|
|00002250| 64 20 64 69 72 65 63 74 | 6f 72 69 65 73 20 74 6f |d direct|ories to|
|00002260| 20 6f 74 68 65 72 20 75 | 73 65 72 73 20 76 69 61 | other u|sers via|
|00002270| 20 65 6c 65 63 74 72 6f | 6e 69 63 20 6d 61 69 6c | electro|nic mail|
|00002280| 2e 0a 4d 61 69 6c 73 70 | 6c 69 74 20 75 73 65 73 |..Mailsp|lit uses|
|00002290| 20 74 61 72 28 31 29 2c | 20 63 6f 6d 70 72 65 73 | tar(1),| compres|
|000022a0| 73 28 31 29 2c 20 73 70 | 6c 69 74 28 31 29 20 61 |s(1), sp|lit(1) a|
|000022b0| 6e 64 20 6d 61 69 6c 28 | 31 29 20 74 6f 20 73 65 |nd mail(|1) to se|
|000022c0| 6e 64 20 74 68 65 20 66 | 69 6c 65 73 2c 0a 61 6e |nd the f|iles,.an|
|000022d0| 64 20 61 77 6b 28 31 29 | 20 74 6f 20 72 65 2d 61 |d awk(1)| to re-a|
|000022e0| 73 73 65 6d 62 6c 65 20 | 74 68 65 6d 20 61 74 20 |ssemble |them at |
|000022f0| 74 68 65 20 72 65 63 65 | 69 76 69 6e 67 20 73 69 |the rece|iving si|
|00002300| 64 65 2e 20 20 4d 61 69 | 6c 73 70 6c 69 74 20 61 |de. Mai|lsplit a|
|00002310| 74 74 65 6d 70 74 73 20 | 74 6f 0a 70 72 65 73 65 |ttempts |to.prese|
|00002320| 72 76 65 20 74 68 65 20 | 69 6e 74 65 67 72 69 74 |rve the |integrit|
|00002330| 79 2c 20 73 74 72 75 63 | 74 75 72 65 2c 20 6d 6f |y, struc|ture, mo|
|00002340| 64 65 2c 20 70 72 6f 74 | 65 63 74 69 6f 6e 2c 20 |de, prot|ection, |
|00002350| 61 6e 64 20 6f 77 6e 65 | 72 73 68 69 70 20 6f 66 |and owne|rship of|
|00002360| 20 74 68 65 0a 74 72 61 | 6e 73 6d 69 74 74 65 64 | the.tra|nsmitted|
|00002370| 20 64 69 72 65 63 74 6f | 72 69 65 73 2e 0a 2e 53 | directo|ries...S|
|00002380| 48 20 4f 50 54 49 4f 4e | 53 0a 43 6f 6d 6d 61 6e |H OPTION|S.Comman|
|00002390| 64 20 6c 69 6e 65 20 6f | 70 74 69 6f 6e 73 20 63 |d line o|ptions c|
|000023a0| 61 6e 20 62 65 20 75 73 | 65 64 20 74 6f 20 6f 76 |an be us|ed to ov|
|000023b0| 65 72 72 69 64 65 20 74 | 68 65 20 64 65 66 61 75 |erride t|he defau|
|000023c0| 6c 74 20 6f 70 74 69 6f | 6e 73 20 69 6e 20 74 68 |lt optio|ns in th|
|000023d0| 65 20 73 6f 75 72 63 65 | 0a 63 6f 64 65 20 6f 66 |e source|.code of|
|000023e0| 0a 2e 49 20 6d 61 69 6c | 73 70 6c 69 74 2e 0a 4f |..I mail|split..O|
|000023f0| 70 74 69 6f 6e 73 20 61 | 6e 64 20 66 6c 61 67 73 |ptions a|nd flags|
|00002400| 20 63 61 6e 20 62 65 20 | 73 70 65 63 69 66 69 65 | can be |specifie|
|00002410| 64 20 69 6e 20 61 6e 79 | 20 6f 72 64 65 72 20 6f |d in any| order o|
|00002420| 6e 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 20 6c 69 |n the co|mmand li|
|00002430| 6e 65 2e 0a 54 68 65 20 | 66 69 72 73 74 20 6e 6f |ne..The |first no|
|00002440| 6e 2d 6f 70 74 69 6f 6e | 20 6f 72 20 66 6c 61 67 |n-option| or flag|
|00002450| 20 74 6f 6b 65 6e 20 6f | 6e 20 74 68 65 20 63 6f | token o|n the co|
|00002460| 6d 6d 61 6e 64 20 6c 69 | 6e 65 20 69 73 20 69 6e |mmand li|ne is in|
|00002470| 74 65 72 70 72 65 74 74 | 65 64 0a 74 6f 20 62 65 |terprett|ed.to be|
|00002480| 20 74 68 65 20 6d 61 69 | 6c 20 70 61 74 68 20 77 | the mai|l path w|
|00002490| 68 69 74 68 65 72 20 74 | 68 65 20 64 61 74 61 20 |hither t|he data |
|000024a0| 73 68 6f 75 6c 64 20 62 | 65 20 73 65 6e 74 2e 20 |should b|e sent. |
|000024b0| 20 41 6c 6c 20 6f 74 68 | 65 72 0a 6e 6f 6e 2d 6f | All oth|er.non-o|
|000024c0| 70 74 69 6f 6e 20 6f 72 | 20 66 6c 61 67 20 74 6f |ption or| flag to|
|000024d0| 6b 65 6e 73 20 61 72 65 | 20 63 6f 6e 73 69 64 65 |kens are| conside|
|000024e0| 72 65 64 20 66 69 6c 65 | 73 20 6f 72 20 64 69 72 |red file|s or dir|
|000024f0| 65 63 74 6f 72 69 65 73 | 20 74 6f 20 62 65 0a 73 |ectories| to be.s|
|00002500| 65 6e 74 2e 20 20 53 69 | 6e 63 65 20 74 68 65 20 |ent. Si|nce the |
|00002510| 70 72 6f 67 72 61 6d 20 | 69 73 20 61 20 73 68 65 |program |is a she|
|00002520| 6c 6c 2d 73 63 72 69 70 | 74 2c 20 75 73 65 72 73 |ll-scrip|t, users|
|00002530| 20 6d 69 67 68 74 20 77 | 61 6e 74 20 74 6f 20 74 | might w|ant to t|
|00002540| 75 6e 65 0a 74 68 65 20 | 64 65 66 61 75 6c 74 73 |une.the |defaults|
|00002550| 20 66 6f 72 20 74 68 65 | 69 72 20 73 69 74 65 73 | for the|ir sites|
|00002560| 2e 20 20 41 6c 6c 20 73 | 75 67 67 65 73 74 69 6f |. All s|uggestio|
|00002570| 6e 73 2c 20 69 6d 70 72 | 6f 76 65 6d 65 6e 74 73 |ns, impr|ovements|
|00002580| 2c 0a 62 75 67 2d 72 65 | 70 6f 72 74 73 2c 20 65 |,.bug-re|ports, e|
|00002590| 74 63 2e 20 77 6f 75 6c | 64 20 62 65 20 67 72 65 |tc. woul|d be gre|
|000025a0| 61 74 6c 79 20 61 70 70 | 72 65 63 69 61 74 65 64 |atly app|reciated|
|000025b0| 2e 20 20 53 65 6e 64 20 | 74 68 65 6d 20 74 6f 0a |. Send |them to.|
|000025c0| 77 79 6c 65 40 65 74 68 | 7a 2e 75 75 63 70 2e 0a |wyle@eth|z.uucp..|
|000025d0| 2e 49 50 20 2d 56 0a 73 | 65 74 73 20 74 68 65 20 |.IP -V.s|ets the |
|000025e0| 0a 2e 49 20 76 65 72 62 | 6f 73 65 20 0a 6f 70 74 |..I verb|ose .opt|
|000025f0| 69 6f 6e 2c 20 61 6e 64 | 20 69 73 20 65 71 75 69 |ion, and| is equi|
|00002600| 76 69 6c 61 6e 74 20 74 | 6f 20 2d 78 39 20 28 6d |vilant t|o -x9 (m|
|00002610| 61 78 69 6d 75 6d 20 64 | 65 62 75 67 67 69 6e 67 |aximum d|ebugging|
|00002620| 29 2e 20 20 57 68 65 6e | 20 74 68 69 73 20 6f 70 |). When| this op|
|00002630| 74 69 6f 6e 20 69 73 0a | 73 65 74 2c 0a 2e 49 20 |tion is.|set,..I |
|00002640| 6d 61 69 6c 73 70 6c 69 | 74 0a 77 69 6c 6c 20 65 |mailspli|t.will e|
|00002650| 63 68 6f 20 65 76 65 72 | 79 74 68 69 6e 67 20 68 |cho ever|ything h|
|00002660| 65 20 64 6f 65 73 20 77 | 68 69 6c 65 20 68 65 27 |e does w|hile he'|
|00002670| 73 20 64 6f 69 6e 67 20 | 69 74 2e 20 20 54 68 69 |s doing |it. Thi|
|00002680| 73 20 6f 70 74 69 6f 6e | 20 77 69 6c 6c 20 67 65 |s option| will ge|
|00002690| 6e 65 72 61 74 65 0a 61 | 6e 20 61 77 66 75 6c 20 |nerate.a|n awful |
|000026a0| 6c 6f 74 20 6f 66 20 75 | 73 65 6c 65 73 73 20 64 |lot of u|seless d|
|000026b0| 65 62 75 67 67 69 6e 67 | 20 69 6e 66 6f 72 6d 61 |ebugging| informa|
|000026c0| 74 69 6f 6e 20 61 6e 64 | 20 69 73 20 6e 6f 74 20 |tion and| is not |
|000026d0| 72 65 63 6f 6d 6d 65 6e | 64 65 64 20 75 6e 6c 65 |recommen|ded unle|
|000026e0| 73 73 0a 79 6f 75 20 61 | 72 65 20 64 65 62 75 67 |ss.you a|re debug|
|000026f0| 67 69 6e 67 2e 0a 2e 49 | 50 20 2d 6e 0a 70 75 74 |ging...I|P -n.put|
|00002700| 73 0a 2e 49 20 6d 61 69 | 6c 73 70 6c 69 74 0a 69 |s..I mai|lsplit.i|
|00002710| 6e 74 6f 20 22 74 65 73 | 74 22 20 6d 6f 64 65 2e |nto "tes|t" mode.|
|00002720| 20 20 54 68 69 73 20 6d | 6f 64 65 20 69 73 20 61 | This m|ode is a|
|00002730| 6e 61 6c 6f 67 6f 75 73 | 20 74 6f 20 6d 61 6b 65 |nalogous| to make|
|00002740| 28 31 29 20 2d 6e 20 77 | 68 65 72 65 0a 2e 49 20 |(1) -n w|here..I |
|00002750| 6d 61 69 6c 73 70 6c 69 | 74 0a 74 65 6c 6c 73 20 |mailspli|t.tells |
|00002760| 79 6f 75 20 77 68 69 63 | 68 20 63 6f 6d 6d 61 6e |you whic|h comman|
|00002770| 64 73 20 68 65 20 77 6f | 75 6c 64 20 68 61 76 65 |ds he wo|uld have|
|00002780| 20 69 73 73 75 65 64 20 | 77 69 74 68 6f 75 74 20 | issued |without |
|00002790| 61 63 74 75 61 6c 6c 79 | 20 64 6f 69 6e 67 20 61 |actually| doing a|
|000027a0| 6e 79 74 68 69 6e 67 2e | 0a 54 68 69 73 20 6d 6f |nything.|.This mo|
|000027b0| 64 65 20 69 73 20 61 6c | 73 6f 20 67 6f 6f 64 20 |de is al|so good |
|000027c0| 66 6f 72 20 64 65 62 75 | 67 67 69 6e 67 2c 20 6f |for debu|gging, o|
|000027d0| 72 20 77 68 65 6e 20 79 | 6f 75 27 72 65 20 63 75 |r when y|ou're cu|
|000027e0| 72 69 6f 75 73 20 77 68 | 61 74 20 6d 61 69 6c 73 |rious wh|at mails|
|000027f0| 70 6c 69 74 0a 6d 69 67 | 68 74 20 64 6f 20 77 69 |plit.mig|ht do wi|
|00002800| 74 68 20 61 20 63 6f 6d | 70 6c 69 63 61 74 65 64 |th a com|plicated|
|00002810| 20 70 61 74 68 20 6f 72 | 20 64 69 72 65 63 74 6f | path or| directo|
|00002820| 72 79 2e 0a 2e 49 50 20 | 2d 74 0a 73 61 6d 65 20 |ry...IP |-t.same |
|00002830| 61 73 20 2d 6e 0a 2e 49 | 50 20 2d 76 0a 64 69 73 |as -n..I|P -v.dis|
|00002840| 70 6c 61 79 73 20 76 65 | 72 73 69 6f 6e 20 6e 75 |plays ve|rsion nu|
|00002850| 6d 62 65 72 20 61 6e 64 | 20 65 78 69 74 73 2e 20 |mber and| exits. |
|00002860| 20 54 68 69 73 20 6f 70 | 74 69 6f 6e 20 69 73 20 | This op|tion is |
|00002870| 75 73 65 66 75 6c 20 6f | 6e 6c 79 20 66 6f 72 20 |useful o|nly for |
|00002880| 66 69 6e 64 69 6e 67 20 | 6f 75 74 0a 77 68 69 63 |finding |out.whic|
|00002890| 68 20 76 65 72 73 69 6f | 6e 20 2f 20 70 61 74 63 |h versio|n / patc|
|000028a0| 68 20 6c 65 76 65 6c 20 | 79 6f 75 72 20 6d 61 69 |h level |your mai|
|000028b0| 6c 73 70 6c 69 74 20 69 | 73 2e 0a 2e 49 50 20 2d |lsplit i|s...IP -|
|000028c0| 43 20 63 6f 6d 70 72 65 | 73 73 20 70 72 6f 67 72 |C compre|ss progr|
|000028d0| 61 6d 0a 74 65 6c 6c 73 | 0a 2e 49 20 6d 61 69 6c |am.tells|..I mail|
|000028e0| 73 70 6c 69 74 0a 74 6f | 20 75 73 65 20 74 68 65 |split.to| use the|
|000028f0| 20 6e 65 78 74 20 61 72 | 67 75 6d 65 6e 74 20 61 | next ar|gument a|
|00002900| 73 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 74 6f |s the pr|ogram to|
|00002910| 20 75 73 65 20 69 6e 73 | 74 65 61 64 20 6f 66 20 | use ins|tead of |
|00002920| 63 6f 6d 70 72 65 73 73 | 28 31 29 0a 66 6f 72 20 |compress|(1).for |
|00002930| 63 6f 6d 70 72 65 73 73 | 69 6e 67 20 74 68 65 20 |compress|ing the |
|00002940| 61 72 63 68 69 76 65 20 | 73 74 72 65 61 6d 2e 20 |archive |stream. |
|00002950| 20 49 6e 20 73 6f 6d 65 | 20 63 69 72 63 75 6d 73 | In some| circums|
|00002960| 74 61 6e 63 65 73 2c 20 | 75 73 69 6e 67 0a 63 6f |tances, |using.co|
|00002970| 6d 70 72 65 73 73 28 31 | 29 20 6d 61 79 20 65 78 |mpress(1|) may ex|
|00002980| 70 61 6e 64 20 74 68 65 | 20 73 69 7a 65 20 6f 66 |pand the| size of|
|00002990| 20 61 20 73 74 72 65 61 | 6d 2c 20 69 6e 20 77 68 | a strea|m, in wh|
|000029a0| 69 63 68 20 63 61 73 65 | 20 6f 6e 65 20 77 6f 75 |ich case| one wou|
|000029b0| 6c 64 0a 6d 69 67 68 74 | 20 77 61 6e 74 20 74 6f |ld.might| want to|
|000029c0| 20 75 73 65 20 63 61 74 | 28 31 29 20 74 6f 20 73 | use cat|(1) to s|
|000029d0| 65 6e 64 20 74 68 65 20 | 61 72 63 68 69 76 65 20 |end the |archive |
|000029e0| 74 68 72 6f 75 67 68 20 | 75 6e 63 68 61 6e 67 65 |through |unchange|
|000029f0| 64 2e 20 20 54 68 65 20 | 61 75 74 68 6f 72 20 69 |d. The |author i|
|00002a00| 73 0a 64 75 62 69 6f 75 | 73 20 6f 66 20 74 68 69 |s.dubiou|s of thi|
|00002a10| 73 20 6f 70 74 69 6f 6e | 2e 0a 2e 49 50 20 2d 44 |s option|...IP -D|
|00002a20| 20 64 69 72 65 63 74 6f | 72 79 0a 69 6e 73 74 72 | directo|ry.instr|
|00002a30| 75 63 74 73 0a 2e 49 20 | 6d 61 69 6c 73 70 6c 69 |ucts..I |mailspli|
|00002a40| 74 0a 74 6f 20 75 73 65 | 0a 2e 49 20 64 69 72 65 |t.to use|..I dire|
|00002a50| 63 74 6f 72 79 0a 69 6e | 73 74 65 61 64 20 6f 66 |ctory.in|stead of|
|00002a60| 20 2f 74 6d 70 20 66 6f | 72 20 74 65 6d 70 6f 72 | /tmp fo|r tempor|
|00002a70| 61 72 79 20 66 69 6c 65 | 73 20 63 72 65 61 74 65 |ary file|s create|
|00002a80| 64 20 64 75 72 69 6e 67 | 20 74 68 65 20 61 72 63 |d during| the arc|
|00002a90| 68 69 76 61 6c 2c 20 63 | 6f 6d 70 72 65 73 73 69 |hival, c|ompressi|
|00002aa0| 6f 6e 2c 0a 61 6e 64 20 | 65 6e 63 6f 64 69 6e 67 |on,.and |encoding|
|00002ab0| 20 70 72 6f 63 65 73 73 | 2e 20 20 54 68 69 73 20 | process|. This |
|00002ac0| 6f 70 74 69 6f 6e 20 69 | 73 20 6e 65 63 65 73 73 |option i|s necess|
|00002ad0| 61 72 79 20 69 66 20 74 | 68 65 72 65 20 69 73 20 |ary if t|here is |
|00002ae0| 76 65 72 79 20 6c 69 74 | 74 6c 65 20 73 70 61 63 |very lit|tle spac|
|00002af0| 65 0a 69 6e 20 2f 74 6d | 70 2c 20 6f 6e 65 20 69 |e.in /tm|p, one i|
|00002b00| 73 20 73 65 6e 64 69 6e | 67 20 76 65 72 79 20 6c |s sendin|g very l|
|00002b10| 61 72 67 65 20 64 69 72 | 65 63 74 6f 72 69 65 73 |arge dir|ectories|
|00002b20| 2c 20 6f 72 20 74 68 65 | 20 66 69 6c 65 20 74 72 |, or the| file tr|
|00002b30| 65 65 20 6f 6e 20 74 68 | 69 73 0a 73 79 73 74 65 |ee on th|is.syste|
|00002b40| 6d 20 69 73 20 62 69 7a | 61 72 65 2e 0a 2e 49 50 |m is biz|are...IP|
|00002b50| 20 2d 4d 20 6d 61 69 6c | 65 72 20 6f 70 74 69 6f | -M mail|er optio|
|00002b60| 6e 73 0a 57 68 65 6e 20 | 74 68 69 73 20 6f 70 74 |ns.When |this opt|
|00002b70| 69 6f 6e 20 69 73 20 75 | 73 65 64 2c 0a 2e 49 20 |ion is u|sed,..I |
|00002b80| 6d 61 69 6c 73 70 6c 69 | 74 0a 70 61 73 73 65 73 |mailspli|t.passes|
|00002b90| 20 74 68 65 0a 2e 49 20 | 6d 61 69 6c 65 72 20 6f | the..I |mailer o|
|00002ba0| 70 74 69 6f 6e 73 0a 61 | 72 67 75 6d 65 6e 74 28 |ptions.a|rgument(|
|00002bb0| 73 29 20 74 6f 20 74 68 | 65 20 6d 61 69 6c 20 70 |s) to th|e mail p|
|00002bc0| 72 6f 67 72 61 6d 2e 20 | 20 53 6f 6d 65 20 6d 61 |rogram. | Some ma|
|00002bd0| 69 6c 65 72 73 20 6e 65 | 65 64 20 6f 70 74 69 6f |ilers ne|ed optio|
|00002be0| 6e 73 20 74 6f 20 67 65 | 74 20 74 68 65 20 6a 6f |ns to ge|t the jo|
|00002bf0| 62 0a 64 6f 6e 65 20 28 | 77 65 20 77 6f 6e 27 74 |b.done (|we won't|
|00002c00| 20 6d 65 6e 74 69 6f 6e | 20 61 6e 20 69 6e 66 61 | mention| an infa|
|00002c10| 6d 6f 75 73 20 58 2e 34 | 30 30 20 6d 61 69 6c 65 |mous X.4|00 maile|
|00002c20| 72 29 2e 20 20 4f 74 68 | 65 72 20 74 69 6d 65 73 |r). Oth|er times|
|00002c30| 2c 20 6f 6e 65 20 77 6f | 75 6c 64 0a 70 72 65 66 |, one wo|uld.pref|
|00002c40| 65 72 20 74 6f 20 73 65 | 74 20 6f 70 74 69 6f 6e |er to se|t option|
|00002c50| 73 20 66 6f 72 20 65 66 | 66 69 63 69 65 6e 63 79 |s for ef|ficiency|
|00002c60| 2c 20 74 65 6c 6c 20 74 | 68 65 20 6d 61 69 6c 65 |, tell t|he maile|
|00002c70| 72 20 6e 6f 74 20 74 6f | 20 72 75 6e 0a 69 6e 74 |r not to| run.int|
|00002c80| 65 72 61 63 74 69 76 65 | 6c 79 2c 20 65 74 63 2e |eractive|ly, etc.|
|00002c90| 20 20 54 6f 20 73 65 74 | 20 6d 6f 72 65 20 74 68 | To set| more th|
|00002ca0| 61 6e 20 6f 6e 65 20 6f | 70 74 69 6f 6e 2c 20 65 |an one o|ption, e|
|00002cb0| 6e 63 6c 6f 73 65 0a 2e | 49 20 6d 61 69 6c 65 72 |nclose..|I mailer|
|00002cc0| 20 6f 70 74 69 6f 6e 73 | 0a 69 6e 20 71 75 6f 74 | options|.in quot|
|00002cd0| 65 73 2e 20 20 42 65 20 | 63 61 72 65 66 75 6c 20 |es. Be |careful |
|00002ce0| 61 62 6f 75 74 20 74 68 | 65 20 73 68 65 6c 6c 27 |about th|e shell'|
|00002cf0| 73 20 65 61 74 69 6e 67 | 20 71 75 6f 74 65 73 2e |s eating| quotes.|
|00002d00| 20 20 4f 6e 65 20 6d 69 | 67 68 74 20 68 61 76 65 | One mi|ght have|
|00002d10| 20 74 6f 0a 65 78 70 65 | 72 69 6d 65 6e 74 20 61 | to.expe|riment a|
|00002d20| 20 62 69 74 20 74 6f 20 | 73 65 74 20 61 6c 6c 20 | bit to |set all |
|00002d30| 74 68 65 20 6f 70 74 69 | 6f 6e 73 20 6e 65 65 64 |the opti|ons need|
|00002d40| 65 64 20 6f 72 20 64 65 | 73 69 72 65 64 2e 20 0a |ed or de|sired. .|
|00002d50| 2e 49 50 20 2d 54 20 61 | 72 63 68 69 76 65 20 70 |.IP -T a|rchive p|
|00002d60| 72 6f 67 72 61 6d 0a 49 | 66 20 74 68 69 73 20 6f |rogram.I|f this o|
|00002d70| 70 74 69 6f 6e 20 69 73 | 20 73 65 74 2c 0a 2e 49 |ption is| set,..I|
|00002d80| 20 6d 61 69 6c 73 70 6c | 69 74 0a 75 73 65 73 0a | mailspl|it.uses.|
|00002d90| 2e 49 20 61 72 63 68 69 | 76 65 20 70 72 6f 67 72 |.I archi|ve progr|
|00002da0| 61 6d 0a 69 6e 73 74 65 | 61 64 20 6f 66 20 74 61 |am.inste|ad of ta|
|00002db0| 72 28 31 29 20 74 6f 20 | 61 72 63 68 69 76 65 20 |r(1) to |archive |
|00002dc0| 61 6c 6c 20 74 68 65 20 | 66 69 6c 65 73 20 61 6e |all the |files an|
|00002dd0| 64 20 64 69 72 65 63 74 | 6f 72 69 65 73 2e 20 20 |d direct|ories. |
|00002de0| 49 66 20 74 68 65 20 73 | 79 73 74 65 6d 0a 64 6f |If the s|ystem.do|
|00002df0| 65 73 20 6e 6f 74 20 68 | 61 76 65 20 74 61 72 28 |es not h|ave tar(|
|00002e00| 31 29 2c 20 69 74 20 69 | 73 20 75 6e 6c 69 6b 65 |1), it i|s unlike|
|00002e10| 6c 79 20 74 68 61 74 0a | 2e 49 20 6d 61 69 6c 73 |ly that.|.I mails|
|00002e20| 70 6c 69 74 0a 77 69 6c | 6c 20 77 6f 72 6b 2e 20 |plit.wil|l work. |
|00002e30| 20 4f 6e 20 74 68 65 20 | 6f 74 68 65 72 20 68 61 | On the |other ha|
|00002e40| 6e 64 2c 20 74 61 72 28 | 31 29 20 65 78 70 61 6e |nd, tar(|1) expan|
|00002e50| 64 73 20 62 69 6e 61 72 | 79 20 66 69 6c 65 73 20 |ds binar|y files |
|00002e60| 65 6e 6f 72 6d 6f 75 73 | 6c 79 2c 20 73 6f 20 6f |enormous|ly, so o|
|00002e70| 6e 65 0a 6d 69 67 68 74 | 20 73 75 62 73 74 69 74 |ne.might| substit|
|00002e80| 75 74 65 20 63 61 74 28 | 31 29 20 69 6e 73 74 65 |ute cat(|1) inste|
|00002e90| 61 64 20 6f 66 20 74 61 | 72 28 31 29 20 74 6f 20 |ad of ta|r(1) to |
|00002ea0| 72 65 64 75 63 65 20 74 | 68 65 20 73 69 7a 65 20 |reduce t|he size |
|00002eb0| 6f 66 20 74 68 65 20 61 | 72 63 68 69 76 65 2e 0a |of the a|rchive..|
|00002ec0| 2e 49 50 20 2d 64 20 73 | 65 63 6f 6e 64 73 0a 74 |.IP -d s|econds.t|
|00002ed0| 65 6c 6c 73 0a 2e 49 20 | 6d 61 69 6c 73 70 6c 69 |ells..I |mailspli|
|00002ee0| 74 0a 74 6f 20 77 61 69 | 74 0a 2e 49 20 73 65 63 |t.to wai|t..I sec|
|00002ef0| 6f 6e 64 73 0a 73 65 63 | 6f 6e 64 73 20 61 66 74 |onds.sec|onds aft|
|00002f00| 65 72 20 65 61 63 68 20 | 74 69 6d 65 20 68 65 20 |er each |time he |
|00002f10| 69 6e 76 6f 6b 65 73 20 | 74 68 65 20 6d 61 69 6c |invokes |the mail|
|00002f20| 65 72 2e 20 20 53 6f 6d | 65 20 6d 61 69 6c 65 72 |er. Som|e mailer|
|00002f30| 73 20 28 61 20 63 65 72 | 74 61 69 6e 0a 58 2e 34 |s (a cer|tain.X.4|
|00002f40| 30 30 20 73 79 73 74 65 | 6d 20 77 69 74 68 20 22 |00 syste|m with "|
|00002f50| 4d 54 41 20 63 6f 6e 67 | 65 73 74 69 6f 6e 20 70 |MTA cong|estion p|
|00002f60| 72 6f 62 6c 65 6d 73 22 | 20 77 69 6c 6c 20 72 65 |roblems"| will re|
|00002f70| 6d 61 69 6e 20 6e 61 6d | 65 6c 65 73 73 29 20 68 |main nam|eless) h|
|00002f80| 61 76 65 0a 70 72 6f 62 | 6c 65 6d 73 20 64 65 61 |ave.prob|lems dea|
|00002f90| 6c 69 6e 67 20 77 69 74 | 68 20 73 75 64 64 65 6e |ling wit|h sudden|
|00002fa0| 2c 20 6c 61 72 67 65 20 | 62 75 72 73 74 73 20 6f |, large |bursts o|
|00002fb0| 66 20 6d 65 73 73 61 67 | 65 73 2e 20 20 4f 6e 65 |f messag|es. One|
|00002fc0| 20 6d 69 67 68 74 20 77 | 61 6e 74 0a 74 6f 20 73 | might w|ant.to s|
|00002fd0| 65 74 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 69 |et the d|efault i|
|00002fe0| 6e 20 74 68 65 20 63 6f | 64 65 20 74 6f 20 73 6f |n the co|de to so|
|00002ff0| 6d 65 20 6e 6f 6e 2d 7a | 65 72 6f 20 76 61 6c 75 |me non-z|ero valu|
|00003000| 65 20 69 66 20 74 68 65 | 20 6d 61 69 6c 65 72 20 |e if the| mailer |
|00003010| 6f 6e 0a 68 69 73 20 73 | 79 73 74 65 6d 20 68 61 |on.his s|ystem ha|
|00003020| 73 20 73 75 63 68 20 70 | 72 6f 62 6c 65 6d 73 2e |s such p|roblems.|
|00003030| 20 20 49 66 0a 2e 49 20 | 6d 61 69 6c 73 70 6c 69 | If..I |mailspli|
|00003040| 74 0a 69 73 20 75 73 75 | 61 6c 6c 79 20 75 73 65 |t.is usu|ally use|
|00003050| 64 20 66 6f 72 20 73 6d | 61 6c 6c 20 64 69 72 65 |d for sm|all dire|
|00003060| 63 74 6f 72 69 65 73 2c | 20 61 6e 64 20 74 68 65 |ctories,| and the|
|00003070| 20 64 65 66 61 75 6c 74 | 20 64 65 6c 61 79 20 69 | default| delay i|
|00003080| 73 20 73 6d 61 6c 6c 2c | 0a 6f 6e 65 20 73 68 6f |s small,|.one sho|
|00003090| 75 6c 64 20 75 73 65 20 | 74 68 69 73 20 66 6c 61 |uld use |this fla|
|000030a0| 67 20 74 6f 20 73 65 74 | 20 74 68 65 20 64 65 6c |g to set| the del|
|000030b0| 61 79 20 68 69 67 68 65 | 72 20 69 66 20 61 20 6c |ay highe|r if a l|
|000030c0| 61 72 67 65 20 6e 75 6d | 62 65 72 20 6f 66 20 66 |arge num|ber of f|
|000030d0| 69 6c 65 73 20 6f 72 0a | 6c 61 72 67 65 20 64 69 |iles or.|large di|
|000030e0| 72 65 63 74 6f 72 79 20 | 69 73 20 73 65 6e 74 2e |rectory |is sent.|
|000030f0| 0a 2e 49 50 20 2d 6c 20 | 6c 69 6e 65 73 0a 54 68 |..IP -l |lines.Th|
|00003100| 69 73 20 6f 70 74 69 6f | 6e 20 73 65 74 73 20 74 |is optio|n sets t|
|00003110| 68 65 20 6d 61 78 69 6d | 75 6d 20 6e 75 6d 62 65 |he maxim|um numbe|
|00003120| 72 20 6f 66 20 6c 69 6e | 65 73 20 66 6f 72 20 61 |r of lin|es for a|
|00003130| 20 73 69 6e 67 6c 65 20 | 6d 61 69 6c 0a 6d 65 73 | single |mail.mes|
|00003140| 73 61 67 65 2e 20 20 54 | 68 65 20 64 65 66 61 75 |sage. T|he defau|
|00003150| 6c 74 20 61 73 20 64 69 | 73 74 72 69 62 75 74 65 |lt as di|stribute|
|00003160| 64 20 69 73 20 73 65 74 | 20 74 6f 20 6b 65 65 70 |d is set| to keep|
|00003170| 20 61 20 6d 65 73 73 61 | 67 65 20 73 6d 61 6c 6c | a messa|ge small|
|00003180| 65 72 0a 74 68 61 6e 20 | 36 30 20 4b 69 6c 6f 62 |er.than |60 Kilob|
|00003190| 79 74 65 73 2e 20 20 53 | 65 65 20 74 68 65 20 64 |ytes. S|ee the d|
|000031a0| 69 73 63 75 73 73 69 6f | 6e 20 62 65 6c 6f 77 2e |iscussio|n below.|
|000031b0| 20 20 4f 6e 65 20 6d 69 | 67 68 74 20 77 61 6e 74 | One mi|ght want|
|000031c0| 20 74 6f 20 73 65 74 0a | 74 68 65 20 64 65 66 61 | to set.|the defa|
|000031d0| 75 6c 74 20 68 69 67 68 | 65 72 2c 20 61 6e 64 20 |ult high|er, and |
|000031e0| 75 73 65 20 74 68 69 73 | 20 6f 70 74 69 6f 6e 20 |use this| option |
|000031f0| 74 6f 20 73 65 74 20 61 | 20 73 6d 61 6c 6c 65 72 |to set a| smaller|
|00003200| 20 6e 75 6d 62 65 72 20 | 77 68 65 6e 0a 73 65 6e | number |when.sen|
|00003210| 64 69 6e 67 20 6d 61 69 | 6c 20 74 68 72 6f 75 67 |ding mai|l throug|
|00003220| 68 20 6d 61 69 6c 65 72 | 73 20 77 68 69 63 68 20 |h mailer|s which |
|00003230| 64 6f 6e 27 74 20 6c 69 | 6b 65 20 6c 61 72 67 65 |don't li|ke large|
|00003240| 20 6d 65 73 73 61 67 65 | 73 2e 20 20 28 41 0a 63 | message|s. (A.c|
|00003250| 65 72 74 61 69 6e 20 58 | 2e 34 30 30 20 6d 61 69 |ertain X|.400 mai|
|00003260| 6c 65 72 2e 2e 2e 29 20 | 20 52 65 6d 65 6d 62 65 |ler...) | Remembe|
|00003270| 72 20 74 68 61 74 20 69 | 66 20 74 68 65 20 61 72 |r that i|f the ar|
|00003280| 63 68 69 76 65 20 70 69 | 65 63 65 73 20 68 61 76 |chive pi|eces hav|
|00003290| 65 20 74 6f 20 70 61 73 | 73 0a 2e 49 20 74 68 72 |e to pas|s..I thr|
|000032a0| 6f 75 67 68 0a 61 20 6d | 61 69 6c 65 72 20 77 68 |ough.a m|ailer wh|
|000032b0| 69 63 68 20 77 61 6e 74 | 73 20 73 6d 61 6c 6c 20 |ich want|s small |
|000032c0| 6d 65 73 73 61 67 65 73 | 2c 20 74 68 65 20 6c 69 |messages|, the li|
|000032d0| 6e 65 73 20 73 69 7a 65 | 20 6d 75 73 74 20 62 65 |nes size| must be|
|000032e0| 20 73 65 74 20 73 6d 61 | 6c 6c 65 72 2e 0a 2e 49 | set sma|ller...I|
|000032f0| 50 20 2d 6d 20 6d 61 69 | 6c 65 72 0a 49 66 20 74 |P -m mai|ler.If t|
|00003300| 68 65 20 73 79 73 74 65 | 6d 20 6f 6e 20 77 68 69 |he syste|m on whi|
|00003310| 63 68 0a 2e 49 20 6d 61 | 69 6c 73 70 6c 69 74 0a |ch..I ma|ilsplit.|
|00003320| 69 73 20 72 75 6e 6e 69 | 6e 67 20 68 61 73 20 6d |is runni|ng has m|
|00003330| 6f 72 65 20 74 68 61 6e | 20 6f 6e 65 20 6d 61 69 |ore than| one mai|
|00003340| 6c 65 72 20 28 75 73 65 | 72 20 61 67 65 6e 74 29 |ler (use|r agent)|
|00003350| 20 6f 6e 65 20 63 61 6e | 20 75 73 65 20 74 68 69 | one can| use thi|
|00003360| 73 20 66 6c 61 67 0a 74 | 6f 20 63 68 6f 6f 73 65 |s flag.t|o choose|
|00003370| 20 61 20 6d 61 69 6c 65 | 72 20 6f 74 68 65 72 20 | a maile|r other |
|00003380| 74 68 61 6e 20 74 68 65 | 20 64 65 66 61 75 6c 74 |than the| default|
|00003390| 20 28 2f 75 73 72 2f 75 | 63 62 2f 4d 61 69 6c 20 | (/usr/u|cb/Mail |
|000033a0| 61 73 0a 64 69 73 74 72 | 69 62 75 74 65 64 29 2e |as.distr|ibuted).|
|000033b0| 20 20 0a 2e 49 50 20 2d | 72 20 70 61 72 74 73 0a | ..IP -|r parts.|
|000033c0| 54 68 65 20 2d 72 28 65 | 73 65 6e 64 29 20 6f 70 |The -r(e|send) op|
|000033d0| 74 69 6f 6e 20 69 73 20 | 75 73 65 64 20 74 6f 20 |tion is |used to |
|000033e0| 72 65 2d 73 65 6e 64 20 | 70 69 65 63 65 73 20 77 |re-send |pieces w|
|000033f0| 68 69 63 68 20 62 65 63 | 61 6d 65 20 6c 6f 73 74 |hich bec|ame lost|
|00003400| 20 69 6e 20 74 68 65 0a | 77 69 64 65 2d 61 72 65 | in the.|wide-are|
|00003410| 61 20 6d 61 69 6c 20 6e | 65 74 77 6f 72 6b 73 2e |a mail n|etworks.|
|00003420| 0a 2e 49 20 70 61 72 74 | 73 0a 69 73 20 61 20 6c |..I part|s.is a l|
|00003430| 69 73 74 20 6f 66 20 70 | 69 65 63 65 73 20 74 6f |ist of p|ieces to|
|00003440| 20 62 65 20 72 65 2d 73 | 65 6e 74 20 74 6f 20 74 | be re-s|ent to t|
|00003450| 68 65 20 72 65 63 69 70 | 69 65 6e 74 2e 0a 2e 49 |he recip|ient...I|
|00003460| 20 50 61 72 74 73 0a 63 | 61 6e 20 62 65 20 61 20 | Parts.c|an be a |
|00003470| 63 6f 6d 6d 61 2d 73 65 | 70 61 72 61 74 65 64 20 |comma-se|parated |
|00003480| 6c 69 73 74 2c 20 6f 72 | 20 6e 75 6d 62 65 72 73 |list, or| numbers|
|00003490| 20 62 65 74 77 65 65 6e | 20 64 61 73 68 65 73 2c | between| dashes,|
|000034a0| 20 6f 72 20 6a 75 73 74 | 20 6f 6e 65 20 6e 75 6d | or just| one num|
|000034b0| 62 65 72 0a 61 6e 64 20 | 61 20 64 61 73 68 2c 20 |ber.and |a dash, |
|000034c0| 6f 72 20 61 6e 79 20 63 | 6f 6d 62 69 6e 61 74 69 |or any c|ombinati|
|000034d0| 6f 6e 2e 20 20 54 68 65 | 20 66 6f 72 6d 61 6c 20 |on. The| formal |
|000034e0| 42 4e 46 20 6f 66 0a 2e | 49 20 70 61 72 74 73 0a |BNF of..|I parts.|
|000034f0| 69 73 3a 0a 2e 6e 66 0a | 2e 62 72 0a 0a 70 61 72 |is:..nf.|.br..par|
|00003500| 74 73 20 3a 3d 3d 20 3c | 6e 75 6d 62 65 72 3e 0a |ts :== <|number>.|
|00003510| 20 20 20 20 20 20 7c 20 | 20 20 6e 75 6d 62 65 72 | | | number|
|00003520| 2c 70 61 72 74 73 0a 20 | 20 20 20 20 20 7c 20 20 |,parts. | | |
|00003530| 20 6e 75 6d 62 65 72 2d | 6e 75 6d 62 65 72 0a 20 | number-|number. |
|00003540| 20 20 20 20 20 7c 20 20 | 20 6e 75 6d 62 65 72 2d | | | number-|
|00003550| 0a 0a 6e 75 6d 62 65 72 | 3a 3d 3d 20 3c 64 69 67 |..number|:== <dig|
|00003560| 69 74 3e 0a 20 20 20 20 | 20 20 7c 20 20 20 3c 64 |it>. | | <d|
|00003570| 69 67 69 74 3e 3c 6e 75 | 6d 62 65 72 3e 0a 0a 64 |igit><nu|mber>..d|
|00003580| 69 67 69 74 20 3a 3d 3d | 20 30 7c 31 7c 32 7c 33 |igit :==| 0|1|2|3|
|00003590| 7c 34 7c 35 7c 36 7c 37 | 7c 38 7c 39 0a 0a 2e 62 ||4|5|6|7||8|9...b|
|000035a0| 72 0a 2e 66 69 0a 4f 6e | 6c 79 20 74 68 6f 73 65 |r..fi.On|ly those|
|000035b0| 20 70 69 65 63 65 73 20 | 69 6e 0a 2e 49 20 70 61 | pieces |in..I pa|
|000035c0| 72 74 73 0a 77 69 6c 6c | 20 62 65 20 73 65 6e 74 |rts.will| be sent|
|000035d0| 2e 20 20 54 68 69 73 20 | 6f 70 74 69 6f 6e 20 69 |. This |option i|
|000035e0| 73 20 75 73 65 66 75 6c | 20 66 6f 72 20 72 65 2d |s useful| for re-|
|000035f0| 74 72 61 6e 73 6d 69 74 | 74 69 6e 67 20 70 61 72 |transmit|ting par|
|00003600| 74 20 33 20 6f 66 20 32 | 37 20 69 6e 73 74 65 61 |t 3 of 2|7 instea|
|00003610| 64 0a 6f 66 20 68 61 76 | 69 6e 67 20 74 6f 20 72 |d.of hav|ing to r|
|00003620| 65 2d 74 72 61 6e 73 6d | 69 74 20 61 6c 6c 20 32 |e-transm|it all 2|
|00003630| 37 20 70 69 65 63 65 73 | 2e 20 20 4f 6e 65 20 6d |7 pieces|. One m|
|00003640| 75 73 74 20 62 65 20 73 | 75 72 65 20 74 68 61 74 |ust be s|ure that|
|00003650| 20 74 68 65 20 6f 74 68 | 65 72 0a 6f 70 74 69 6f | the oth|er.optio|
|00003660| 6e 73 20 61 72 65 20 73 | 65 74 0a 2e 49 20 65 78 |ns are s|et..I ex|
|00003670| 61 63 74 6c 79 20 74 68 | 65 20 73 61 6d 65 0a 61 |actly th|e same.a|
|00003680| 73 20 74 68 65 20 66 69 | 72 73 74 20 74 72 61 6e |s the fi|rst tran|
|00003690| 73 6d 69 73 73 69 6f 6e | 2c 20 69 6e 63 6c 75 64 |smission|, includ|
|000036a0| 69 6e 67 20 6c 69 6e 65 | 2d 6c 65 6e 67 74 68 2c |ing line|-length,|
|000036b0| 20 65 74 63 2e 0a 2e 49 | 50 20 2d 73 20 73 75 62 | etc...I|P -s sub|
|000036c0| 6a 65 63 74 0a 73 65 74 | 73 20 74 68 65 20 73 75 |ject.set|s the su|
|000036d0| 62 6a 65 63 74 20 74 6f | 0a 2e 49 20 73 75 62 6a |bject to|..I subj|
|000036e0| 65 63 74 0a 69 6e 73 74 | 65 61 64 20 6f 66 20 75 |ect.inst|ead of u|
|000036f0| 73 69 6e 67 20 74 68 65 | 20 66 69 72 73 74 20 66 |sing the| first f|
|00003700| 69 6c 65 20 61 72 67 75 | 6d 65 6e 74 20 66 6f 72 |ile argu|ment for|
|00003710| 20 74 68 65 20 73 75 62 | 6a 65 63 74 20 6f 66 20 | the sub|ject of |
|00003720| 65 61 63 68 20 6d 61 69 | 6c 20 6d 65 73 73 61 67 |each mai|l messag|
|00003730| 65 0a 67 65 6e 65 72 61 | 74 65 64 2e 0a 2e 49 50 |e.genera|ted...IP|
|00003740| 20 2d 78 6e 0a 73 65 74 | 73 20 74 68 65 20 64 65 | -xn.set|s the de|
|00003750| 62 75 67 67 69 6e 67 20 | 6c 65 76 65 6c 20 74 6f |bugging |level to|
|00003760| 20 6e 2c 20 77 68 65 72 | 65 20 6e 20 69 73 20 61 | n, wher|e n is a|
|00003770| 20 6e 75 6d 62 65 72 20 | 66 72 6f 6d 20 30 20 74 | number |from 0 t|
|00003780| 6f 20 39 2e 20 20 54 68 | 65 20 68 69 67 68 65 72 |o 9. Th|e higher|
|00003790| 0a 74 68 65 20 6e 75 6d | 62 65 72 2c 20 74 68 65 |.the num|ber, the|
|000037a0| 20 6d 6f 72 65 20 64 65 | 62 75 67 20 6f 75 74 70 | more de|bug outp|
|000037b0| 75 74 2e 20 20 53 65 74 | 74 69 6e 67 20 6e 20 74 |ut. Set|ting n t|
|000037c0| 6f 20 30 20 63 61 75 73 | 65 73 0a 2e 49 20 6d 61 |o 0 caus|es..I ma|
|000037d0| 69 6c 73 70 6c 69 74 0a | 74 6f 20 77 6f 72 6b 20 |ilsplit.|to work |
|000037e0| 73 69 6c 65 6e 74 6c 79 | 2e 20 20 4e 6f 20 6f 75 |silently|. No ou|
|000037f0| 74 70 75 74 20 77 69 6c | 6c 20 62 65 20 73 65 6e |tput wil|l be sen|
|00003800| 74 20 74 6f 20 73 74 61 | 6e 64 61 72 64 20 6f 75 |t to sta|ndard ou|
|00003810| 74 2c 20 61 6e 64 20 6f | 6e 6c 79 20 66 61 69 6c |t, and o|nly fail|
|00003820| 75 72 65 0a 6d 65 73 73 | 61 67 65 73 20 77 69 6c |ure.mess|ages wil|
|00003830| 6c 20 62 65 20 73 65 6e | 74 20 74 6f 20 73 74 61 |l be sen|t to sta|
|00003840| 6e 64 61 72 64 20 65 72 | 72 6f 72 2e 20 20 53 65 |ndard er|ror. Se|
|00003850| 74 74 69 6e 67 20 6e 20 | 74 6f 20 39 20 69 73 20 |tting n |to 9 is |
|00003860| 65 71 75 69 76 69 6c 61 | 6e 74 20 74 6f 20 2d 56 |equivila|nt to -V|
|00003870| 0a 28 76 65 72 62 6f 73 | 65 29 2c 20 61 6e 64 20 |.(verbos|e), and |
|00003880| 67 69 76 65 73 20 6d 61 | 78 69 6d 75 6d 20 64 65 |gives ma|ximum de|
|00003890| 62 75 67 20 6f 75 74 70 | 75 74 2e 0a 2e 49 50 20 |bug outp|ut...IP |
|000038a0| 75 20 65 6e 63 6f 64 69 | 6e 67 20 70 72 6f 67 72 |u encodi|ng progr|
|000038b0| 61 6d 0a 54 68 69 73 20 | 6f 70 74 69 6f 6e 20 73 |am.This |option s|
|000038c0| 65 74 73 20 74 68 65 20 | 65 6e 63 6f 64 69 6e 67 |ets the |encoding|
|000038d0| 20 70 72 6f 67 72 61 6d | 20 74 6f 20 73 6f 6d 65 | program| to some|
|000038e0| 74 68 69 6e 67 20 6f 74 | 68 65 72 20 74 68 61 6e |thing ot|her than|
|000038f0| 0a 75 75 65 6e 63 6f 64 | 65 28 31 63 29 2e 20 20 |.uuencod|e(1c). |
|00003900| 54 68 65 20 65 6e 63 6f | 64 69 6e 67 20 70 72 6f |The enco|ding pro|
|00003910| 67 72 61 6d 20 6d 75 73 | 74 20 62 65 20 61 62 6c |gram mus|t be abl|
|00003920| 65 20 74 6f 20 74 61 6b | 65 20 38 2d 62 69 74 20 |e to tak|e 8-bit |
|00003930| 62 69 6e 61 72 79 0a 61 | 6e 64 20 70 72 6f 64 75 |binary.a|nd produ|
|00003940| 63 65 20 37 2d 62 69 74 | 20 41 53 43 49 49 20 64 |ce 7-bit| ASCII d|
|00003950| 61 74 61 2e 0a 2e 53 48 | 20 44 49 53 43 55 53 53 |ata...SH| DISCUSS|
|00003960| 49 4f 4e 0a 2e 50 50 0a | 41 20 66 65 77 0a 2e 49 |ION..PP.|A few..I|
|00003970| 20 64 65 0a 2e 49 20 66 | 61 63 74 6f 0a 73 74 61 | de..I f|acto.sta|
|00003980| 6e 64 61 72 64 73 20 68 | 61 76 65 20 65 76 6f 6c |ndards h|ave evol|
|00003990| 76 65 64 20 6f 6e 20 77 | 69 64 65 2d 61 72 65 61 |ved on w|ide-area|
|000039a0| 20 28 65 2d 6d 61 69 6c | 29 20 6e 65 74 77 6f 72 | (e-mail|) networ|
|000039b0| 6b 73 20 74 6f 20 67 75 | 61 72 61 6e 74 65 65 20 |ks to gu|arantee |
|000039c0| 74 68 65 20 73 61 66 65 | 0a 74 72 61 6e 73 6d 69 |the safe|.transmi|
|000039d0| 73 73 69 6f 6e 20 6f 66 | 20 69 6e 66 6f 72 6d 61 |ssion of| informa|
|000039e0| 74 69 6f 6e 3a 0a 2e 73 | 70 0a 2e 49 50 20 2d 0a |tion:..s|p..IP -.|
|000039f0| 54 68 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |The info|rmation |
|00003a00| 6d 75 73 74 20 62 65 20 | 74 65 78 74 2d 6f 6e 6c |must be |text-onl|
|00003a10| 79 2c 20 69 2e 65 2e 20 | 37 2d 62 69 74 20 41 53 |y, i.e. |7-bit AS|
|00003a20| 43 49 49 0a 2e 49 50 20 | 2d 0a 4c 69 6e 65 73 20 |CII..IP |-.Lines |
|00003a30| 6f 66 20 74 65 78 74 20 | 6d 61 79 20 6e 6f 74 20 |of text |may not |
|00003a40| 65 78 63 65 65 64 20 38 | 30 20 63 68 61 72 61 63 |exceed 8|0 charac|
|00003a50| 74 65 72 73 2e 20 20 41 | 20 6d 65 73 73 61 67 65 |ters. A| message|
|00003a60| 20 6d 75 73 74 20 74 68 | 65 72 65 66 6f 72 65 0a | must th|erefore.|
|00003a70| 63 6f 6e 74 61 69 6e 20 | 61 6e 20 65 6e 64 2d 6f |contain |an end-o|
|00003a80| 66 2d 6c 69 6e 65 20 63 | 68 61 72 61 63 74 65 72 |f-line c|haracter|
|00003a90| 20 61 74 20 6c 65 61 73 | 74 20 61 66 74 65 72 20 | at leas|t after |
|00003aa0| 65 76 65 72 79 20 38 30 | 20 63 68 61 72 61 63 74 |every 80| charact|
|00003ab0| 65 72 73 2e 0a 2e 49 50 | 20 2d 0a 41 20 73 69 6e |ers...IP| -.A sin|
|00003ac0| 67 6c 65 20 6d 65 73 73 | 61 67 65 20 6d 61 79 20 |gle mess|age may |
|00003ad0| 6e 6f 74 20 65 78 63 65 | 65 64 20 36 34 20 4b 69 |not exce|ed 64 Ki|
|00003ae0| 6c 6f 62 79 74 65 73 2e | 0a 2e 49 50 20 2d 0a 4c |lobytes.|..IP -.L|
|00003af0| 69 6e 65 73 20 6f 66 20 | 74 65 78 74 20 73 74 61 |ines of |text sta|
|00003b00| 72 74 69 6e 67 20 77 69 | 74 68 20 74 68 65 20 77 |rting wi|th the w|
|00003b10| 6f 72 64 20 22 46 72 6f | 6d 22 20 77 69 6c 6c 20 |ord "Fro|m" will |
|00003b20| 62 65 20 74 72 61 6e 73 | 6c 61 74 65 64 0a 74 6f |be trans|lated.to|
|00003b30| 20 22 3e 46 72 6f 6d 2e | 22 0a 2e 49 50 20 2d 0a | ">From.|"..IP -.|
|00003b40| 42 6c 61 6e 6b 20 6c 69 | 6e 65 73 20 61 74 20 74 |Blank li|nes at t|
|00003b50| 68 65 20 65 6e 64 20 6f | 66 20 61 20 6d 61 69 6c |he end o|f a mail|
|00003b60| 20 6d 65 73 73 61 67 65 | 20 61 72 65 20 64 65 6c | message| are del|
|00003b70| 65 74 65 64 2e 0a 2e 49 | 50 20 2d 0a 41 20 6d 65 |eted...I|P -.A me|
|00003b80| 73 73 61 67 65 20 63 6f | 6e 74 61 69 6e 69 6e 67 |ssage co|ntaining|
|00003b90| 20 61 20 70 65 72 69 6f | 64 20 22 2e 22 20 6f 6e | a perio|d "." on|
|00003ba0| 20 61 20 6c 69 6e 65 20 | 62 79 20 69 74 73 65 6c | a line |by itsel|
|00003bb0| 66 20 77 69 6c 6c 20 62 | 65 20 74 65 72 6d 69 6e |f will b|e termin|
|00003bc0| 61 74 65 64 0a 61 62 6e | 6f 72 6d 61 6c 6c 79 2e |ated.abn|ormally.|
|00003bd0| 0a 2e 50 50 0a 55 70 6f | 6e 20 69 6e 76 6f 63 61 |..PP.Upo|n invoca|
|00003be0| 74 69 6f 6e 2c 20 74 68 | 65 20 70 72 6f 67 72 61 |tion, th|e progra|
|00003bf0| 6d 20 70 61 72 73 65 73 | 20 61 6c 6c 20 66 6c 61 |m parses| all fla|
|00003c00| 67 73 20 61 6e 64 20 6f | 70 74 69 6f 6e 73 2c 20 |gs and o|ptions, |
|00003c10| 74 68 65 6e 20 6c 6f 6f | 6b 73 0a 66 6f 72 20 61 |then loo|ks.for a|
|00003c20| 74 20 6c 65 61 73 74 20 | 74 77 6f 20 70 61 72 61 |t least |two para|
|00003c30| 6d 65 74 65 72 73 20 6f | 6e 20 74 68 65 20 63 6f |meters o|n the co|
|00003c40| 6d 6d 61 6e 64 20 6c 69 | 6e 65 3a 20 20 54 68 65 |mmand li|ne: The|
|00003c50| 20 65 2d 6d 61 69 6c 20 | 70 61 74 68 28 73 29 20 | e-mail |path(s) |
|00003c60| 6f 66 0a 74 68 65 20 72 | 65 63 65 69 76 65 72 28 |of.the r|eceiver(|
|00003c70| 73 29 2c 20 61 6e 64 20 | 74 68 65 20 66 69 6c 65 |s), and |the file|
|00003c80| 20 6f 72 20 64 69 72 65 | 63 74 6f 72 79 20 6e 61 | or dire|ctory na|
|00003c90| 6d 65 28 73 29 20 74 6f | 20 73 65 6e 64 2e 20 20 |me(s) to| send. |
|00003ca0| 49 66 20 6f 6e 65 20 6f | 72 0a 62 6f 74 68 20 6f |If one o|r.both o|
|00003cb0| 66 20 74 68 65 73 65 20 | 70 61 72 61 6d 65 74 65 |f these |paramete|
|00003cc0| 72 73 20 69 73 20 6d 69 | 73 73 69 6e 67 2c 20 61 |rs is mi|ssing, a|
|00003cd0| 20 68 65 6c 70 20 6d 65 | 73 73 61 67 65 20 69 73 | help me|ssage is|
|00003ce0| 20 64 69 73 70 6c 61 79 | 65 64 20 77 69 74 68 20 | display|ed with |
|00003cf0| 61 0a 73 68 6f 72 74 20 | 22 75 73 61 67 65 22 20 |a.short |"usage" |
|00003d00| 64 65 73 63 72 69 70 74 | 69 6f 6e 20 61 6e 64 20 |descript|ion and |
|00003d10| 61 6e 20 65 78 61 6d 70 | 6c 65 2e 0a 2e 50 50 0a |an examp|le...PP.|
|00003d20| 54 68 65 20 64 69 72 65 | 63 74 6f 72 69 65 73 20 |The dire|ctories |
|00003d30| 6f 72 20 66 69 6c 65 73 | 20 61 72 65 20 72 65 63 |or files| are rec|
|00003d40| 75 72 73 69 76 65 6c 79 | 20 61 72 63 68 69 76 65 |ursively| archive|
|00003d50| 64 20 61 6e 64 20 63 6f | 6d 70 72 65 73 73 65 64 |d and co|mpressed|
|00003d60| 20 69 6e 74 6f 20 61 0a | 74 65 6d 70 6f 72 61 72 | into a.|temporar|
|00003d70| 79 20 62 69 6e 61 72 79 | 20 66 69 6c 65 2e 20 20 |y binary| file. |
|00003d80| 54 68 65 20 62 69 6e 61 | 72 79 20 66 69 6c 65 20 |The bina|ry file |
|00003d90| 69 73 20 74 68 65 6e 20 | 73 65 6e 74 20 74 68 72 |is then |sent thr|
|00003da0| 6f 75 67 68 20 75 75 65 | 6e 63 6f 64 65 0a 73 6f |ough uue|ncode.so|
|00003db0| 20 74 68 61 74 20 69 74 | 20 69 73 20 65 6e 63 6f | that it| is enco|
|00003dc0| 64 65 64 20 69 6e 74 6f | 20 37 2d 62 69 74 20 41 |ded into| 7-bit A|
|00003dd0| 53 43 49 49 20 77 69 74 | 68 20 65 6e 64 2d 6f 66 |SCII wit|h end-of|
|00003de0| 2d 6c 69 6e 65 73 20 65 | 76 65 72 79 20 37 39 0a |-lines e|very 79.|
|00003df0| 63 68 61 72 61 63 74 65 | 72 73 2e 20 20 54 68 65 |characte|rs. The|
|00003e00| 20 72 65 73 75 6c 74 69 | 6e 67 20 41 53 43 49 49 | resulti|ng ASCII|
|00003e10| 20 66 69 6c 65 20 69 73 | 20 74 68 65 6e 20 73 70 | file is| then sp|
|00003e20| 6c 69 74 20 69 6e 74 6f | 20 73 65 76 65 72 61 6c |lit into| several|
|00003e30| 0a 64 69 66 66 65 72 65 | 6e 74 20 66 69 6c 65 73 |.differe|nt files|
|00003e40| 2c 20 65 61 63 68 20 6f | 66 20 77 68 69 63 68 20 |, each o|f which |
|00003e50| 69 73 20 73 6d 61 6c 6c | 65 72 20 74 68 61 6e 20 |is small|er than |
|00003e60| 36 34 20 4b 69 6c 6f 62 | 79 74 65 73 2e 0a 2e 50 |64 Kilob|ytes...P|
|00003e70| 50 0a 54 68 65 20 66 69 | 72 73 74 20 66 69 6c 65 |P.The fi|rst file|
|00003e80| 20 69 73 20 70 72 65 70 | 65 6e 64 65 64 20 77 69 | is prep|ended wi|
|00003e90| 74 68 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 73 20 |th instr|uctions |
|00003ea0| 61 73 20 77 65 6c 6c 20 | 61 73 20 74 68 65 20 70 |as well |as the p|
|00003eb0| 72 6f 67 72 61 6d 0a 6e | 65 65 64 65 64 20 74 6f |rogram.n|eeded to|
|00003ec0| 20 75 6e 70 61 63 6b 61 | 67 65 20 74 68 65 20 74 | unpacka|ge the t|
|00003ed0| 72 61 6e 73 6d 69 74 74 | 65 64 20 6d 65 73 73 61 |ransmitt|ed messa|
|00003ee0| 67 65 20 6f 72 20 6d 65 | 73 73 61 67 65 73 2e 20 |ge or me|ssages. |
|00003ef0| 20 41 6c 6c 20 6d 65 73 | 73 61 67 65 73 0a 61 72 | All mes|sages.ar|
|00003f00| 65 20 70 72 65 2d 20 61 | 6e 64 20 70 6f 73 74 2d |e pre- a|nd post-|
|00003f10| 70 65 6e 64 65 64 20 77 | 69 74 68 20 73 70 65 63 |pended w|ith spec|
|00003f20| 69 61 6c 20 73 74 61 72 | 74 20 61 6e 64 20 65 6e |ial star|t and en|
|00003f30| 64 20 74 65 78 74 2c 20 | 74 6f 20 61 73 73 69 73 |d text, |to assis|
|00003f40| 74 20 62 6f 74 68 0a 74 | 68 65 20 70 65 72 73 6f |t both.t|he perso|
|00003f50| 6e 20 72 65 63 65 69 76 | 69 6e 67 20 74 68 65 20 |n receiv|ing the |
|00003f60| 6d 65 73 73 61 67 65 20 | 61 6e 64 20 74 68 65 20 |message |and the |
|00003f70| 75 6e 70 61 63 6b 61 67 | 69 6e 67 20 70 72 6f 67 |unpackag|ing prog|
|00003f80| 72 61 6d 2e 20 20 46 69 | 6e 61 6c 6c 79 2c 0a 65 |ram. Fi|nally,.e|
|00003f90| 61 63 68 20 6d 65 73 73 | 61 67 65 20 69 73 20 73 |ach mess|age is s|
|00003fa0| 65 6e 74 20 76 69 61 20 | 65 6c 65 63 74 72 6f 6e |ent via |electron|
|00003fb0| 69 63 20 6d 61 69 6c 20 | 74 6f 20 74 68 65 20 72 |ic mail |to the r|
|00003fc0| 65 63 69 70 69 65 6e 74 | 2c 20 61 6e 64 20 61 6c |ecipient|, and al|
|00003fd0| 6c 0a 74 65 6d 70 6f 72 | 61 72 79 20 66 69 6c 65 |l.tempor|ary file|
|00003fe0| 73 20 61 72 65 20 64 65 | 6c 65 74 65 64 2e 0a 2e |s are de|leted...|
|00003ff0| 50 50 0a 44 75 72 69 6e | 67 20 74 68 65 73 65 20 |PP.Durin|g these |
|00004000| 6f 70 65 72 61 74 69 6f | 6e 73 2c 20 73 74 61 74 |operatio|ns, stat|
|00004010| 75 73 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 69 |us infor|mation i|
|00004020| 73 20 64 69 73 70 6c 61 | 79 65 64 20 61 66 74 65 |s displa|yed afte|
|00004030| 72 20 65 61 63 68 0a 73 | 75 63 63 65 73 73 66 75 |r each.s|uccessfu|
|00004040| 6c 20 73 74 65 70 2e 20 | 20 49 66 20 74 68 65 72 |l step. | If ther|
|00004050| 65 20 61 72 65 20 6e 6f | 20 66 69 6c 65 73 20 74 |e are no| files t|
|00004060| 6f 20 73 65 6e 64 2c 20 | 61 6e 20 65 72 72 6f 72 |o send, |an error|
|00004070| 20 6d 65 73 73 61 67 65 | 20 69 73 0a 64 69 73 70 | message| is.disp|
|00004080| 6c 61 79 65 64 2e 0a 2e | 50 50 0a 41 74 20 74 68 |layed...|PP.At th|
|00004090| 65 20 72 65 63 65 69 76 | 69 6e 67 20 65 6e 64 2c |e receiv|ing end,|
|000040a0| 20 61 20 66 69 72 73 74 | 2d 74 69 6d 65 20 75 73 | a first|-time us|
|000040b0| 65 72 20 6d 75 73 74 20 | 65 78 74 72 61 63 74 20 |er must |extract |
|000040c0| 74 68 65 20 75 6e 70 61 | 63 6b 61 67 69 6e 67 0a |the unpa|ckaging.|
|000040d0| 70 72 6f 67 72 61 6d 20 | 66 72 6f 6d 20 74 68 65 |program |from the|
|000040e0| 20 66 69 72 73 74 20 65 | 2d 6d 61 69 6c 20 6d 65 | first e|-mail me|
|000040f0| 73 73 61 67 65 2c 20 61 | 6e 64 20 6d 61 6b 65 20 |ssage, a|nd make |
|00004100| 74 68 65 20 70 72 6f 67 | 72 61 6d 20 61 76 61 69 |the prog|ram avai|
|00004110| 6c 61 62 6c 65 0a 66 6f | 72 20 68 69 73 20 75 73 |lable.fo|r his us|
|00004120| 65 2e 20 20 41 20 75 73 | 65 72 20 6d 75 73 74 20 |e. A us|er must |
|00004130| 70 65 72 66 6f 72 6d 20 | 74 68 69 73 20 73 74 65 |perform |this ste|
|00004140| 70 20 6f 6e 6c 79 20 6f | 6e 63 65 2c 20 61 73 20 |p only o|nce, as |
|00004150| 74 68 65 20 70 61 63 6b | 61 67 69 6e 67 0a 66 6f |the pack|aging.fo|
|00004160| 72 6d 61 74 20 73 68 6f | 75 6c 64 20 6e 6f 74 20 |rmat sho|uld not |
|00004170| 63 68 61 6e 67 65 2e 20 | 20 44 65 70 65 6e 64 69 |change. | Dependi|
|00004180| 6e 67 20 6f 6e 20 74 68 | 65 20 73 69 7a 65 20 6f |ng on th|e size o|
|00004190| 66 20 74 68 65 20 74 72 | 61 6e 73 6d 69 74 74 65 |f the tr|ansmitte|
|000041a0| 64 20 66 69 6c 65 73 0a | 6f 72 20 64 69 72 65 63 |d files.|or direc|
|000041b0| 74 6f 72 69 65 73 2c 20 | 74 68 65 20 72 65 63 65 |tories, |the rece|
|000041c0| 69 76 65 72 20 6d 61 79 | 20 67 65 74 20 6f 6e 65 |iver may| get one|
|000041d0| 20 6f 72 20 73 65 76 65 | 72 61 6c 20 6d 61 69 6c | or seve|ral mail|
|000041e0| 20 6d 65 73 73 61 67 65 | 73 2e 20 20 54 68 65 0a | message|s. The.|
|000041f0| 6d 65 73 73 61 67 65 73 | 20 63 6f 6e 74 61 69 6e |messages| contain|
|00004200| 20 73 75 62 6a 65 63 74 | 20 68 65 61 64 65 72 73 | subject| headers|
|00004210| 20 6f 66 20 74 68 65 20 | 66 6f 72 6d 3a 0a 2e 62 | of the |form:..b|
|00004220| 72 0a 2e 5c 22 20 2e 6e | 66 0a 2e 73 70 0a 22 2d |r..\" .n|f..sp."-|
|00004230| 2d 2d 20 73 74 61 72 74 | 20 6f 66 20 3c 70 61 63 |-- start| of <pac|
|00004240| 6b 61 67 65 3e 20 70 61 | 72 74 20 3c 6e 3e 20 6f |kage> pa|rt <n> o|
|00004250| 66 20 3c 6d 3e 22 0a 2e | 73 70 0a 2e 62 72 0a 77 |f <m>"..|sp..br.w|
|00004260| 68 65 72 65 20 3c 70 61 | 63 6b 61 67 65 3e 20 69 |here <pa|ckage> i|
|00004270| 73 20 74 68 65 20 66 69 | 72 73 74 20 66 69 6c 65 |s the fi|rst file|
|00004280| 20 6f 72 20 64 69 72 65 | 63 74 6f 72 79 20 6e 61 | or dire|ctory na|
|00004290| 6d 65 2c 20 3c 6d 3e 20 | 69 73 20 74 68 65 20 74 |me, <m> |is the t|
|000042a0| 6f 74 61 6c 0a 6e 75 6d | 62 65 72 20 6f 66 20 6d |otal.num|ber of m|
|000042b0| 65 73 73 61 67 65 73 20 | 69 6e 74 6f 20 77 68 69 |essages |into whi|
|000042c0| 63 68 20 74 68 65 20 70 | 61 63 6b 61 67 65 20 77 |ch the p|ackage w|
|000042d0| 61 73 20 73 70 6c 69 74 | 2c 20 61 6e 64 20 3c 6e |as split|, and <n|
|000042e0| 3e 20 69 73 20 69 6e 20 | 74 68 65 0a 72 61 6e 67 |> is in |the.rang|
|000042f0| 65 20 31 20 74 6f 20 6d | 2e 0a 2e 50 50 0a 54 68 |e 1 to m|...PP.Th|
|00004300| 65 20 72 65 63 65 69 76 | 65 72 20 6d 75 73 74 20 |e receiv|er must |
|00004310| 74 68 65 6e 20 73 65 6e | 64 20 61 6c 6c 20 6f 66 |then sen|d all of|
|00004320| 20 74 68 65 20 70 61 72 | 74 73 20 74 68 72 6f 75 | the par|ts throu|
|00004330| 67 68 20 74 68 65 20 75 | 6e 70 61 63 6b 61 67 69 |gh the u|npackagi|
|00004340| 6e 67 0a 70 72 6f 67 72 | 61 6d 20 69 6e 20 74 68 |ng.progr|am in th|
|00004350| 65 69 72 20 70 72 6f 70 | 65 72 20 6f 72 64 65 72 |eir prop|er order|
|00004360| 2e 20 20 54 68 69 73 20 | 69 73 20 61 63 63 6f 6d |. This |is accom|
|00004370| 70 6c 69 73 68 65 64 20 | 65 69 74 68 65 72 20 66 |plished |either f|
|00004380| 72 6f 6d 20 77 69 74 68 | 69 6e 0a 74 68 65 20 6d |rom with|in.the m|
|00004390| 61 69 6c 20 72 65 61 64 | 69 6e 67 20 70 72 6f 67 |ail read|ing prog|
|000043a0| 72 61 6d 2c 20 6f 72 20 | 62 79 20 73 61 76 69 6e |ram, or |by savin|
|000043b0| 67 20 74 68 65 20 6d 65 | 73 73 61 67 65 73 20 69 |g the me|ssages i|
|000043c0| 6e 74 6f 20 61 20 66 69 | 6c 65 20 61 6e 64 0a 69 |nto a fi|le and.i|
|000043d0| 6e 76 6f 6b 69 6e 67 20 | 74 68 65 20 75 6e 70 61 |nvoking |the unpa|
|000043e0| 63 6b 61 67 69 6e 67 20 | 70 72 6f 67 72 61 6d 20 |ckaging |program |
|000043f0| 6f 6e 20 74 68 65 20 73 | 61 76 65 64 20 66 69 6c |on the s|aved fil|
|00004400| 65 2e 20 20 42 65 63 61 | 75 73 65 20 65 2d 6d 61 |e. Beca|use e-ma|
|00004410| 69 6c 0a 73 79 73 74 65 | 6d 73 20 77 69 6c 6c 20 |il.syste|ms will |
|00004420| 6f 66 74 65 6e 20 64 65 | 6c 69 76 65 72 20 6d 65 |often de|liver me|
|00004430| 73 73 61 67 65 73 20 6f | 75 74 20 6f 66 20 6f 72 |ssages o|ut of or|
|00004440| 64 65 72 2c 20 61 20 77 | 61 72 6e 69 6e 67 20 69 |der, a w|arning i|
|00004450| 73 20 69 6e 63 6c 75 64 | 65 64 0a 74 6f 20 73 65 |s includ|ed.to se|
|00004460| 6e 64 20 74 68 65 20 6d | 65 73 73 61 67 65 73 20 |nd the m|essages |
|00004470| 74 68 72 6f 75 67 68 20 | 74 68 65 20 75 6e 70 61 |through |the unpa|
|00004480| 63 6b 61 67 69 6e 67 20 | 70 72 6f 67 72 61 6d 20 |ckaging |program |
|00004490| 69 6e 20 74 68 65 20 63 | 6f 72 72 65 63 74 0a 6f |in the c|orrect.o|
|000044a0| 72 64 65 72 2e 20 20 54 | 68 65 20 72 65 2d 61 73 |rder. T|he re-as|
|000044b0| 73 65 6d 62 6c 65 79 20 | 70 72 6f 67 72 61 6d 20 |sembley |program |
|000044c0| 61 6c 73 6f 20 64 65 74 | 65 63 74 73 20 74 68 69 |also det|ects thi|
|000044d0| 73 20 65 72 72 6f 72 20 | 61 6e 64 20 65 78 69 74 |s error |and exit|
|000044e0| 73 0a 77 69 74 68 20 61 | 6e 20 65 72 72 6f 72 20 |s.with a|n error |
|000044f0| 73 74 61 74 75 73 20 69 | 66 20 74 68 65 20 70 69 |status i|f the pi|
|00004500| 65 63 65 73 20 61 72 65 | 20 73 65 6e 74 20 74 68 |eces are| sent th|
|00004510| 72 6f 75 67 68 20 6f 75 | 74 20 6f 66 20 6f 72 64 |rough ou|t of ord|
|00004520| 65 72 2e 0a 2e 53 48 20 | 45 58 41 4d 50 4c 45 53 |er...SH |EXAMPLES|
|00004530| 0a 2e 4c 50 0a 25 20 6d | 61 69 6c 73 70 6c 69 74 |..LP.% m|ailsplit|
|00004540| 20 77 79 6c 65 40 65 74 | 68 7a 2e 75 75 63 70 20 | wyle@et|hz.uucp |
|00004550| 2f 65 74 63 2f 68 6f 73 | 74 73 0a 2e 4c 50 0a 25 |/etc/hos|ts..LP.%|
|00004560| 20 6d 61 69 6c 73 70 6c | 69 74 20 77 79 6c 65 40 | mailspl|it wyle@|
|00004570| 65 74 68 7a 2e 75 75 63 | 70 20 73 6f 75 72 63 65 |ethz.uuc|p source|
|00004580| 73 20 2d 72 20 35 2c 37 | 2c 31 37 2d 32 31 0a 2e |s -r 5,7|,17-21..|
|00004590| 4c 50 0a 25 20 6d 61 69 | 6c 73 70 6c 69 74 20 2d |LP.% mai|lsplit -|
|000045a0| 6c 20 37 30 30 20 2d 78 | 39 20 77 79 6c 65 40 65 |l 700 -x|9 wyle@e|
|000045b0| 74 68 7a 2e 75 75 63 70 | 20 67 6f 6f 64 69 65 73 |thz.uucp| goodies|
|000045c0| 20 2d 73 20 22 65 78 61 | 6d 70 6c 65 73 22 0a 2e | -s "exa|mples"..|
|000045d0| 4c 50 0a 25 20 6d 61 69 | 6c 73 70 6c 69 74 20 2d |LP.% mai|lsplit -|
|000045e0| 6c 20 37 30 30 20 2d 78 | 39 20 2d 72 20 31 39 2d |l 700 -x|9 -r 19-|
|000045f0| 20 77 79 6c 65 40 65 74 | 68 7a 2e 75 75 63 70 20 | wyle@et|hz.uucp |
|00004600| 67 6f 6f 64 69 65 73 0a | 0a 2e 53 48 20 41 55 54 |goodies.|..SH AUT|
|00004610| 48 4f 52 0a 4d 69 74 63 | 68 65 6c 6c 20 46 2e 20 |HOR.Mitc|hell F. |
|00004620| 57 79 6c 65 20 20 28 77 | 79 6c 65 40 65 74 68 7a |Wyle (w|yle@ethz|
|00004630| 2e 75 75 63 70 29 0a 2e | 53 48 20 42 55 47 53 0a |.uucp)..|SH BUGS.|
|00004640| 2e 4c 50 0a 42 53 44 20 | 73 70 65 63 69 66 69 63 |.LP.BSD |specific|
|00004650| 3f 0a 2e 4c 50 0a 52 65 | 2d 61 73 73 65 6d 62 6c |?..LP.Re|-assembl|
|00004660| 65 72 20 73 68 6f 75 6c | 64 20 61 63 63 65 70 74 |er shoul|d accept|
|00004670| 20 70 69 65 63 65 73 20 | 6f 75 74 20 6f 66 20 6f | pieces |out of o|
|00004680| 72 64 65 72 0a 2e 4c 50 | 0a 53 68 6f 75 6c 64 20 |rder..LP|.Should |
|00004690| 62 65 20 70 61 63 6b 61 | 67 65 64 20 77 69 74 68 |be packa|ged with|
|000046a0| 20 61 20 63 6f 6e 66 69 | 67 75 72 65 72 2c 20 6d | a confi|gurer, m|
|000046b0| 61 6b 65 66 69 6c 65 2c | 20 69 6e 73 74 61 6c 6c |akefile,| install|
|000046c0| 20 73 63 72 69 70 74 0a | 2e 53 48 20 22 53 45 45 | script.|.SH "SEE|
|000046d0| 20 41 4c 53 4f 22 0a 73 | 70 6c 69 74 28 31 29 2c | ALSO".s|plit(1),|
|000046e0| 20 74 61 72 28 31 29 2c | 20 6d 61 69 6c 28 31 29 | tar(1),| mail(1)|
|000046f0| 2c 20 75 75 65 6e 63 6f | 64 65 28 31 29 2c 20 75 |, uuenco|de(1), u|
|00004700| 75 64 65 63 6f 64 65 28 | 31 29 2c 20 63 6f 6d 70 |udecode(|1), comp|
|00004710| 72 65 73 73 28 31 29 2c | 0a 61 77 6b 28 31 29 2c |ress(1),|.awk(1),|
|00004720| 20 73 68 28 31 29 0a 53 | 48 41 52 5f 45 4f 46 0a | sh(1).S|HAR_EOF.|
|00004730| 66 69 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 75 |fi.if te|st -f 'u|
|00004740| 6e 64 6f 63 27 0a 74 68 | 65 6e 0a 09 65 63 68 6f |ndoc'.th|en..echo|
|00004750| 20 73 68 61 72 3a 20 22 | 77 69 6c 6c 20 6e 6f 74 | shar: "|will not|
|00004760| 20 6f 76 65 72 2d 77 72 | 69 74 65 20 65 78 69 73 | over-wr|ite exis|
|00004770| 74 69 6e 67 20 66 69 6c | 65 20 27 75 6e 64 6f 63 |ting fil|e 'undoc|
|00004780| 27 22 0a 65 6c 73 65 0a | 63 61 74 20 3c 3c 20 5c |'".else.|cat << \|
|00004790| 53 48 41 52 5f 45 4f 46 | 20 3e 20 27 75 6e 64 6f |SHAR_EOF| > 'undo|
|000047a0| 63 27 0a 53 69 6e 63 65 | 20 49 20 74 6f 72 65 20 |c'.Since| I tore |
|000047b0| 74 68 65 20 63 6f 6d 6d | 65 6e 74 73 20 6f 75 74 |the comm|ents out|
|000047c0| 20 6f 66 20 74 68 65 20 | 63 6f 64 65 2c 20 61 6e | of the |code, an|
|000047d0| 64 20 69 74 20 69 73 20 | 6e 6f 74 20 63 75 73 74 |d it is |not cust|
|000047e0| 6f 6d 61 72 79 20 74 6f | 20 73 65 6e 64 0a 53 43 |omary to| send.SC|
|000047f0| 43 53 20 66 69 6c 65 73 | 20 61 72 6f 75 6e 64 20 |CS files| around |
|00004800| 74 68 65 20 6e 65 74 2c | 20 49 20 6d 61 64 65 20 |the net,| I made |
|00004810| 74 68 69 73 20 61 75 78 | 69 6c 69 61 72 79 20 66 |this aux|iliary f|
|00004820| 69 6c 65 20 6f 66 20 64 | 6f 63 75 6d 65 6e 74 61 |ile of d|ocumenta|
|00004830| 74 69 6f 6e 2e 0a 0a 41 | 6e 20 61 6c 70 68 61 62 |tion...A|n alphab|
|00004840| 65 74 69 63 61 6c 20 6c | 69 73 74 20 6f 66 20 76 |etical l|ist of v|
|00004850| 61 72 69 61 62 6c 65 73 | 2c 20 74 68 65 69 72 20 |ariables|, their |
|00004860| 75 73 65 20 61 6e 64 20 | 6d 65 61 6e 69 6e 67 3a |use and |meaning:|
|00004870| 0a 0a 41 52 20 3d 20 61 | 72 67 75 6d 65 6e 74 0a |..AR = a|rgument.|
|00004880| 43 4d 20 3d 20 63 6f 6d | 6d 61 6e 64 20 6c 69 6e |CM = com|mand lin|
|00004890| 65 0a 43 4f 20 3d 20 63 | 6f 6d 70 72 65 73 73 20 |e.CO = c|ompress |
|000048a0| 70 72 6f 67 72 61 6d 20 | 6d 61 79 20 62 65 20 61 |program |may be a|
|000048b0| 72 63 2c 20 65 74 63 2e | 0a 44 42 20 3d 20 44 65 |rc, etc.|.DB = De|
|000048c0| 62 75 67 20 6c 65 76 65 | 6c 20 28 56 65 72 62 6f |bug leve|l (Verbo|
|000048d0| 73 69 74 79 20 6c 65 76 | 65 6c 29 0a 44 45 20 3d |sity lev|el).DE =|
|000048e0| 20 44 65 6c 61 79 20 62 | 65 74 77 65 65 6e 20 70 | Delay b|etween p|
|000048f0| 69 65 63 65 73 0a 46 43 | 20 3d 20 66 69 6c 65 20 |ieces.FC| = file |
|00004900| 63 6f 75 6e 74 0a 46 4c | 20 3d 20 46 69 6c 65 20 |count.FL| = File |
|00004910| 6c 69 73 74 20 28 62 75 | 69 6c 64 20 75 70 20 66 |list (bu|ild up f|
|00004920| 69 6c 65 20 6c 69 73 74 | 20 66 72 6f 6d 20 70 61 |ile list| from pa|
|00004930| 72 61 6d 73 20 6f 6e 20 | 63 6f 6d 6d 61 6e 64 20 |rams on |command |
|00004940| 6c 69 6e 65 20 69 6e 0a | 46 4c 20 3d 20 61 6e 79 |line in.|FL = any|
|00004950| 20 6f 72 64 65 72 20 28 | 73 65 65 20 2f 75 73 72 | order (|see /usr|
|00004960| 2f 62 69 6e 2f 73 70 65 | 6c 6c 29 20 66 6f 72 20 |/bin/spe|ll) for |
|00004970| 61 20 67 6f 6f 64 20 65 | 78 61 6d 70 6c 65 20 6f |a good e|xample o|
|00004980| 66 20 6f 62 66 75 73 63 | 61 74 65 64 2c 0a 46 4c |f obfusc|ated,.FL|
|00004990| 20 3d 20 63 6c 65 76 65 | 72 20 70 61 72 73 69 6e | = cleve|r parsin|
|000049a0| 67 20 63 6f 64 65 20 0a | 4c 49 20 3d 20 74 68 65 |g code .|LI = the|
|000049b0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|000049c0| 20 74 6f 20 73 70 6c 69 | 74 20 70 69 65 63 65 73 | to spli|t pieces|
|000049d0| 20 69 6e 74 6f 0a 4d 41 | 20 3d 20 6d 61 69 6c 20 | into.MA| = mail |
|000049e0| 74 72 61 6e 73 70 6f 72 | 74 20 61 67 65 6e 74 0a |transpor|t agent.|
|000049f0| 4d 45 20 3d 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |ME = the| name of|
|00004a00| 20 74 68 65 20 70 72 6f | 67 72 61 6d 20 72 75 6e | the pro|gram run|
|00004a10| 6e 69 6e 67 0a 4d 46 20 | 3d 20 4d 61 69 6c 20 66 |ning.MF |= Mail f|
|00004a20| 6c 61 67 73 20 74 6f 20 | 73 65 6e 64 20 74 6f 20 |lags to |send to |
|00004a30| 74 72 61 6e 73 70 6f 72 | 74 0a 52 20 20 3d 20 72 |transpor|t.R = r|
|00004a40| 61 6e 67 65 20 6f 66 20 | 70 69 65 63 65 73 20 74 |ange of |pieces t|
|00004a50| 6f 20 62 65 20 72 65 2d | 73 65 6e 74 20 64 75 72 |o be re-|sent dur|
|00004a60| 69 6e 67 20 70 61 72 73 | 65 20 73 74 61 67 65 0a |ing pars|e stage.|
|00004a70| 52 41 20 3d 20 72 61 6e | 67 65 20 6f 66 20 70 69 |RA = ran|ge of pi|
|00004a80| 65 63 65 73 20 74 6f 20 | 62 65 20 72 65 2d 73 65 |eces to |be re-se|
|00004a90| 6e 74 20 69 66 20 6d 61 | 69 6c 65 72 73 20 6f 6e |nt if ma|ilers on|
|00004aa0| 20 74 68 65 20 77 61 79 | 20 66 61 69 6c 65 64 0a | the way| failed.|
|00004ab0| 53 45 20 3d 20 73 65 6e | 64 20 66 6c 61 67 3b 20 |SE = sen|d flag; |
|00004ac0| 69 66 20 74 72 75 65 2c | 20 73 65 6e 64 20 74 68 |if true,| send th|
|00004ad0| 65 20 70 69 65 63 65 2e | 20 20 49 66 20 66 61 6c |e piece.| If fal|
|00004ae0| 73 65 2c 20 64 6f 6e 27 | 74 0a 53 50 20 3d 20 74 |se, don'|t.SP = t|
|00004af0| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 73 |he name |of the s|
|00004b00| 70 6c 69 74 20 70 72 6f | 67 72 61 6d 0a 53 55 20 |plit pro|gram.SU |
|00004b10| 3d 20 73 75 62 6a 65 63 | 74 20 6f 66 20 6d 65 73 |= subjec|t of mes|
|00004b20| 73 61 67 65 20 20 28 64 | 65 66 61 75 6c 74 73 20 |sage (d|efaults |
|00004b30| 74 6f 20 66 69 72 73 74 | 20 66 69 6c 65 20 6e 61 |to first| file na|
|00004b40| 6d 65 29 0a 54 31 20 3d | 20 74 65 6d 70 6f 72 61 |me).T1 =| tempora|
|00004b50| 72 79 20 66 69 6c 65 20 | 63 6f 6e 74 61 69 6e 69 |ry file |containi|
|00004b60| 6e 67 20 6f 75 74 70 75 | 74 20 6f 66 20 74 61 72 |ng outpu|t of tar|
|00004b70| 20 61 6e 64 20 63 6f 6d | 70 72 65 73 73 2e 0a 54 | and com|press..T|
|00004b80| 32 20 3d 20 74 65 6d 70 | 6f 72 61 72 79 20 66 69 |2 = temp|orary fi|
|00004b90| 6c 65 20 63 6f 6e 74 61 | 69 6e 69 6e 67 20 75 75 |le conta|ining uu|
|00004ba0| 65 6e 63 6f 64 65 64 20 | 73 74 75 66 66 0a 54 33 |encoded |stuff.T3|
|00004bb0| 20 3d 20 74 65 6d 70 6f | 72 61 72 79 20 66 69 6c | = tempo|rary fil|
|00004bc0| 65 28 73 29 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 |e(s) con|taining |
|00004bd0| 20 73 70 6c 69 74 20 70 | 69 65 63 65 73 0a 54 41 | split p|ieces.TA|
|00004be0| 20 3d 20 74 61 72 20 70 | 72 6f 67 72 61 6d 20 28 | = tar p|rogram (|
|00004bf0| 6d 61 79 20 62 65 20 73 | 68 61 72 2c 20 74 61 72 |may be s|har, tar|
|00004c00| 2c 20 63 61 74 2c 20 65 | 74 63 20 3b 2d 29 0a 54 |, cat, e|tc ;-).T|
|00004c10| 44 20 3d 20 54 65 6d 70 | 6f 72 61 72 79 20 64 69 |D = Temp|orary di|
|00004c20| 72 65 63 74 6f 72 79 20 | 69 6e 20 77 68 69 63 68 |rectory |in which|
|00004c30| 20 74 65 6d 70 20 66 69 | 6c 65 73 20 73 68 6f 75 | temp fi|les shou|
|00004c40| 6c 64 20 67 6f 20 63 61 | 6e 20 62 65 20 2e 20 6f |ld go ca|n be . o|
|00004c50| 72 20 2f 74 6d 70 2e 0a | 54 4d 20 3d 20 20 54 65 |r /tmp..|TM = Te|
|00004c60| 73 74 2d 6d 6f 64 65 20 | 66 6c 61 67 20 28 2d 6e |st-mode |flag (-n|
|00004c70| 20 6f 70 74 69 6f 6e 20 | 6f 66 20 6d 61 6b 65 29 | option |of make)|
|00004c80| 20 20 44 6f 6e 27 74 20 | 64 6f 20 61 6e 79 74 68 | Don't |do anyth|
|00004c90| 69 6e 67 2c 20 6a 75 73 | 74 0a 54 4d 20 3d 20 65 |ing, jus|t.TM = e|
|00004ca0| 63 68 6f 20 77 68 61 74 | 20 79 6f 75 20 77 6f 75 |cho what| you wou|
|00004cb0| 6c 64 20 68 61 76 65 20 | 64 6f 6e 65 20 69 66 20 |ld have |done if |
|00004cc0| 74 65 73 74 6d 6f 64 65 | 20 6f 70 74 69 6f 6e 20 |testmode| option |
|00004cd0| 6e 6f 74 20 6f 6e 2e 0a | 54 4f 20 3d 20 72 65 63 |not on..|TO = rec|
|00004ce0| 69 70 69 65 6e 74 28 73 | 29 20 6f 66 20 6d 65 73 |ipient(s|) of mes|
|00004cf0| 73 61 67 65 0a 55 55 20 | 3d 20 74 68 65 20 75 75 |sage.UU |= the uu|
|00004d00| 65 6e 63 6f 64 65 20 70 | 72 6f 67 72 61 6d 20 28 |encode p|rogram (|
|00004d10| 6d 61 79 20 62 65 20 72 | 65 70 6c 61 63 65 64 20 |may be r|eplaced |
|00004d20| 77 69 74 68 20 62 74 6f | 61 20 2f 20 61 74 6f 62 |with bto|a / atob|
|00004d30| 20 3b 2d 29 0a 56 45 20 | 3d 20 76 65 72 73 69 6f | ;-).VE |= versio|
|00004d40| 6e 20 6e 75 6d 62 65 72 | 0a 66 20 20 3d 20 66 69 |n number|.f = fi|
|00004d50| 6c 65 20 6e 61 6d 65 20 | 28 70 69 65 63 65 29 20 |le name |(piece) |
|00004d60| 64 75 72 69 6e 67 20 6c | 6f 6f 70 20 77 68 69 63 |during l|oop whic|
|00004d70| 68 20 73 65 6e 64 73 20 | 70 69 65 63 65 73 0a 69 |h sends |pieces.i|
|00004d80| 20 20 3d 20 61 20 6c 6f | 6f 70 20 69 6e 64 65 78 | = a lo|op index|
|00004d90| 20 75 73 65 64 20 64 75 | 72 69 6e 67 20 70 61 72 | used du|ring par|
|00004da0| 73 65 20 6f 66 20 74 68 | 65 20 72 61 6e 67 65 20 |se of th|e range |
|00004db0| 6f 66 20 66 69 6c 65 73 | 20 74 6f 20 62 65 20 72 |of files| to be r|
|00004dc0| 65 2d 73 65 6e 74 0a 6d | 61 78 3d 20 20 54 68 65 |e-sent.m|ax= The|
|00004dd0| 20 6c 6f 6f 70 2d 6c 69 | 6d 69 74 20 75 73 65 64 | loop-li|mit used|
|00004de0| 20 69 6e 20 70 61 72 73 | 65 20 6f 66 20 72 61 6e | in pars|e of ran|
|00004df0| 67 65 20 6f 66 20 66 69 | 6c 65 73 20 74 6f 20 62 |ge of fi|les to b|
|00004e00| 65 20 72 65 2d 73 65 6e | 74 0a 6d 61 78 3d 20 69 |e re-sen|t.max= i|
|00004e10| 73 20 61 73 73 75 6d 65 | 64 20 74 6f 20 62 65 20 |s assume|d to be |
|00004e20| 39 39 20 69 66 20 6e 6f | 20 74 6f 70 2d 6f 66 2d |99 if no| top-of-|
|00004e30| 72 61 6e 67 65 20 69 73 | 20 67 69 76 65 6e 2e 0a |range is| given..|
|00004e40| 6e 20 20 3d 20 70 69 65 | 63 65 20 6e 75 6d 62 65 |n = pie|ce numbe|
|00004e50| 72 20 64 75 72 69 6e 67 | 20 74 68 65 20 6c 6f 6f |r during| the loo|
|00004e60| 70 20 77 68 69 63 68 20 | 73 65 6e 64 73 20 70 69 |p which |sends pi|
|00004e70| 65 63 65 73 20 76 69 61 | 20 6d 61 69 6c 0a 6e 65 |eces via| mail.ne|
|00004e80| 20 3d 20 20 6e 65 78 74 | 20 70 61 72 61 6d 20 6f | = next| param o|
|00004e90| 6e 20 63 6f 6d 6d 61 6e | 64 20 6c 69 6e 65 20 28 |n comman|d line (|
|00004ea0| 61 66 74 65 72 20 66 6c | 61 67 20 69 73 20 73 65 |after fl|ag is se|
|00004eb0| 74 2c 20 6e 65 78 74 20 | 70 61 72 61 6d 20 67 65 |t, next |param ge|
|00004ec0| 74 73 0a 6e 65 20 3d 20 | 65 76 61 6c 27 64 20 74 |ts.ne = |eval'd t|
|00004ed0| 6f 20 74 68 65 20 76 61 | 72 20 73 65 74 20 69 6e |o the va|r set in|
|00004ee0| 20 6e 65 20 20 28 73 65 | 65 20 61 62 6f 76 65 29 | ne (se|e above)|
|00004ef0| 0a 74 20 20 3d 20 61 20 | 73 70 65 63 69 66 69 63 |.t = a |specific|
|00004f00| 20 74 6f 6b 65 6e 20 63 | 6f 6e 74 61 69 6e 69 6e | token c|ontainin|
|00004f10| 67 20 61 20 72 61 6e 67 | 65 20 74 6f 20 62 65 20 |g a rang|e to be |
|00004f20| 65 78 70 61 6e 64 65 64 | 20 28 6e 2d 6d 29 0a 74 |expanded| (n-m).t|
|00004f30| 6f 6b 3d 20 54 6f 6b 65 | 6e 20 64 75 72 69 6e 67 |ok= Toke|n during|
|00004f40| 20 70 61 72 73 65 20 6f | 66 20 72 61 6e 67 65 20 | parse o|f range |
|00004f50| 6f 66 20 66 69 6c 65 73 | 20 74 6f 20 62 65 20 72 |of files| to be r|
|00004f60| 65 2d 73 65 6e 74 0a 0a | 0a 48 69 73 74 6f 72 79 |e-sent..|.History|
|00004f70| 3a 0a 23 20 43 6f 64 65 | 72 20 20 20 20 20 20 20 |:.# Code|r |
|00004f80| 20 44 61 74 65 20 20 20 | 20 20 20 43 6f 6d 6d 65 | Date | Comme|
|00004f90| 6e 74 73 0a 23 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |nts.#---|--------|
|00004fa0| 2d 20 20 2d 2d 2d 2d 2d | 2d 2d 2d 20 2d 2d 2d 2d |- -----|--- ----|
|00004fb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004fc0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004fd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0a |--------|-------.|
|00004fe0| 23 20 4d 20 46 20 57 79 | 6c 65 20 20 20 20 20 30 |# M F Wy|le 0|
|00004ff0| 32 6e 6f 76 38 37 09 53 | 68 61 6d 65 6c 65 73 73 |2nov87.S|hameless|
|00005000| 6c 79 20 73 74 6f 6c 65 | 6e 20 66 72 6f 6d 20 74 |ly stole|n from t|
|00005010| 61 72 6d 61 69 6c 20 3a | 2d 29 0a 23 20 57 52 55 |armail :|-).# WRU|
|00005020| 20 20 20 20 20 20 20 20 | 20 20 31 38 66 65 62 38 | | 18feb8|
|00005030| 38 09 63 68 61 6e 67 65 | 64 20 76 61 72 69 61 62 |8.change|d variab|
|00005040| 6c 65 20 4d 41 49 4c 45 | 52 2c 20 61 64 64 65 64 |le MAILE|R, added|
|00005050| 20 53 50 4c 49 54 54 45 | 52 2c 0a 23 20 20 20 20 | SPLITTE|R,.# |
|00005060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005070| 20 09 4c 49 4e 45 53 2c | 20 55 53 45 52 20 61 6e | .LINES,| USER an|
|00005080| 64 20 61 20 77 61 72 6e | 69 6e 67 20 61 62 6f 75 |d a warn|ing abou|
|00005090| 74 20 75 75 64 65 63 6f | 64 65 0a 23 20 4d 20 46 |t uudeco|de.# M F|
|000050a0| 20 57 79 6c 65 20 20 20 | 20 20 32 35 6d 61 72 38 | Wyle | 25mar8|
|000050b0| 38 09 41 64 64 20 74 61 | 72 2c 20 65 78 74 72 61 |8.Add ta|r, extra|
|000050c0| 63 74 20 6a 6f 69 6e 2d | 73 63 72 69 70 74 20 69 |ct join-|script i|
|000050d0| 6e 20 31 73 74 20 6d 73 | 67 0a 23 20 57 52 55 20 |n 1st ms|g.# WRU |
|000050e0| 20 20 20 20 20 20 20 20 | 20 30 33 61 70 72 38 38 | | 03apr88|
|000050f0| 20 20 66 69 78 65 64 20 | 73 6f 6d 65 20 71 75 6f | fixed |some quo|
|00005100| 74 69 6e 67 20 70 72 6f | 62 6c 65 6d 73 20 69 6e |ting pro|blems in|
|00005110| 20 22 65 63 68 6f 22 2d | 73 74 72 69 6e 67 73 0a | "echo"-|strings.|
|00005120| 23 09 09 09 63 6f 73 6d | 65 74 69 63 20 63 68 61 |#...cosm|etic cha|
|00005130| 6e 67 65 73 3a 20 72 65 | 6e 61 6d 65 64 20 22 6d |nges: re|named "m|
|00005140| 61 69 6c 73 70 6c 69 74 | 22 0a 23 09 09 09 63 72 |ailsplit|".#...cr|
|00005150| 65 61 74 65 64 20 54 48 | 49 53 4e 41 4d 45 0a 23 |eated TH|ISNAME.#|
|00005160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005170| 20 20 20 20 20 20 20 66 | 69 78 65 64 20 73 6f 6d | f|ixed som|
|00005180| 65 20 74 79 70 6f 73 2c | 20 61 64 64 65 64 20 45 |e typos,| added E|
|00005190| 6d 61 69 6c 2d 61 64 64 | 72 65 73 73 65 73 2c 20 |mail-add|resses, |
|000051a0| 65 78 61 6d 70 6c 65 2c | 0a 23 20 20 20 20 20 20 |example,|.# |
|000051b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000051c0| 20 73 65 63 74 69 6f 6e | 20 66 6f 72 20 73 75 67 | section| for sug|
|000051d0| 67 65 73 74 65 64 20 69 | 6d 70 72 6f 76 65 6d 65 |gested i|mproveme|
|000051e0| 6e 74 73 0a 23 20 4d 46 | 57 20 20 20 20 20 20 20 |nts.# MF|W |
|000051f0| 20 20 20 30 35 61 70 72 | 38 38 20 20 46 69 78 20 | 05apr|88 Fix |
|00005200| 6d 6f 72 65 20 71 75 6f | 74 69 6e 67 20 70 72 6f |more quo|ting pro|
|00005210| 62 6c 65 6d 73 20 69 6e | 20 65 63 68 6f 20 73 74 |blems in| echo st|
|00005220| 72 69 6e 67 73 20 28 73 | 68 65 6c 6c 0a 23 20 20 |rings (s|hell.# |
|00005230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005240| 20 20 20 20 20 76 61 72 | 69 61 62 6c 65 73 29 3b | var|iables);|
|00005250| 20 61 64 64 65 64 20 2f | 62 69 6e 2f 72 6d 20 63 | added /|bin/rm c|
|00005260| 6c 65 61 6e 75 70 20 74 | 6f 20 6a 6f 69 6e 2d 73 |leanup t|o join-s|
|00005270| 63 72 69 70 74 0a 23 20 | 4d 46 57 20 20 20 20 20 |cript.# |MFW |
|00005280| 20 20 20 20 20 32 31 6a | 75 6e 38 38 20 20 62 61 | 21j|un88 ba|
|00005290| 73 65 64 20 6f 6e 20 57 | 52 55 27 73 20 73 75 67 |sed on W|RU's sug|
|000052a0| 67 65 73 74 69 6f 6e 73 | 3a 0a 23 20 20 20 20 20 |gestions|:.# |
|000052b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000052c0| 20 20 31 29 20 61 64 64 | 20 66 69 6c 65 2d 6e 61 | 1) add| file-na|
|000052d0| 6d 65 20 74 6f 20 73 75 | 62 6a 65 63 74 0a 23 20 |me to su|bject.# |
|000052e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000052f0| 20 20 20 20 20 20 32 29 | 20 76 65 72 62 6f 73 65 | 2)| verbose|
|00005300| 20 65 78 70 6c 61 6e 61 | 74 69 6f 6e 73 0a 23 20 | explana|tions.# |
|00005310| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005320| 20 20 20 20 20 20 33 29 | 20 61 64 64 20 70 61 72 | 3)| add par|
|00005330| 74 73 2d 6f 72 64 65 72 | 20 63 68 65 63 6b 69 6e |ts-order| checkin|
|00005340| 67 21 20 20 59 69 70 70 | 65 65 65 21 0a 23 20 4d |g! Yipp|eee!.# M|
|00005350| 46 57 20 20 20 20 20 20 | 20 20 20 20 30 38 6a 75 |FW | 08ju|
|00005360| 6c 38 38 20 20 46 69 78 | 20 75 75 64 65 63 6f 64 |l88 Fix| uudecod|
|00005370| 65 20 73 65 74 75 69 64 | 20 62 75 67 0a 23 20 4d |e setuid| bug.# M|
|00005380| 46 57 20 20 20 20 20 20 | 20 20 20 20 31 32 6a 75 |FW | 12ju|
|00005390| 6c 38 38 20 20 46 69 78 | 20 65 6d 70 74 79 20 6f |l88 Fix| empty o|
|000053a0| 72 20 6e 6f 20 66 69 6c | 65 73 20 62 75 67 2c 20 |r no fil|es bug, |
|000053b0| 61 64 64 65 64 20 46 49 | 4c 45 43 4f 55 4e 54 0a |added FI|LECOUNT.|
|000053c0| 23 20 4d 46 57 20 20 20 | 20 20 20 20 20 20 20 31 |# MFW | 1|
|000053d0| 37 6a 75 6c 38 38 20 20 | 41 64 64 65 64 20 75 6d |7jul88 |Added um|
|000053e0| 61 73 6b 20 30 2c 20 64 | 65 6c 61 79 20 62 65 66 |ask 0, d|elay bef|
|000053f0| 6f 72 65 20 6d 61 69 6c | 2c 20 63 68 65 63 6b 20 |ore mail|, check |
|00005400| 61 66 74 65 72 20 73 70 | 6c 69 74 0a 23 20 4d 46 |after sp|lit.# MF|
|00005410| 57 20 20 20 20 20 20 20 | 20 20 20 31 39 6a 75 6c |W | 19jul|
|00005420| 38 38 20 20 4d 61 6a 6f | 72 20 72 65 2d 77 72 69 |88 Majo|r re-wri|
|00005430| 74 65 20 66 6f 72 20 66 | 6c 61 67 73 2c 20 76 65 |te for f|lags, ve|
|00005440| 72 62 6f 73 65 2c 20 73 | 63 63 73 20 63 6f 6e 74 |rbose, s|ccs cont|
|00005450| 72 6f 6c 0a 23 20 4d 46 | 57 20 20 20 20 20 20 20 |rol.# MF|W |
|00005460| 20 20 20 32 35 6a 75 6c | 38 38 20 20 41 64 64 65 | 25jul|88 Adde|
|00005470| 64 20 61 20 72 61 6e 67 | 65 2d 70 61 72 73 65 72 |d a rang|e-parser|
|00005480| 2c 20 6d 6f 72 65 20 66 | 6c 61 67 73 2c 20 73 6f |, more f|lags, so|
|00005490| 6d 65 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |me docum|entation|
|000054a0| 0a 23 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.# | |
|000054b0| 20 20 20 20 20 20 20 20 | 20 55 70 27 64 20 72 65 | | Up'd re|
|000054c0| 6c 65 61 73 65 20 74 6f | 20 32 2e 30 20 66 6f 72 |lease to| 2.0 for|
|000054d0| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 0a 0a 56 | distrib|ution..V|
|000054e0| 65 72 62 61 6c 20 64 65 | 73 63 72 69 70 74 69 6f |erbal de|scriptio|
|000054f0| 6e 20 6f 66 20 61 6c 67 | 6f 72 69 74 68 6d 3a 0a |n of alg|orithm:.|
|00005500| 3d 3d 3d 3d 3d 3d 20 3d | 3d 3d 3d 3d 3d 3d 3d 3d |====== =|========|
|00005510| 3d 3d 20 3d 3d 20 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |== == ==|========|
|00005520| 0a 57 68 65 6e 20 74 68 | 65 20 70 72 6f 67 72 61 |.When th|e progra|
|00005530| 6d 20 73 74 61 72 74 73 | 2c 20 69 74 20 69 6e 69 |m starts|, it ini|
|00005540| 74 69 61 6c 69 7a 65 73 | 20 73 6f 6d 65 20 76 61 |tializes| some va|
|00005550| 72 69 61 62 6c 65 73 2c | 20 74 68 65 6e 20 70 61 |riables,| then pa|
|00005560| 72 73 65 73 20 74 68 65 | 0a 65 6e 74 69 72 65 20 |rses the|.entire |
|00005570| 63 6f 6d 6d 61 6e 64 20 | 6c 69 6e 65 2e 20 20 49 |command |line. I|
|00005580| 74 20 62 75 69 6c 64 73 | 20 75 70 20 61 20 6c 69 |t builds| up a li|
|00005590| 73 74 20 6f 66 20 6e 6f | 6e 2d 66 6c 61 67 20 6f |st of no|n-flag o|
|000055a0| 70 74 69 6f 6e 73 20 69 | 6e 20 74 68 65 20 46 0a |ptions i|n the F.|
|000055b0| 76 61 72 69 61 62 6c 65 | 2e 20 20 54 68 65 20 66 |variable|. The f|
|000055c0| 69 72 73 74 20 70 61 72 | 61 6d 65 74 65 72 20 69 |irst par|ameter i|
|000055d0| 6e 20 46 20 69 73 20 74 | 68 65 20 65 2d 6d 61 69 |n F is t|he e-mai|
|000055e0| 6c 20 70 61 74 68 2e 20 | 20 41 6c 6c 20 6f 74 68 |l path. | All oth|
|000055f0| 65 72 73 20 61 72 65 0a | 66 69 6c 65 73 20 6f 72 |ers are.|files or|
|00005600| 20 64 69 72 65 63 74 6f | 72 69 65 73 2e 0a 0a 49 | directo|ries...I|
|00005610| 66 20 6e 6f 20 73 75 62 | 6a 65 63 74 20 69 73 20 |f no sub|ject is |
|00005620| 73 65 74 20 76 69 61 20 | 74 68 65 20 22 2d 73 20 |set via |the "-s |
|00005630| 73 75 62 6a 65 63 74 22 | 20 20 66 6c 61 67 2c 20 |subject"| flag, |
|00005640| 74 68 65 20 73 75 62 65 | 63 74 20 69 73 20 61 73 |the sube|ct is as|
|00005650| 73 69 67 6e 65 64 0a 66 | 72 6f 6d 20 74 68 65 20 |signed.f|rom the |
|00005660| 66 69 72 73 74 20 66 69 | 6c 65 20 74 6f 20 73 65 |first fi|le to se|
|00005670| 6e 64 2e 20 20 54 68 65 | 20 74 68 72 65 65 20 74 |nd. The| three t|
|00005680| 65 6d 70 6f 72 61 72 79 | 20 66 69 6c 65 20 6e 61 |emporary| file na|
|00005690| 6d 65 73 20 28 76 61 72 | 69 61 62 6c 65 73 0a 54 |mes (var|iables.T|
|000056a0| 31 2c 20 54 32 2c 20 61 | 6e 64 20 54 33 29 20 61 |1, T2, a|nd T3) a|
|000056b0| 72 65 20 74 68 65 6e 20 | 61 73 73 69 67 6e 65 64 |re then |assigned|
|000056c0| 2e 0a 0a 54 68 65 20 72 | 61 6e 67 65 20 6f 66 20 |...The r|ange of |
|000056d0| 70 69 65 63 65 73 20 74 | 6f 20 62 65 20 72 65 2d |pieces t|o be re-|
|000056e0| 73 65 6e 74 20 69 73 20 | 70 61 72 73 65 64 2e 0a |sent is |parsed..|
|000056f0| 0a 44 65 62 75 67 67 69 | 6e 67 20 6f 75 74 70 75 |.Debuggi|ng outpu|
|00005700| 74 20 69 73 20 65 63 68 | 6f 27 64 20 74 6f 20 73 |t is ech|o'd to s|
|00005710| 74 61 6e 64 61 72 64 20 | 6f 75 74 20 61 73 20 61 |tandard |out as a|
|00005720| 70 70 72 6f 70 72 69 61 | 74 65 20 66 6f 72 20 74 |ppropria|te for t|
|00005730| 68 65 0a 64 65 62 75 67 | 67 69 6e 67 20 6c 65 76 |he.debug|ging lev|
|00005740| 65 6c 2e 20 20 49 66 20 | 74 68 65 20 2d 74 20 6f |el. If |the -t o|
|00005750| 72 20 2d 6e 20 6f 70 74 | 69 6f 6e 20 69 73 20 73 |r -n opt|ion is s|
|00005760| 65 74 2c 20 6e 6f 74 68 | 69 6e 67 20 69 73 20 72 |et, noth|ing is r|
|00005770| 65 61 6c 6c 79 0a 64 6f | 6e 65 2c 20 65 78 63 65 |eally.do|ne, exce|
|00005780| 70 74 20 70 72 69 6e 74 | 69 6e 67 20 6f 75 74 20 |pt print|ing out |
|00005790| 77 68 61 74 20 77 6f 75 | 6c 64 20 68 61 76 65 20 |what wou|ld have |
|000057a0| 68 61 70 70 65 6e 65 64 | 2e 0a 0a 54 68 65 20 74 |happened|...The t|
|000057b0| 61 72 2c 20 63 6f 6d 70 | 72 65 73 73 2c 20 73 70 |ar, comp|ress, sp|
|000057c0| 6c 69 74 20 63 6f 6d 6d | 61 6e 64 73 20 61 72 65 |lit comm|ands are|
|000057d0| 20 70 65 72 66 6f 72 6d | 65 64 2c 20 77 69 74 68 | perform|ed, with|
|000057e0| 20 61 70 70 72 6f 70 72 | 69 61 74 65 0a 76 65 72 | appropr|iate.ver|
|000057f0| 62 6f 73 69 74 79 20 66 | 6f 72 20 74 68 65 20 64 |bosity f|or the d|
|00005800| 65 62 75 67 67 69 6e 67 | 20 6c 65 76 65 6c 2e 20 |ebugging| level. |
|00005810| 20 43 65 72 74 61 69 6e | 20 63 68 65 63 6b 73 20 | Certain| checks |
|00005820| 61 72 65 20 6d 61 64 65 | 20 61 6c 6f 6e 67 20 74 |are made| along t|
|00005830| 68 65 0a 77 61 79 20 74 | 6f 20 76 65 72 69 66 79 |he.way t|o verify|
|00005840| 20 74 68 61 74 20 74 68 | 65 20 63 6f 6d 6d 61 6e | that th|e comman|
|00005850| 64 73 20 64 69 64 20 6e | 6f 74 20 66 61 69 6c 2e |ds did n|ot fail.|
|00005860| 20 20 49 66 20 6f 6e 65 | 20 66 61 69 6c 73 2c 20 | If one| fails, |
|00005870| 74 68 65 0a 70 72 6f 67 | 72 61 6d 20 65 78 69 74 |the.prog|ram exit|
|00005880| 73 20 77 69 74 68 20 61 | 6e 20 61 70 70 72 6f 70 |s with a|n approp|
|00005890| 72 69 61 74 65 20 66 61 | 69 6c 75 72 65 20 6d 65 |riate fa|ilure me|
|000058a0| 73 73 61 67 65 2e 0a 0a | 54 68 65 20 66 69 6c 65 |ssage...|The file|
|000058b0| 73 20 63 72 65 61 74 65 | 64 20 69 6e 20 24 54 33 |s create|d in $T3|
|000058c0| 2a 20 61 72 65 20 73 65 | 6e 74 20 76 69 61 20 6d |* are se|nt via m|
|000058d0| 61 69 6c 20 6f 6e 65 20 | 61 74 20 61 20 74 69 6d |ail one |at a tim|
|000058e0| 65 2c 20 77 69 74 68 0a | 64 65 6c 61 79 73 2e 20 |e, with.|delays. |
|000058f0| 20 54 68 65 20 66 69 72 | 73 74 20 66 69 6c 65 20 | The fir|st file |
|00005900| 73 65 6e 74 20 68 61 73 | 20 61 20 6a 6f 69 6e 2d |sent has| a join-|
|00005910| 73 63 72 69 70 74 20 70 | 72 65 2d 70 65 6e 64 65 |script p|re-pende|
|00005920| 64 2e 20 20 41 20 66 69 | 6c 65 0a 63 6f 75 6e 74 |d. A fi|le.count|
|00005930| 65 72 20 24 6e 20 69 73 | 20 75 73 65 64 20 74 6f |er $n is| used to|
|00005940| 20 6c 61 62 65 6c 20 74 | 68 65 20 73 75 62 6a 65 | label t|he subje|
|00005950| 63 74 20 6c 69 6e 65 73 | 2e 0a 0a 54 68 65 20 74 |ct lines|...The t|
|00005960| 65 6d 70 6f 72 61 72 79 | 20 66 69 6c 65 73 20 61 |emporary| files a|
|00005970| 72 65 20 64 65 6c 65 74 | 65 64 2e 0a 0a 53 48 41 |re delet|ed...SHA|
|00005980| 52 5f 45 4f 46 0a 66 69 | 0a 65 78 69 74 20 30 0a |R_EOF.fi|.exit 0.|
|00005990| 23 09 45 6e 64 20 6f 66 | 20 73 68 65 6c 6c 20 61 |#.End of| shell a|
|000059a0| 72 63 68 69 76 65 0a 0a | 2d 2d 20 0a 2d 4d 69 74 |rchive..|-- .-Mit|
|000059b0| 63 68 65 6c 6c 20 46 2e | 20 57 79 6c 65 20 20 20 |chell F.| Wyle |
|000059c0| 20 20 20 20 20 20 20 20 | 20 77 79 6c 65 40 65 74 | | wyle@et|
|000059d0| 68 7a 2e 75 75 63 70 0a | 49 6e 73 74 69 74 75 74 |hz.uucp.|Institut|
|000059e0| 20 66 75 65 72 20 49 6e | 66 6f 72 6d 61 74 69 6b | fuer In|formatik|
|000059f0| 20 20 20 20 20 77 79 6c | 65 25 69 66 69 2e 65 74 | wyl|e%ifi.et|
|00005a00| 68 7a 2e 63 68 40 72 65 | 6c 61 79 2e 63 73 2e 6e |hz.ch@re|lay.cs.n|
|00005a10| 65 74 0a 45 54 48 20 5a | 65 6e 74 72 75 6d 20 20 |et.ETH Z|entrum |
|00005a20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005a30| 0a 38 30 39 32 20 5a 75 | 65 72 69 63 68 2c 20 53 |.8092 Zu|erich, S|
|00005a40| 77 69 74 7a 65 72 6c 61 | 6e 64 20 20 20 20 2b 34 |witzerla|nd +4|
|00005a50| 31 20 31 20 32 35 36 2d | 35 32 33 37 0a |1 1 256-|5237. |
+--------+-------------------------+-------------------------+--------+--------+