home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news or mail, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/rfc822
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 53 75 62 6a 65 63 74 3a | 20 20 76 31 32 69 30 31 |Subject:| v12i01|
|00000010| 31 3a 20 20 43 61 6b 65 | 2c 20 61 20 6d 61 6b 65 |1: Cake|, a make|
|00000020| 20 72 65 70 6c 61 63 65 | 6d 65 6e 74 2c 20 50 61 | replace|ment, Pa|
|00000030| 72 74 30 35 2f 30 39 0a | 4e 65 77 73 67 72 6f 75 |rt05/09.|Newsgrou|
|00000040| 70 73 3a 20 63 6f 6d 70 | 2e 73 6f 75 72 63 65 73 |ps: comp|.sources|
|00000050| 2e 75 6e 69 78 0a 53 65 | 6e 64 65 72 3a 20 73 6f |.unix.Se|nder: so|
|00000060| 75 72 63 65 73 0a 41 70 | 70 72 6f 76 65 64 3a 20 |urces.Ap|proved: |
|00000070| 72 73 40 75 75 6e 65 74 | 2e 55 55 2e 4e 45 54 0a |rs@uunet|.UU.NET.|
|00000080| 0a 53 75 62 6d 69 74 74 | 65 64 2d 62 79 3a 20 5a |.Submitt|ed-by: Z|
|00000090| 6f 6c 74 61 6e 20 53 6f | 6d 6f 67 79 69 20 3c 7a |oltan So|mogyi <z|
|000000a0| 73 40 6d 75 6e 6e 61 72 | 69 2e 6f 7a 3e 0a 50 6f |s@munnar|i.oz>.Po|
|000000b0| 73 74 69 6e 67 2d 6e 75 | 6d 62 65 72 3a 20 56 6f |sting-nu|mber: Vo|
|000000c0| 6c 75 6d 65 20 31 32 2c | 20 49 73 73 75 65 20 31 |lume 12,| Issue 1|
|000000d0| 31 0a 41 72 63 68 69 76 | 65 2d 6e 61 6d 65 3a 20 |1.Archiv|e-name: |
|000000e0| 63 61 6b 65 2f 70 61 72 | 74 30 35 0a 0a 23 21 20 |cake/par|t05..#! |
|000000f0| 2f 62 69 6e 2f 73 68 0a | 23 20 54 68 69 73 20 69 |/bin/sh.|# This i|
|00000100| 73 20 61 20 73 68 65 6c | 6c 20 61 72 63 68 69 76 |s a shel|l archiv|
|00000110| 65 2c 20 6d 65 61 6e 69 | 6e 67 3a 0a 23 20 31 2e |e, meani|ng:.# 1.|
|00000120| 20 52 65 6d 6f 76 65 20 | 65 76 65 72 79 74 68 69 | Remove |everythi|
|00000130| 6e 67 20 61 62 6f 76 65 | 20 74 68 65 20 23 21 20 |ng above| the #! |
|00000140| 2f 62 69 6e 2f 73 68 20 | 6c 69 6e 65 2e 0a 23 20 |/bin/sh |line..# |
|00000150| 32 2e 20 53 61 76 65 20 | 74 68 65 20 72 65 73 75 |2. Save |the resu|
|00000160| 6c 74 69 6e 67 20 74 65 | 78 74 20 69 6e 20 61 20 |lting te|xt in a |
|00000170| 66 69 6c 65 2e 0a 23 20 | 33 2e 20 45 78 65 63 75 |file..# |3. Execu|
|00000180| 74 65 20 74 68 65 20 66 | 69 6c 65 20 77 69 74 68 |te the f|ile with|
|00000190| 20 2f 62 69 6e 2f 73 68 | 20 28 6e 6f 74 20 63 73 | /bin/sh| (not cs|
|000001a0| 68 29 20 74 6f 20 63 72 | 65 61 74 65 3a 0a 23 09 |h) to cr|eate:.#.|
|000001b0| 52 45 41 44 4d 45 0a 23 | 09 64 69 66 66 0a 23 20 |README.#|.diff.# |
|000001c0| 54 68 69 73 20 61 72 63 | 68 69 76 65 20 63 72 65 |This arc|hive cre|
|000001d0| 61 74 65 64 3a 20 57 65 | 64 20 4f 63 74 20 31 34 |ated: We|d Oct 14|
|000001e0| 20 32 30 3a 34 31 3a 35 | 31 20 31 39 38 37 0a 65 | 20:41:5|1 1987.e|
|000001f0| 78 70 6f 72 74 20 50 41 | 54 48 3b 20 50 41 54 48 |xport PA|TH; PATH|
|00000200| 3d 2f 62 69 6e 3a 2f 75 | 73 72 2f 62 69 6e 3a 24 |=/bin:/u|sr/bin:$|
|00000210| 50 41 54 48 0a 65 63 68 | 6f 20 6d 6b 64 69 72 20 |PATH.ech|o mkdir |
|00000220| 4c 65 78 0a 6d 6b 64 69 | 72 20 4c 65 78 0a 65 63 |Lex.mkdi|r Lex.ec|
|00000230| 68 6f 20 63 64 20 4c 65 | 78 0a 63 64 20 4c 65 78 |ho cd Le|x.cd Lex|
|00000240| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 22 65 78 74 |.echo sh|ar: "ext|
|00000250| 72 61 63 74 69 6e 67 20 | 27 52 45 41 44 4d 45 27 |racting |'README'|
|00000260| 22 20 27 28 38 39 37 20 | 63 68 61 72 61 63 74 65 |" '(897 |characte|
|00000270| 72 73 29 27 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |rs)'.if |test -f |
|00000280| 27 52 45 41 44 4d 45 27 | 0a 74 68 65 6e 0a 09 65 |'README'|.then..e|
|00000290| 63 68 6f 20 73 68 61 72 | 3a 20 22 77 69 6c 6c 20 |cho shar|: "will |
|000002a0| 6e 6f 74 20 6f 76 65 72 | 2d 77 72 69 74 65 20 65 |not over|-write e|
|000002b0| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 27 52 45 |xisting |file 'RE|
|000002c0| 41 44 4d 45 27 22 0a 65 | 6c 73 65 0a 73 65 64 20 |ADME'".e|lse.sed |
|000002d0| 27 73 2f 5e 58 2f 2f 27 | 20 3c 3c 20 5c 53 48 41 |'s/^X//'| << \SHA|
|000002e0| 52 5f 45 4f 46 20 3e 20 | 27 52 45 41 44 4d 45 27 |R_EOF > |'README'|
|000002f0| 0a 58 54 68 69 73 20 64 | 69 72 65 63 74 6f 72 79 |.XThis d|irectory|
|00000300| 20 63 6f 6e 74 61 69 6e | 73 20 61 20 64 69 66 66 | contain|s a diff|
|00000310| 20 66 6f 72 20 61 20 6d | 6f 64 69 66 69 65 64 20 | for a m|odified |
|00000320| 76 65 72 73 69 6f 6e 20 | 6f 66 20 74 68 65 20 6c |version |of the l|
|00000330| 65 78 20 64 72 69 76 65 | 72 0a 58 28 6e 63 66 6f |ex drive|r.X(ncfo|
|00000340| 72 6d 29 2e 20 49 74 20 | 69 73 20 6e 6f 74 20 61 |rm). It |is not a|
|00000350| 62 73 6f 6c 75 74 65 6c | 79 20 6e 65 63 65 73 73 |bsolutel|y necess|
|00000360| 61 72 79 20 74 6f 20 63 | 61 6b 65 3a 20 74 68 65 |ary to c|ake: the|
|00000370| 20 6f 6e 6c 79 20 64 69 | 66 66 65 72 65 6e 63 65 | only di|fference|
|00000380| 0a 58 69 73 20 69 6e 20 | 65 72 72 6f 72 20 64 65 |.Xis in |error de|
|00000390| 74 65 63 74 69 6f 6e 2e | 20 49 66 20 79 6f 75 20 |tection.| If you |
|000003a0| 63 61 6e 6e 6f 74 20 6f | 72 20 64 6f 20 6e 6f 74 |cannot o|r do not|
|000003b0| 20 77 61 6e 74 20 74 6f | 20 69 6e 73 74 61 6c 6c | want to| install|
|000003c0| 20 74 68 69 73 20 64 69 | 66 66 0a 58 74 6f 20 6e | this di|ff.Xto n|
|000003d0| 63 66 6f 72 6d 2c 20 28 | 65 2e 67 2e 20 63 61 75 |cform, (|e.g. cau|
|000003e0| 73 65 20 79 6f 75 20 68 | 61 76 65 20 61 6e 20 75 |se you h|ave an u|
|000003f0| 6e 73 79 6d 70 68 61 74 | 65 74 69 63 20 72 6f 6f |nsymphat|etic roo|
|00000400| 74 20 6f 72 20 79 6f 75 | 20 61 72 65 20 77 6f 72 |t or you| are wor|
|00000410| 72 69 65 64 0a 58 61 62 | 6f 75 74 20 41 54 26 54 |ried.Xab|out AT&T|
|00000420| 27 73 20 63 6f 70 79 72 | 69 67 68 74 20 6f 6e 20 |'s copyr|ight on |
|00000430| 74 68 65 20 6f 72 69 67 | 69 6e 61 6c 20 6e 63 66 |the orig|inal ncf|
|00000440| 6f 72 6d 2c 20 6f 66 20 | 77 68 69 63 68 20 74 68 |orm, of |which th|
|00000450| 69 73 20 6f 6e 65 20 69 | 73 20 61 0a 58 73 6d 61 |is one i|s a.Xsma|
|00000460| 6c 6c 20 6d 6f 64 69 66 | 69 63 61 74 69 6f 6e 29 |ll modif|ication)|
|00000470| 2c 20 79 6f 75 20 73 68 | 6f 75 6c 64 20 6b 65 65 |, you sh|ould kee|
|00000480| 70 20 74 68 65 20 63 61 | 6c 6c 73 20 74 6f 20 61 |p the ca|lls to a|
|00000490| 6e 64 20 74 68 65 20 64 | 65 66 69 6e 69 74 69 6f |nd the d|efinitio|
|000004a0| 6e 20 6f 66 0a 58 63 68 | 65 63 6b 5f 61 63 74 6c |n of.Xch|eck_actl|
|000004b0| 65 6e 20 69 6e 20 63 61 | 6b 65 5f 73 2e 6c 3b 20 |en in ca|ke_s.l; |
|000004c0| 6f 74 68 65 72 77 69 73 | 65 20 79 6f 75 20 73 68 |otherwis|e you sh|
|000004d0| 6f 75 6c 64 20 63 6f 6d | 6d 65 6e 74 20 74 68 65 |ould com|ment the|
|000004e0| 6d 20 6f 75 74 2e 0a 58 | 0a 58 43 61 74 63 68 69 |m out..X|.XCatchi|
|000004f0| 6e 67 20 6c 65 78 20 62 | 75 66 66 65 72 20 6f 76 |ng lex b|uffer ov|
|00000500| 65 72 66 6c 6f 77 73 20 | 69 73 20 69 6d 70 6f 72 |erflows |is impor|
|00000510| 74 61 6e 74 2e 20 53 6f | 6d 65 20 63 61 6b 65 20 |tant. So|me cake |
|00000520| 61 63 74 69 6f 6e 73 2c | 20 6c 69 6b 65 0a 58 6d |actions,| like.Xm|
|00000530| 61 6b 65 20 61 63 74 69 | 6f 6e 73 2c 20 61 72 65 |ake acti|ons, are|
|00000540| 20 76 65 72 79 20 6c 6f | 6e 67 2c 20 62 75 74 20 | very lo|ng, but |
|00000550| 74 68 69 73 20 6d 61 79 | 20 6e 6f 74 20 62 65 20 |this may| not be |
|00000560| 61 70 70 61 72 65 6e 74 | 2c 20 61 73 20 74 68 69 |apparent|, as thi|
|00000570| 73 0a 58 6c 65 6e 67 74 | 68 20 77 6f 75 6c 64 20 |s.Xlengt|h would |
|00000580| 61 6c 6d 6f 73 74 20 63 | 65 72 74 61 69 6e 6c 79 |almost c|ertainly|
|00000590| 20 72 65 73 75 6c 74 20 | 66 72 6f 6d 20 6d 61 63 | result |from mac|
|000005a0| 72 6f 20 65 78 70 61 6e | 73 69 6f 6e 20 28 61 20 |ro expan|sion (a |
|000005b0| 6c 69 6e 6b 0a 58 63 6f | 6d 6d 61 6e 64 20 66 6f |link.Xco|mmand fo|
|000005c0| 72 20 61 20 6c 61 72 67 | 65 20 73 79 73 74 65 6d |r a larg|e system|
|000005d0| 20 63 61 6e 20 65 61 73 | 69 6c 79 20 72 65 61 63 | can eas|ily reac|
|000005e0| 68 20 68 75 6e 64 72 65 | 64 73 20 6f 66 20 62 79 |h hundre|ds of by|
|000005f0| 74 65 73 29 2e 0a 58 41 | 6e 20 6f 76 65 72 66 6c |tes)..XA|n overfl|
|00000600| 6f 77 20 6c 69 6b 65 20 | 74 68 69 73 2c 20 69 66 |ow like |this, if|
|00000610| 20 69 74 20 6f 63 63 75 | 72 73 2c 20 6c 65 61 64 | it occu|rs, lead|
|00000620| 73 20 74 6f 20 63 6f 72 | 65 20 64 75 6d 70 2c 20 |s to cor|e dump, |
|00000630| 61 6e 64 20 74 68 65 20 | 62 75 67 0a 58 63 61 6e |and the |bug.Xcan|
|00000640| 20 62 65 20 56 45 52 59 | 20 48 41 52 44 20 74 6f | be VERY| HARD to|
|00000650| 20 74 72 61 63 6b 20 64 | 6f 77 6e 2e 20 49 20 6b | track d|own. I k|
|00000660| 6e 6f 77 2c 20 49 20 73 | 70 65 6e 74 20 61 20 77 |now, I s|pent a w|
|00000670| 65 65 6b 20 6f 6e 20 69 | 74 20 6f 6e 63 65 2e 0a |eek on i|t once..|
|00000680| 53 48 41 52 5f 45 4f 46 | 0a 69 66 20 74 65 73 74 |SHAR_EOF|.if test|
|00000690| 20 38 39 37 20 2d 6e 65 | 20 22 60 77 63 20 2d 63 | 897 -ne| "`wc -c|
|000006a0| 20 3c 20 27 52 45 41 44 | 4d 45 27 60 22 0a 74 68 | < 'READ|ME'`".th|
|000006b0| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 22 |en..echo| shar: "|
|000006c0| 65 72 72 6f 72 20 74 72 | 61 6e 73 6d 69 74 74 69 |error tr|ansmitti|
|000006d0| 6e 67 20 27 52 45 41 44 | 4d 45 27 22 20 27 28 73 |ng 'READ|ME'" '(s|
|000006e0| 68 6f 75 6c 64 20 68 61 | 76 65 20 62 65 65 6e 20 |hould ha|ve been |
|000006f0| 38 39 37 20 63 68 61 72 | 61 63 74 65 72 73 29 27 |897 char|acters)'|
|00000700| 0a 66 69 0a 66 69 0a 65 | 63 68 6f 20 73 68 61 72 |.fi.fi.e|cho shar|
|00000710| 3a 20 22 65 78 74 72 61 | 63 74 69 6e 67 20 27 64 |: "extra|cting 'd|
|00000720| 69 66 66 27 22 20 27 28 | 32 39 37 20 63 68 61 72 |iff'" '(|297 char|
|00000730| 61 63 74 65 72 73 29 27 | 0a 69 66 20 74 65 73 74 |acters)'|.if test|
|00000740| 20 2d 66 20 27 64 69 66 | 66 27 0a 74 68 65 6e 0a | -f 'dif|f'.then.|
|00000750| 09 65 63 68 6f 20 73 68 | 61 72 3a 20 22 77 69 6c |.echo sh|ar: "wil|
|00000760| 6c 20 6e 6f 74 20 6f 76 | 65 72 2d 77 72 69 74 65 |l not ov|er-write|
|00000770| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 27 | existin|g file '|
|00000780| 64 69 66 66 27 22 0a 65 | 6c 73 65 0a 73 65 64 20 |diff'".e|lse.sed |
|00000790| 27 73 2f 5e 58 2f 2f 27 | 20 3c 3c 20 5c 53 48 41 |'s/^X//'| << \SHA|
|000007a0| 52 5f 45 4f 46 20 3e 20 | 27 64 69 66 66 27 0a 58 |R_EOF > |'diff'.X|
|000007b0| 4c 69 6e 65 20 34 37 20 | 63 6f 6e 74 61 69 6e 73 |Line 47 |contains|
|000007c0| 3a 0a 58 0a 58 09 09 09 | 2a 79 79 6c 61 73 74 63 |:.X.X...|*yylastc|
|000007d0| 68 2b 2b 20 3d 20 79 79 | 63 68 20 3d 20 69 6e 70 |h++ = yy|ch = inp|
|000007e0| 75 74 28 29 3b 0a 58 0a | 58 41 64 64 20 74 68 65 |ut();.X.|XAdd the|
|000007f0| 20 6c 69 6e 65 73 0a 58 | 0a 58 23 20 69 66 64 65 | lines.X|.X# ifde|
|00000800| 66 20 45 41 52 4c 59 5f | 43 41 54 43 48 0a 58 09 |f EARLY_|CATCH.X.|
|00000810| 09 09 69 66 20 28 79 79 | 6c 61 73 74 63 68 20 3e |..if (yy|lastch >|
|00000820| 3d 20 79 79 74 65 78 74 | 2b 59 59 4c 4d 41 58 29 |= yytext|+YYLMAX)|
|00000830| 7b 0a 58 09 09 09 09 45 | 41 52 4c 59 5f 52 45 43 |{.X....E|ARLY_REC|
|00000840| 4f 56 45 52 59 0a 58 09 | 09 09 09 7d 0a 58 23 20 |OVERY.X.|...}.X# |
|00000850| 65 6e 64 69 66 0a 58 0a | 58 4c 69 6e 65 20 31 33 |endif.X.|XLine 13|
|00000860| 38 20 63 6f 6e 74 61 69 | 6e 73 3a 0a 58 0a 58 09 |8 contai|ns:.X.X.|
|00000870| 09 09 09 79 79 74 65 78 | 74 5b 79 79 6c 65 6e 67 |...yytex|t[yyleng|
|00000880| 5d 20 3d 20 30 3b 0a 58 | 0a 58 41 64 64 20 74 68 |] = 0;.X|.XAdd th|
|00000890| 65 20 6c 69 6e 65 73 0a | 58 0a 58 23 20 69 66 64 |e lines.|X.X# ifd|
|000008a0| 65 66 20 4c 41 54 45 5f | 43 41 54 43 48 0a 58 09 |ef LATE_|CATCH.X.|
|000008b0| 09 09 09 69 66 20 28 79 | 79 6c 65 6e 67 20 3e 3d |...if (y|yleng >=|
|000008c0| 20 59 59 4c 4d 41 58 29 | 7b 0a 58 09 09 09 09 09 | YYLMAX)|{.X.....|
|000008d0| 4c 41 54 45 5f 52 45 43 | 4f 56 45 52 59 0a 58 09 |LATE_REC|OVERY.X.|
|000008e0| 09 09 09 09 7d 0a 58 23 | 20 65 6e 64 69 66 0a 53 |....}.X#| endif.S|
|000008f0| 48 41 52 5f 45 4f 46 0a | 69 66 20 74 65 73 74 20 |HAR_EOF.|if test |
|00000900| 32 39 37 20 2d 6e 65 20 | 22 60 77 63 20 2d 63 20 |297 -ne |"`wc -c |
|00000910| 3c 20 27 64 69 66 66 27 | 60 22 0a 74 68 65 6e 0a |< 'diff'|`".then.|
|00000920| 09 65 63 68 6f 20 73 68 | 61 72 3a 20 22 65 72 72 |.echo sh|ar: "err|
|00000930| 6f 72 20 74 72 61 6e 73 | 6d 69 74 74 69 6e 67 20 |or trans|mitting |
|00000940| 27 64 69 66 66 27 22 20 | 27 28 73 68 6f 75 6c 64 |'diff'" |'(should|
|00000950| 20 68 61 76 65 20 62 65 | 65 6e 20 32 39 37 20 63 | have be|en 297 c|
|00000960| 68 61 72 61 63 74 65 72 | 73 29 27 0a 66 69 0a 66 |haracter|s)'.fi.f|
|00000970| 69 0a 65 78 69 74 20 30 | 0a 23 09 45 6e 64 20 6f |i.exit 0|.#.End o|
|00000980| 66 20 73 68 65 6c 6c 20 | 61 72 63 68 69 76 65 0a |f shell |archive.|
+--------+-------------------------+-------------------------+--------+--------+