home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume25 / tcl / part01 next >
SHell self-extracting ARchive  |  1991-11-14  |  57.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


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

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file ASCII text default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/329 Shell Archive Format default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 73 6f 75 72 63 65 73 | 2e 6d 69 73 63 0a 46 72 |.sources|.misc.Fr|
|00000020| 6f 6d 3a 20 6b 61 72 6c | 40 73 75 67 61 72 2e 6e |om: karl|@sugar.n|
|00000030| 65 6f 73 6f 66 74 2e 63 | 6f 6d 20 28 4b 61 72 6c |eosoft.c|om (Karl|
|00000040| 20 4c 65 68 65 6e 62 61 | 75 65 72 29 0a 53 75 62 | Lehenba|uer).Sub|
|00000050| 6a 65 63 74 3a 20 20 76 | 32 35 69 30 36 39 3a 20 |ject: v|25i069: |
|00000060| 20 74 63 6c 20 2d 20 74 | 6f 6f 6c 20 63 6f 6d 6d | tcl - t|ool comm|
|00000070| 61 6e 64 20 6c 61 6e 67 | 75 61 67 65 2c 20 76 65 |and lang|uage, ve|
|00000080| 72 73 69 6f 6e 20 36 2e | 31 2c 20 50 61 72 74 30 |rsion 6.|1, Part0|
|00000090| 31 2f 33 33 0a 4d 65 73 | 73 61 67 65 2d 49 44 3a |1/33.Mes|sage-ID:|
|000000a0| 20 3c 63 73 6d 2d 76 32 | 35 69 30 36 39 3d 74 63 | <csm-v2|5i069=tc|
|000000b0| 6c 2e 31 34 32 32 32 36 | 40 73 70 61 72 6b 79 2e |l.142226|@sparky.|
|000000c0| 49 4d 44 2e 53 74 65 72 | 6c 69 6e 67 2e 43 4f 4d |IMD.Ster|ling.COM|
|000000d0| 3e 0a 58 2d 4d 64 34 2d | 53 69 67 6e 61 74 75 72 |>.X-Md4-|Signatur|
|000000e0| 65 3a 20 30 31 65 39 62 | 31 65 63 62 65 38 63 66 |e: 01e9b|1ecbe8cf|
|000000f0| 38 35 31 35 39 38 39 37 | 34 61 61 36 63 38 34 30 |85159897|4aa6c840|
|00000100| 31 34 66 0a 44 61 74 65 | 3a 20 54 68 75 2c 20 31 |14f.Date|: Thu, 1|
|00000110| 34 20 4e 6f 76 20 31 39 | 39 31 20 32 30 3a 32 35 |4 Nov 19|91 20:25|
|00000120| 3a 30 33 20 47 4d 54 0a | 41 70 70 72 6f 76 65 64 |:03 GMT.|Approved|
|00000130| 3a 20 6b 65 6e 74 40 73 | 70 61 72 6b 79 2e 69 6d |: kent@s|parky.im|
|00000140| 64 2e 73 74 65 72 6c 69 | 6e 67 2e 63 6f 6d 0a 0a |d.sterli|ng.com..|
|00000150| 53 75 62 6d 69 74 74 65 | 64 2d 62 79 3a 20 6b 61 |Submitte|d-by: ka|
|00000160| 72 6c 40 73 75 67 61 72 | 2e 6e 65 6f 73 6f 66 74 |rl@sugar|.neosoft|
|00000170| 2e 63 6f 6d 20 28 4b 61 | 72 6c 20 4c 65 68 65 6e |.com (Ka|rl Lehen|
|00000180| 62 61 75 65 72 29 0a 50 | 6f 73 74 69 6e 67 2d 6e |bauer).P|osting-n|
|00000190| 75 6d 62 65 72 3a 20 56 | 6f 6c 75 6d 65 20 32 35 |umber: V|olume 25|
|000001a0| 2c 20 49 73 73 75 65 20 | 36 39 0a 41 72 63 68 69 |, Issue |69.Archi|
|000001b0| 76 65 2d 6e 61 6d 65 3a | 20 74 63 6c 2f 70 61 72 |ve-name:| tcl/par|
|000001c0| 74 30 31 0a 45 6e 76 69 | 72 6f 6e 6d 65 6e 74 3a |t01.Envi|ronment:|
|000001d0| 20 55 4e 49 58 0a 0a 54 | 68 69 73 20 69 73 20 61 | UNIX..T|his is a|
|000001e0| 20 70 6f 73 74 69 6e 67 | 20 6f 66 20 74 68 65 20 | posting| of the |
|000001f0| 73 6f 75 72 63 65 20 61 | 6e 64 20 64 6f 63 75 6d |source a|nd docum|
|00000200| 65 6e 74 61 74 69 6f 6e | 20 66 6f 72 20 54 63 6c |entation| for Tcl|
|00000210| 2c 20 61 6e 0a 65 6d 62 | 65 64 64 61 62 6c 65 20 |, an.emb|eddable |
|00000220| 74 6f 6f 6c 20 63 6f 6d | 6d 61 6e 64 20 6c 61 6e |tool com|mand lan|
|00000230| 67 75 61 67 65 2c 20 63 | 72 65 61 74 65 64 20 62 |guage, c|reated b|
|00000240| 79 20 4a 6f 68 6e 20 4f | 75 73 74 65 72 68 6f 75 |y John O|usterhou|
|00000250| 74 2e 0a 0a 54 68 69 73 | 20 77 61 73 20 70 6f 73 |t...This| was pos|
|00000260| 74 65 64 20 61 74 20 4a | 6f 68 6e 27 73 20 72 65 |ted at J|ohn's re|
|00000270| 71 75 65 73 74 20 62 79 | 20 4b 61 72 6c 20 4c 65 |quest by| Karl Le|
|00000280| 68 65 6e 62 61 75 65 72 | 20 28 6b 61 72 6c 40 4e |henbauer| (karl@N|
|00000290| 65 6f 53 6f 66 74 2e 63 | 6f 6d 29 2e 0a 0a 54 68 |eoSoft.c|om)...Th|
|000002a0| 69 73 20 69 73 20 72 65 | 6c 65 61 73 65 20 36 2e |is is re|lease 6.|
|000002b0| 31 2e 20 20 0a 0a 46 6f | 72 20 6d 6f 72 65 20 69 |1. ..Fo|r more i|
|000002c0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 2c 20 73 65 65 20 |nformati|on, see |
|000002d0| 74 68 65 20 66 69 6c 65 | 20 22 74 63 6c 36 2e 31 |the file| "tcl6.1|
|000002e0| 2f 52 45 41 44 4d 45 22 | 20 69 6e 20 74 68 69 73 |/README"| in this|
|000002f0| 20 72 65 6c 65 61 73 65 | 2e 0a 0a 54 68 65 20 66 | release|...The f|
|00000300| 69 6c 65 20 74 63 6c 56 | 61 72 2e 63 20 68 61 64 |ile tclV|ar.c had|
|00000310| 20 74 6f 20 62 65 20 73 | 70 6c 69 74 20 69 6e 74 | to be s|plit int|
|00000320| 6f 20 74 77 6f 20 66 69 | 6c 65 73 2c 20 74 63 6c |o two fi|les, tcl|
|00000330| 56 61 72 2e 63 2e 31 20 | 61 6e 64 20 74 63 6c 56 |Var.c.1 |and tclV|
|00000340| 61 72 2e 63 2e 32 2c 0a | 69 6e 20 6f 72 64 65 72 |ar.c.2,.|in order|
|00000350| 20 74 6f 20 6e 6f 74 20 | 65 78 63 65 65 64 20 74 | to not |exceed t|
|00000360| 68 65 20 6d 61 78 69 6d | 75 6d 20 73 69 7a 65 20 |he maxim|um size |
|00000370| 6f 66 20 61 20 55 73 65 | 6e 65 74 20 70 6f 73 74 |of a Use|net post|
|00000380| 69 6e 67 2e 20 20 53 69 | 6d 69 6c 61 72 6c 79 2c |ing. Si|milarly,|
|00000390| 0a 74 68 65 20 66 69 6c | 65 20 64 6f 63 2f 54 63 |.the fil|e doc/Tc|
|000003a0| 6c 2e 6d 61 6e 20 77 61 | 73 20 73 70 6c 69 74 20 |l.man wa|s split |
|000003b0| 69 6e 74 6f 20 74 68 72 | 65 65 20 66 69 6c 65 73 |into thr|ee files|
|000003c0| 2c 20 64 6f 63 2f 54 63 | 6c 2e 6d 61 6e 2e 31 2c |, doc/Tc|l.man.1,|
|000003d0| 20 64 6f 63 2f 54 63 6c | 2e 6d 61 6e 2e 32 0a 61 | doc/Tcl|.man.2.a|
|000003e0| 6e 64 20 64 6f 63 2f 54 | 63 6c 2e 6d 61 6e 2e 33 |nd doc/T|cl.man.3|
|000003f0| 2e 20 20 41 6c 74 68 6f | 75 67 68 20 74 68 65 73 |. Altho|ugh thes|
|00000400| 65 20 66 69 6c 65 73 20 | 73 68 6f 75 6c 64 20 62 |e files |should b|
|00000410| 65 20 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 20 |e automa|tically |
|00000420| 63 6f 6e 63 61 74 65 6e | 61 74 65 64 20 0a 77 68 |concaten|ated .wh|
|00000430| 65 6e 20 79 6f 75 20 75 | 6e 70 61 63 6b 20 74 68 |en you u|npack th|
|00000440| 65 20 6c 61 73 74 20 70 | 61 72 74 2c 20 69 66 20 |e last p|art, if |
|00000450| 74 68 65 79 20 61 72 65 | 20 6e 6f 74 20 66 6f 72 |they are| not for|
|00000460| 20 73 6f 6d 65 20 72 65 | 61 73 6f 6e 2c 20 79 6f | some re|ason, yo|
|00000470| 75 20 73 68 6f 75 6c 64 | 20 70 75 74 20 0a 74 68 |u should| put .th|
|00000480| 65 6d 20 74 6f 67 65 74 | 68 65 72 20 62 79 20 68 |em toget|her by h|
|00000490| 61 6e 64 2e 0a 0a 47 6f | 6f 64 20 6c 75 63 6b 2e |and...Go|od luck.|
|000004a0| 20 20 49 66 20 79 6f 75 | 20 68 61 76 65 20 61 6e | If you| have an|
|000004b0| 79 20 70 72 6f 62 6c 65 | 6d 73 20 77 69 74 68 20 |y proble|ms with |
|000004c0| 74 68 65 20 55 73 65 6e | 65 74 20 64 69 73 74 72 |the Usen|et distr|
|000004d0| 69 62 75 74 69 6f 6e 2c | 20 63 6f 6e 74 61 63 74 |ibution,| contact|
|000004e0| 0a 4b 61 72 6c 20 6f 72 | 20 4d 61 72 6b 20 44 69 |.Karl or| Mark Di|
|000004f0| 65 6b 68 61 6e 73 20 28 | 6d 61 72 6b 64 40 47 72 |ekhans (|markd@Gr|
|00000500| 69 7a 7a 6c 79 2e 63 6f | 6d 29 2e 20 20 46 6f 72 |izzly.co|m). For|
|00000510| 20 70 72 6f 62 6c 65 6d | 73 20 77 69 74 68 20 54 | problem|s with T|
|00000520| 63 6c 20 36 2e 31 20 69 | 74 73 65 6c 66 2c 0a 63 |cl 6.1 i|tself,.c|
|00000530| 6f 6e 74 61 63 74 20 4a | 6f 68 6e 20 4f 75 73 74 |ontact J|ohn Oust|
|00000540| 65 72 68 6f 75 74 20 28 | 6f 75 73 74 65 72 40 73 |erhout (|ouster@s|
|00000550| 70 72 69 74 65 2e 62 65 | 72 6b 65 6c 65 79 2e 65 |prite.be|rkeley.e|
|00000560| 64 75 29 2e 0a 0a 52 65 | 67 61 72 64 73 2c 0a 4b |du)...Re|gards,.K|
|00000570| 61 72 6c 20 4c 65 68 65 | 6e 62 61 75 65 72 20 28 |arl Lehe|nbauer (|
|00000580| 6b 61 72 6c 40 4e 65 6f | 53 6f 66 74 2e 63 6f 6d |karl@Neo|Soft.com|
|00000590| 29 0a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0a 23 21 |).------|-----.#!|
|000005a0| 20 2f 62 69 6e 2f 73 68 | 0a 23 20 54 68 69 73 20 | /bin/sh|.# This |
|000005b0| 69 73 20 61 20 73 68 65 | 6c 6c 20 61 72 63 68 69 |is a she|ll archi|
|000005c0| 76 65 2e 20 20 52 65 6d | 6f 76 65 20 61 6e 79 74 |ve. Rem|ove anyt|
|000005d0| 68 69 6e 67 20 62 65 66 | 6f 72 65 20 74 68 69 73 |hing bef|ore this|
|000005e0| 20 6c 69 6e 65 2c 20 74 | 68 65 6e 20 75 6e 70 61 | line, t|hen unpa|
|000005f0| 63 6b 0a 23 20 69 74 20 | 62 79 20 73 61 76 69 6e |ck.# it |by savin|
|00000600| 67 20 69 74 20 69 6e 74 | 6f 20 61 20 66 69 6c 65 |g it int|o a file|
|00000610| 20 61 6e 64 20 74 79 70 | 69 6e 67 20 22 73 68 20 | and typ|ing "sh |
|00000620| 66 69 6c 65 22 2e 20 20 | 54 6f 20 6f 76 65 72 77 |file". |To overw|
|00000630| 72 69 74 65 20 65 78 69 | 73 74 69 6e 67 0a 23 20 |rite exi|sting.# |
|00000640| 66 69 6c 65 73 2c 20 74 | 79 70 65 20 22 73 68 20 |files, t|ype "sh |
|00000650| 66 69 6c 65 20 2d 63 22 | 2e 20 20 59 6f 75 20 63 |file -c"|. You c|
|00000660| 61 6e 20 61 6c 73 6f 20 | 66 65 65 64 20 74 68 69 |an also |feed thi|
|00000670| 73 20 61 73 20 73 74 61 | 6e 64 61 72 64 20 69 6e |s as sta|ndard in|
|00000680| 70 75 74 20 76 69 61 0a | 23 20 75 6e 73 68 61 72 |put via.|# unshar|
|00000690| 2c 20 6f 72 20 62 79 20 | 74 79 70 69 6e 67 20 22 |, or by |typing "|
|000006a0| 73 68 20 3c 66 69 6c 65 | 22 2c 20 65 2e 67 2e 2e |sh <file|", e.g..|
|000006b0| 20 20 49 66 20 74 68 69 | 73 20 61 72 63 68 69 76 | If thi|s archiv|
|000006c0| 65 20 69 73 20 63 6f 6d | 70 6c 65 74 65 2c 20 79 |e is com|plete, y|
|000006d0| 6f 75 0a 23 20 77 69 6c | 6c 20 73 65 65 20 74 68 |ou.# wil|l see th|
|000006e0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6d 65 73 73 |e follow|ing mess|
|000006f0| 61 67 65 20 61 74 20 74 | 68 65 20 65 6e 64 3a 0a |age at t|he end:.|
|00000700| 23 09 09 22 45 6e 64 20 | 6f 66 20 61 72 63 68 69 |#.."End |of archi|
|00000710| 76 65 20 31 20 28 6f 66 | 20 33 33 29 2e 22 0a 23 |ve 1 (of| 33).".#|
|00000720| 20 43 6f 6e 74 65 6e 74 | 73 3a 20 20 52 45 41 44 | Content|s: READ|
|00000730| 4d 45 20 74 63 6c 36 2e | 31 20 74 63 6c 36 2e 31 |ME tcl6.|1 tcl6.1|
|00000740| 2f 4d 41 4e 49 46 45 53 | 54 20 74 63 6c 36 2e 31 |/MANIFES|T tcl6.1|
|00000750| 2f 4d 61 6b 65 66 69 6c | 65 0a 23 20 20 20 74 63 |/Makefil|e.# tc|
|00000760| 6c 36 2e 31 2f 63 6f 6d | 70 61 74 20 74 63 6c 36 |l6.1/com|pat tcl6|
|00000770| 2e 31 2f 63 6f 6d 70 61 | 74 2f 52 45 41 44 4d 45 |.1/compa|t/README|
|00000780| 20 74 63 6c 36 2e 31 2f | 63 6f 6d 70 61 74 2f 64 | tcl6.1/|compat/d|
|00000790| 69 72 65 6e 74 2e 68 0a | 23 20 20 20 74 63 6c 36 |irent.h.|# tcl6|
|000007a0| 2e 31 2f 63 6f 6d 70 61 | 74 2f 64 69 72 65 6e 74 |.1/compa|t/dirent|
|000007b0| 32 2e 68 20 74 63 6c 36 | 2e 31 2f 63 6f 6d 70 61 |2.h tcl6|.1/compa|
|000007c0| 74 2f 6c 69 6d 69 74 73 | 2e 68 0a 23 20 20 20 74 |t/limits|.h.# t|
|000007d0| 63 6c 36 2e 31 2f 63 6f | 6d 70 61 74 2f 6f 70 65 |cl6.1/co|mpat/ope|
|000007e0| 6e 64 69 72 2e 63 20 74 | 63 6c 36 2e 31 2f 63 6f |ndir.c t|cl6.1/co|
|000007f0| 6d 70 61 74 2f 73 74 64 | 6c 69 62 2e 68 0a 23 20 |mpat/std|lib.h.# |
|00000800| 20 20 74 63 6c 36 2e 31 | 2f 63 6f 6d 70 61 74 2f | tcl6.1|/compat/|
|00000810| 73 74 72 69 6e 67 2e 68 | 20 74 63 6c 36 2e 31 2f |string.h| tcl6.1/|
|00000820| 63 6f 6d 70 61 74 2f 73 | 74 72 73 74 72 2e 63 0a |compat/s|trstr.c.|
|00000830| 23 20 20 20 74 63 6c 36 | 2e 31 2f 63 6f 6d 70 61 |# tcl6|.1/compa|
|00000840| 74 2f 74 65 73 74 70 69 | 64 2e 63 20 74 63 6c 36 |t/testpi|d.c tcl6|
|00000850| 2e 31 2f 63 6f 6d 70 61 | 74 2f 74 65 73 74 77 61 |.1/compa|t/testwa|
|00000860| 69 74 2e 63 20 74 63 6c | 36 2e 31 2f 64 6f 63 0a |it.c tcl|6.1/doc.|
|00000870| 23 20 20 20 74 63 6c 36 | 2e 31 2f 6c 69 62 72 61 |# tcl6|.1/libra|
|00000880| 72 79 20 74 63 6c 36 2e | 31 2f 6c 69 62 72 61 72 |ry tcl6.|1/librar|
|00000890| 79 2f 6d 6b 69 6e 64 65 | 78 2e 74 63 6c 0a 23 20 |y/mkinde|x.tcl.# |
|000008a0| 20 20 74 63 6c 36 2e 31 | 2f 6c 69 62 72 61 72 79 | tcl6.1|/library|
|000008b0| 2f 70 61 72 72 61 79 2e | 74 63 6c 20 74 63 6c 36 |/parray.|tcl tcl6|
|000008c0| 2e 31 2f 6c 69 62 72 61 | 72 79 2f 74 63 6c 49 6e |.1/libra|ry/tclIn|
|000008d0| 64 65 78 20 74 63 6c 36 | 2e 31 2f 70 61 6e 69 63 |dex tcl6|.1/panic|
|000008e0| 2e 63 0a 23 20 20 20 74 | 63 6c 36 2e 31 2f 72 65 |.c.# t|cl6.1/re|
|000008f0| 67 65 78 70 2e 68 20 74 | 63 6c 36 2e 31 2f 74 65 |gexp.h t|cl6.1/te|
|00000900| 73 74 73 20 74 63 6c 36 | 2e 31 2f 74 65 73 74 73 |sts tcl6|.1/tests|
|00000910| 2f 61 6c 6c 0a 23 20 20 | 20 74 63 6c 36 2e 31 2f |/all.# | tcl6.1/|
|00000920| 74 65 73 74 73 2f 63 6f | 6e 63 61 74 2e 74 65 73 |tests/co|ncat.tes|
|00000930| 74 20 74 63 6c 36 2e 31 | 2f 74 65 73 74 73 2f 64 |t tcl6.1|/tests/d|
|00000940| 65 66 73 20 74 63 6c 36 | 2e 31 2f 74 65 73 74 73 |efs tcl6|.1/tests|
|00000950| 2f 65 76 61 6c 2e 74 65 | 73 74 0a 23 20 20 20 74 |/eval.te|st.# t|
|00000960| 63 6c 36 2e 31 2f 74 65 | 73 74 73 2f 6a 6f 69 6e |cl6.1/te|sts/join|
|00000970| 2e 74 65 73 74 20 74 63 | 6c 36 2e 31 2f 74 65 73 |.test tc|l6.1/tes|
|00000980| 74 73 2f 6c 6c 65 6e 67 | 74 68 2e 74 65 73 74 0a |ts/lleng|th.test.|
|00000990| 23 20 20 20 74 63 6c 36 | 2e 31 2f 74 65 73 74 73 |# tcl6|.1/tests|
|000009a0| 2f 6c 73 65 61 72 63 68 | 2e 74 65 73 74 20 74 63 |/lsearch|.test tc|
|000009b0| 6c 36 2e 31 2f 74 65 73 | 74 73 2f 6c 73 6f 72 74 |l6.1/tes|ts/lsort|
|000009c0| 2e 74 65 73 74 0a 23 20 | 20 20 74 63 6c 36 2e 31 |.test.# | tcl6.1|
|000009d0| 2f 74 65 73 74 73 2f 73 | 70 6c 69 74 2e 74 65 73 |/tests/s|plit.tes|
|000009e0| 74 20 74 63 6c 36 2e 31 | 2f 74 65 73 74 73 2f 75 |t tcl6.1|/tests/u|
|000009f0| 6e 6b 6e 6f 77 6e 2e 74 | 65 73 74 0a 23 20 57 72 |nknown.t|est.# Wr|
|00000a00| 61 70 70 65 64 20 62 79 | 20 6b 61 72 6c 40 6f 6e |apped by| karl@on|
|00000a10| 65 20 6f 6e 20 54 75 65 | 20 4e 6f 76 20 31 32 20 |e on Tue| Nov 12 |
|00000a20| 31 39 3a 34 34 3a 31 30 | 20 31 39 39 31 0a 50 41 |19:44:10| 1991.PA|
|00000a30| 54 48 3d 2f 62 69 6e 3a | 2f 75 73 72 2f 62 69 6e |TH=/bin:|/usr/bin|
|00000a40| 3a 2f 75 73 72 2f 75 63 | 62 20 3b 20 65 78 70 6f |:/usr/uc|b ; expo|
|00000a50| 72 74 20 50 41 54 48 0a | 69 66 20 74 65 73 74 20 |rt PATH.|if test |
|00000a60| 2d 66 20 27 52 45 41 44 | 4d 45 27 20 2d 61 20 22 |-f 'READ|ME' -a "|
|00000a70| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|00000a80| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|00000a90| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|00000aa0| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|00000ab0| 65 20 5c 22 27 52 45 41 | 44 4d 45 27 5c 22 0a 65 |e \"'REA|DME'\".e|
|00000ac0| 6c 73 65 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |lse.echo| shar: E|
|00000ad0| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 52 45 41 |xtractin|g \"'REA|
|00000ae0| 44 4d 45 27 5c 22 20 5c | 28 39 35 35 20 63 68 61 |DME'\" \|(955 cha|
|00000af0| 72 61 63 74 65 72 73 5c | 29 0a 73 65 64 20 22 73 |racters\|).sed "s|
|00000b00| 2f 5e 58 2f 2f 22 20 3e | 27 52 45 41 44 4d 45 27 |/^X//" >|'README'|
|00000b10| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|00000b20| 0a 58 0a 58 54 68 69 73 | 20 69 73 20 61 20 70 6f |.X.XThis| is a po|
|00000b30| 73 74 69 6e 67 20 6f 66 | 20 74 68 65 20 73 6f 75 |sting of| the sou|
|00000b40| 72 63 65 20 61 6e 64 20 | 64 6f 63 75 6d 65 6e 74 |rce and |document|
|00000b50| 61 74 69 6f 6e 20 66 6f | 72 20 54 63 6c 2c 20 61 |ation fo|r Tcl, a|
|00000b60| 6e 0a 58 65 6d 62 65 64 | 64 61 62 6c 65 20 74 6f |n.Xembed|dable to|
|00000b70| 6f 6c 20 63 6f 6d 6d 61 | 6e 64 20 6c 61 6e 67 75 |ol comma|nd langu|
|00000b80| 61 67 65 2c 20 63 72 65 | 61 74 65 64 20 62 79 20 |age, cre|ated by |
|00000b90| 4a 6f 68 6e 20 4f 75 73 | 74 65 72 68 6f 75 74 2e |John Ous|terhout.|
|00000ba0| 0a 58 0a 58 54 68 69 73 | 20 69 73 20 72 65 6c 65 |.X.XThis| is rele|
|00000bb0| 61 73 65 20 36 2e 31 2e | 0a 58 0a 58 46 6f 72 20 |ase 6.1.|.X.XFor |
|00000bc0| 6d 6f 72 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |more inf|ormation|
|00000bd0| 2c 20 73 65 65 20 74 68 | 65 20 66 69 6c 65 20 22 |, see th|e file "|
|00000be0| 74 63 6c 36 2e 31 2f 52 | 45 41 44 4d 45 22 20 69 |tcl6.1/R|EADME" i|
|00000bf0| 6e 20 74 68 69 73 20 72 | 65 6c 65 61 73 65 2e 0a |n this r|elease..|
|00000c00| 58 0a 58 54 68 69 73 20 | 77 61 73 20 70 6f 73 74 |X.XThis |was post|
|00000c10| 65 64 20 61 74 20 4a 6f | 68 6e 27 73 20 72 65 71 |ed at Jo|hn's req|
|00000c20| 75 65 73 74 20 62 79 20 | 4b 61 72 6c 20 4c 65 68 |uest by |Karl Leh|
|00000c30| 65 6e 62 61 75 65 72 20 | 28 6b 61 72 6c 40 4e 65 |enbauer |(karl@Ne|
|00000c40| 6f 53 6f 66 74 2e 63 6f | 6d 29 2e 0a 58 0a 58 54 |oSoft.co|m)..X.XT|
|00000c50| 68 65 20 66 69 6c 65 20 | 74 63 6c 56 61 72 2e 63 |he file |tclVar.c|
|00000c60| 20 68 61 64 20 74 6f 20 | 62 65 20 73 70 6c 69 74 | had to |be split|
|00000c70| 20 69 6e 74 6f 20 74 77 | 6f 20 66 69 6c 65 73 2c | into tw|o files,|
|00000c80| 20 74 63 6c 56 61 72 2e | 63 2e 31 20 61 6e 64 20 | tclVar.|c.1 and |
|00000c90| 74 63 6c 56 61 72 2e 63 | 2e 32 2c 0a 58 69 6e 20 |tclVar.c|.2,.Xin |
|00000ca0| 6f 72 64 65 72 20 74 6f | 20 6e 6f 74 20 65 78 63 |order to| not exc|
|00000cb0| 65 65 64 20 74 68 65 20 | 6d 61 78 69 6d 75 6d 20 |eed the |maximum |
|00000cc0| 73 69 7a 65 20 6f 66 20 | 61 20 55 73 65 6e 65 74 |size of |a Usenet|
|00000cd0| 20 70 6f 73 74 69 6e 67 | 2e 20 20 53 69 6d 69 6c | posting|. Simil|
|00000ce0| 61 72 6c 79 2c 0a 58 74 | 68 65 20 66 69 6c 65 20 |arly,.Xt|he file |
|00000cf0| 64 6f 63 2f 54 63 6c 2e | 6d 61 6e 20 77 61 73 20 |doc/Tcl.|man was |
|00000d00| 73 70 6c 69 74 20 69 6e | 74 6f 20 74 68 72 65 65 |split in|to three|
|00000d10| 20 66 69 6c 65 73 2c 20 | 64 6f 63 2f 54 63 6c 2e | files, |doc/Tcl.|
|00000d20| 6d 61 6e 2e 31 2c 20 64 | 6f 63 2f 54 63 6c 2e 6d |man.1, d|oc/Tcl.m|
|00000d30| 61 6e 2e 32 0a 58 61 6e | 64 20 64 6f 63 2f 54 63 |an.2.Xan|d doc/Tc|
|00000d40| 6c 2e 6d 61 6e 2e 33 2e | 20 20 41 6c 74 68 6f 75 |l.man.3.| Althou|
|00000d50| 67 68 20 74 68 65 73 65 | 20 66 69 6c 65 73 20 73 |gh these| files s|
|00000d60| 68 6f 75 6c 64 20 62 65 | 20 61 75 74 6f 6d 61 74 |hould be| automat|
|00000d70| 69 63 61 6c 6c 79 20 63 | 6f 6e 63 61 74 65 6e 61 |ically c|oncatena|
|00000d80| 74 65 64 20 0a 58 77 68 | 65 6e 20 79 6f 75 20 75 |ted .Xwh|en you u|
|00000d90| 6e 70 61 63 6b 20 74 68 | 65 20 6c 61 73 74 20 70 |npack th|e last p|
|00000da0| 61 72 74 2c 20 69 66 20 | 74 68 65 79 20 61 72 65 |art, if |they are|
|00000db0| 20 6e 6f 74 20 66 6f 72 | 20 73 6f 6d 65 20 72 65 | not for| some re|
|00000dc0| 61 73 6f 6e 2c 20 79 6f | 75 20 73 68 6f 75 6c 64 |ason, yo|u should|
|00000dd0| 20 70 75 74 20 0a 58 74 | 68 65 6d 20 74 6f 67 65 | put .Xt|hem toge|
|00000de0| 74 68 65 72 20 62 79 20 | 68 61 6e 64 2e 0a 58 0a |ther by |hand..X.|
|00000df0| 58 47 6f 6f 64 20 6c 75 | 63 6b 2e 20 20 49 66 20 |XGood lu|ck. If |
|00000e00| 79 6f 75 20 68 61 76 65 | 20 61 6e 79 20 70 72 6f |you have| any pro|
|00000e10| 62 6c 65 6d 73 20 77 69 | 74 68 20 74 68 65 20 55 |blems wi|th the U|
|00000e20| 73 65 6e 65 74 20 64 69 | 73 74 72 69 62 75 74 69 |senet di|stributi|
|00000e30| 6f 6e 2c 20 63 6f 6e 74 | 61 63 74 0a 58 4b 61 72 |on, cont|act.XKar|
|00000e40| 6c 20 6f 72 20 4d 61 72 | 6b 20 44 69 65 6b 68 61 |l or Mar|k Diekha|
|00000e50| 6e 73 20 28 6d 61 72 6b | 64 40 47 72 69 7a 7a 6c |ns (mark|d@Grizzl|
|00000e60| 79 2e 63 6f 6d 29 2e 20 | 20 46 6f 72 20 70 72 6f |y.com). | For pro|
|00000e70| 62 6c 65 6d 73 20 77 69 | 74 68 20 54 63 6c 20 36 |blems wi|th Tcl 6|
|00000e80| 2e 31 20 69 74 73 65 6c | 66 2c 0a 58 63 6f 6e 74 |.1 itsel|f,.Xcont|
|00000e90| 61 63 74 20 4a 6f 68 6e | 20 4f 75 73 74 65 72 68 |act John| Ousterh|
|00000ea0| 6f 75 74 20 28 6f 75 73 | 74 65 72 40 73 70 72 69 |out (ous|ter@spri|
|00000eb0| 74 65 2e 62 65 72 6b 65 | 6c 65 79 2e 65 64 75 29 |te.berke|ley.edu)|
|00000ec0| 2e 0a 58 0a 58 52 65 67 | 61 72 64 73 2c 0a 58 4b |..X.XReg|ards,.XK|
|00000ed0| 61 72 6c 20 4c 65 68 65 | 6e 62 61 75 65 72 20 28 |arl Lehe|nbauer (|
|00000ee0| 6b 61 72 6c 40 4e 65 6f | 53 6f 66 74 2e 63 6f 6d |karl@Neo|Soft.com|
|00000ef0| 29 0a 58 0a 45 4e 44 5f | 4f 46 5f 46 49 4c 45 0a |).X.END_|OF_FILE.|
|00000f00| 69 66 20 74 65 73 74 20 | 39 35 35 20 2d 6e 65 20 |if test |955 -ne |
|00000f10| 60 77 63 20 2d 63 20 3c | 27 52 45 41 44 4d 45 27 |`wc -c <|'README'|
|00000f20| 60 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |`; then.| echo|
|00000f30| 20 73 68 61 72 3a 20 5c | 22 27 52 45 41 44 4d 45 | shar: \|"'README|
|00000f40| 27 5c 22 20 75 6e 70 61 | 63 6b 65 64 20 77 69 74 |'\" unpa|cked wit|
|00000f50| 68 20 77 72 6f 6e 67 20 | 73 69 7a 65 21 0a 66 69 |h wrong |size!.fi|
|00000f60| 0a 23 20 65 6e 64 20 6f | 66 20 27 52 45 41 44 4d |.# end o|f 'READM|
|00000f70| 45 27 0a 66 69 0a 69 66 | 20 74 65 73 74 20 21 20 |E'.fi.if| test ! |
|00000f80| 2d 64 20 27 74 63 6c 36 | 2e 31 27 20 3b 20 74 68 |-d 'tcl6|.1' ; th|
|00000f90| 65 6e 0a 20 20 20 20 65 | 63 68 6f 20 73 68 61 72 |en. e|cho shar|
|00000fa0| 3a 20 43 72 65 61 74 69 | 6e 67 20 64 69 72 65 63 |: Creati|ng direc|
|00000fb0| 74 6f 72 79 20 5c 22 27 | 74 63 6c 36 2e 31 27 5c |tory \"'|tcl6.1'\|
|00000fc0| 22 0a 20 20 20 20 6d 6b | 64 69 72 20 27 74 63 6c |". mk|dir 'tcl|
|00000fd0| 36 2e 31 27 0a 66 69 0a | 69 66 20 74 65 73 74 20 |6.1'.fi.|if test |
|00000fe0| 2d 66 20 27 74 63 6c 36 | 2e 31 2f 4d 41 4e 49 46 |-f 'tcl6|.1/MANIF|
|00000ff0| 45 53 54 27 20 2d 61 20 | 22 24 7b 31 7d 22 20 21 |EST' -a |"${1}" !|
|00001000| 3d 20 22 2d 63 22 20 3b | 20 74 68 65 6e 20 0a 20 |= "-c" ;| then . |
|00001010| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 57 69 6c 6c | echo sh|ar: Will|
|00001020| 20 6e 6f 74 20 63 6c 6f | 62 62 65 72 20 65 78 69 | not clo|bber exi|
|00001030| 73 74 69 6e 67 20 66 69 | 6c 65 20 5c 22 27 74 63 |sting fi|le \"'tc|
|00001040| 6c 36 2e 31 2f 4d 41 4e | 49 46 45 53 54 27 5c 22 |l6.1/MAN|IFEST'\"|
|00001050| 0a 65 6c 73 65 0a 65 63 | 68 6f 20 73 68 61 72 3a |.else.ec|ho shar:|
|00001060| 20 45 78 74 72 61 63 74 | 69 6e 67 20 5c 22 27 74 | Extract|ing \"'t|
|00001070| 63 6c 36 2e 31 2f 4d 41 | 4e 49 46 45 53 54 27 5c |cl6.1/MA|NIFEST'\|
|00001080| 22 20 5c 28 34 30 32 32 | 20 63 68 61 72 61 63 74 |" \(4022| charact|
|00001090| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|000010a0| 2f 22 20 3e 27 74 63 6c | 36 2e 31 2f 4d 41 4e 49 |/" >'tcl|6.1/MANI|
|000010b0| 46 45 53 54 27 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |FEST' <<|'END_OF_|
|000010c0| 46 49 4c 45 27 0a 58 20 | 20 20 46 69 6c 65 20 4e |FILE'.X | File N|
|000010d0| 61 6d 65 09 09 41 72 63 | 68 69 76 65 20 23 09 44 |ame..Arc|hive #.D|
|000010e0| 65 73 63 72 69 70 74 69 | 6f 6e 0a 58 2d 2d 2d 2d |escripti|on.X----|
|000010f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001100| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001110| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001120| 2d 2d 2d 2d 2d 2d 2d 0a | 58 20 52 45 41 44 4d 45 |-------.|X README|
|00001130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001140| 20 20 20 20 20 31 09 0a | 58 20 74 63 6c 36 2e 31 | 1..|X tcl6.1|
|00001150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001160| 20 20 20 20 20 31 09 0a | 58 20 74 63 6c 36 2e 31 | 1..|X tcl6.1|
|00001170| 2f 4d 41 4e 49 46 45 53 | 54 20 20 20 20 20 20 20 |/MANIFES|T |
|00001180| 20 20 20 20 20 31 09 54 | 68 69 73 20 73 68 69 70 | 1.T|his ship|
|00001190| 70 69 6e 67 20 6c 69 73 | 74 0a 58 20 74 63 6c 36 |ping lis|t.X tcl6|
|000011a0| 2e 31 2f 4d 61 6b 65 66 | 69 6c 65 20 20 20 20 20 |.1/Makef|ile |
|000011b0| 20 20 20 20 20 20 20 31 | 09 0a 58 20 74 63 6c 36 | 1|..X tcl6|
|000011c0| 2e 31 2f 52 45 41 44 4d | 45 20 20 20 20 20 20 20 |.1/READM|E |
|000011d0| 20 20 20 20 20 20 20 38 | 09 0a 58 20 74 63 6c 36 | 8|..X tcl6|
|000011e0| 2e 31 2f 63 68 61 6e 67 | 65 73 20 20 20 20 20 20 |.1/chang|es |
|000011f0| 20 20 20 20 20 20 31 31 | 09 0a 58 20 74 63 6c 36 | 11|..X tcl6|
|00001200| 2e 31 2f 63 6f 6d 70 61 | 74 20 20 20 20 20 20 20 |.1/compa|t |
|00001210| 20 20 20 20 20 20 20 31 | 09 0a 58 20 74 63 6c 36 | 1|..X tcl6|
|00001220| 2e 31 2f 63 6f 6d 70 61 | 74 2f 52 45 41 44 4d 45 |.1/compa|t/README|
|00001230| 20 20 20 20 20 20 20 31 | 09 0a 58 20 74 63 6c 36 | 1|..X tcl6|
|00001240| 2e 31 2f 63 6f 6d 70 61 | 74 2f 64 69 72 65 6e 74 |.1/compa|t/dirent|
|00001250| 2e 68 20 20 20 20 20 31 | 09 0a 58 20 74 63 6c 36 |.h 1|..X tcl6|
|00001260| 2e 31 2f 63 6f 6d 70 61 | 74 2f 64 69 72 65 6e 74 |.1/compa|t/dirent|
|00001270| 32 2e 68 20 20 20 20 31 | 09 0a 58 20 74 63 6c 36 |2.h 1|..X tcl6|
|00001280| 2e 31 2f 63 6f 6d 70 61 | 74 2f 6c 69 6d 69 74 73 |.1/compa|t/limits|
|00001290| 2e 68 20 20 20 20 20 31 | 09 0a 58 20 74 63 6c 36 |.h 1|..X tcl6|
|000012a0| 2e 31 2f 63 6f 6d 70 61 | 74 2f 6f 70 65 6e 64 69 |.1/compa|t/opendi|
|000012b0| 72 2e 63 20 20 20 20 31 | 09 0a 58 20 74 63 6c 36 |r.c 1|..X tcl6|
|000012c0| 2e 31 2f 63 6f 6d 70 61 | 74 2f 73 74 64 6c 69 62 |.1/compa|t/stdlib|
|000012d0| 2e 68 20 20 20 20 20 31 | 09 0a 58 20 74 63 6c 36 |.h 1|..X tcl6|
|000012e0| 2e 31 2f 63 6f 6d 70 61 | 74 2f 73 74 72 65 72 72 |.1/compa|t/strerr|
|000012f0| 6f 72 2e 63 20 20 31 30 | 09 0a 58 20 74 63 6c 36 |or.c 10|..X tcl6|
|00001300| 2e 31 2f 63 6f 6d 70 61 | 74 2f 73 74 72 69 6e 67 |.1/compa|t/string|
|00001310| 2e 68 20 20 20 20 20 31 | 09 0a 58 20 74 63 6c 36 |.h 1|..X tcl6|
|00001320| 2e 31 2f 63 6f 6d 70 61 | 74 2f 73 74 72 73 74 72 |.1/compa|t/strstr|
|00001330| 2e 63 20 20 20 20 20 31 | 09 0a 58 20 74 63 6c 36 |.c 1|..X tcl6|
|00001340| 2e 31 2f 63 6f 6d 70 61 | 74 2f 73 74 72 74 6f 6c |.1/compa|t/strtol|
|00001350| 2e 63 20 20 20 20 20 32 | 09 0a 58 20 74 63 6c 36 |.c 2|..X tcl6|
|00001360| 2e 31 2f 63 6f 6d 70 61 | 74 2f 73 74 72 74 6f 75 |.1/compa|t/strtou|
|00001370| 6c 2e 63 20 20 20 20 33 | 09 0a 58 20 74 63 6c 36 |l.c 3|..X tcl6|
|00001380| 2e 31 2f 63 6f 6d 70 61 | 74 2f 74 65 73 74 70 69 |.1/compa|t/testpi|
|00001390| 64 2e 63 20 20 20 20 31 | 09 0a 58 20 74 63 6c 36 |d.c 1|..X tcl6|
|000013a0| 2e 31 2f 63 6f 6d 70 61 | 74 2f 74 65 73 74 77 61 |.1/compa|t/testwa|
|000013b0| 69 74 2e 63 20 20 20 31 | 09 0a 58 20 74 63 6c 36 |it.c 1|..X tcl6|
|000013c0| 2e 31 2f 63 6f 6e 66 69 | 67 20 20 20 20 20 20 20 |.1/confi|g |
|000013d0| 20 20 20 20 20 20 20 37 | 09 0a 58 20 74 63 6c 36 | 7|..X tcl6|
|000013e0| 2e 31 2f 64 6f 63 20 20 | 20 20 20 20 20 20 20 20 |.1/doc | |
|000013f0| 20 20 20 20 20 20 20 31 | 09 0a 58 20 74 63 6c 36 | 1|..X tcl6|
|00001400| 2e 31 2f 64 6f 63 2f 41 | 64 64 45 72 72 49 6e 66 |.1/doc/A|ddErrInf|
|00001410| 6f 2e 6d 61 6e 20 20 36 | 09 0a 58 20 74 63 6c 36 |o.man 6|..X tcl6|
|00001420| 2e 31 2f 64 6f 63 2f 41 | 73 73 65 6d 62 43 6d 64 |.1/doc/A|ssembCmd|
|00001430| 2e 6d 61 6e 20 20 20 35 | 09 0a 58 20 74 63 6c 36 |.man 5|..X tcl6|
|00001440| 2e 31 2f 64 6f 63 2f 42 | 61 63 6b 73 6c 61 73 68 |.1/doc/B|ackslash|
|00001450| 2e 6d 61 6e 20 20 20 34 | 09 0a 58 20 74 63 6c 36 |.man 4|..X tcl6|
|00001460| 2e 31 2f 64 6f 63 2f 43 | 6f 6e 63 61 74 2e 6d 61 |.1/doc/C|oncat.ma|
|00001470| 6e 20 20 20 20 20 20 34 | 09 0a 58 20 74 63 6c 36 |n 4|..X tcl6|
|00001480| 2e 31 2f 64 6f 63 2f 43 | 72 74 43 6f 6d 6d 61 6e |.1/doc/C|rtComman|
|00001490| 64 2e 6d 61 6e 20 20 36 | 09 0a 58 20 74 63 6c 36 |d.man 6|..X tcl6|
|000014a0| 2e 31 2f 64 6f 63 2f 43 | 72 74 49 6e 74 65 72 70 |.1/doc/C|rtInterp|
|000014b0| 2e 6d 61 6e 20 20 20 34 | 09 0a 58 20 74 63 6c 36 |.man 4|..X tcl6|
|000014c0| 2e 31 2f 64 6f 63 2f 43 | 72 74 50 69 70 65 6c 69 |.1/doc/C|rtPipeli|
|000014d0| 6e 2e 6d 61 6e 20 20 35 | 09 0a 58 20 74 63 6c 36 |n.man 5|..X tcl6|
|000014e0| 2e 31 2f 64 6f 63 2f 43 | 72 74 54 72 61 63 65 2e |.1/doc/C|rtTrace.|
|000014f0| 6d 61 6e 20 20 20 20 36 | 09 0a 58 20 74 63 6c 36 |man 6|..X tcl6|
|00001500| 2e 31 2f 64 6f 63 2f 45 | 76 61 6c 2e 6d 61 6e 20 |.1/doc/E|val.man |
|00001510| 20 20 20 20 20 20 20 35 | 09 0a 58 20 74 63 6c 36 | 5|..X tcl6|
|00001520| 2e 31 2f 64 6f 63 2f 45 | 78 70 72 4c 6f 6e 67 2e |.1/doc/E|xprLong.|
|00001530| 6d 61 6e 20 20 20 20 35 | 09 0a 58 20 74 63 6c 36 |man 5|..X tcl6|
|00001540| 2e 31 2f 64 6f 63 2f 46 | 6f 72 6b 2e 6d 61 6e 20 |.1/doc/F|ork.man |
|00001550| 20 20 20 20 20 20 20 36 | 09 0a 58 20 74 63 6c 36 | 6|..X tcl6|
|00001560| 2e 31 2f 64 6f 63 2f 47 | 65 74 49 6e 74 2e 6d 61 |.1/doc/G|etInt.ma|
|00001570| 6e 20 20 20 20 20 20 35 | 09 0a 58 20 74 63 6c 36 |n 5|..X tcl6|
|00001580| 2e 31 2f 64 6f 63 2f 48 | 61 73 68 2e 6d 61 6e 20 |.1/doc/H|ash.man |
|00001590| 20 20 20 20 20 20 31 30 | 09 0a 58 20 74 63 6c 36 | 10|..X tcl6|
|000015a0| 2e 31 2f 64 6f 63 2f 48 | 69 73 74 6f 72 79 2e 6d |.1/doc/H|istory.m|
|000015b0| 61 6e 20 20 20 20 20 34 | 09 0a 58 20 74 63 6c 36 |an 4|..X tcl6|
|000015c0| 2e 31 2f 64 6f 63 2f 49 | 6e 74 65 72 70 2e 6d 61 |.1/doc/I|nterp.ma|
|000015d0| 6e 20 20 20 20 20 20 37 | 09 0a 58 20 74 63 6c 36 |n 7|..X tcl6|
|000015e0| 2e 31 2f 64 6f 63 2f 53 | 65 74 52 65 73 75 6c 74 |.1/doc/S|etResult|
|000015f0| 2e 6d 61 6e 20 20 20 38 | 09 0a 58 20 74 63 6c 36 |.man 8|..X tcl6|
|00001600| 2e 31 2f 64 6f 63 2f 53 | 65 74 56 61 72 2e 6d 61 |.1/doc/S|etVar.ma|
|00001610| 6e 20 20 20 20 20 20 38 | 09 0a 58 20 74 63 6c 36 |n 8|..X tcl6|
|00001620| 2e 31 2f 64 6f 63 2f 53 | 70 6c 69 74 4c 69 73 74 |.1/doc/S|plitList|
|00001630| 2e 6d 61 6e 20 20 20 36 | 09 0a 58 20 74 63 6c 36 |.man 6|..X tcl6|
|00001640| 2e 31 2f 64 6f 63 2f 53 | 74 72 4d 61 74 63 68 2e |.1/doc/S|trMatch.|
|00001650| 6d 61 6e 20 20 20 20 33 | 09 0a 58 20 74 63 6c 36 |man 3|..X tcl6|
|00001660| 2e 31 2f 64 6f 63 2f 54 | 63 6c 2e 6d 61 6e 2e 31 |.1/doc/T|cl.man.1|
|00001670| 20 20 20 20 20 20 32 37 | 09 0a 58 20 74 63 6c 36 | 27|..X tcl6|
|00001680| 2e 31 2f 64 6f 63 2f 54 | 63 6c 2e 6d 61 6e 2e 32 |.1/doc/T|cl.man.2|
|00001690| 20 20 20 20 20 20 33 33 | 09 0a 58 20 74 63 6c 36 | 33|..X tcl6|
|000016a0| 2e 31 2f 64 6f 63 2f 54 | 63 6c 2e 6d 61 6e 2e 33 |.1/doc/T|cl.man.3|
|000016b0| 20 20 20 20 20 20 33 32 | 09 0a 58 20 74 63 6c 36 | 32|..X tcl6|
|000016c0| 2e 31 2f 64 6f 63 2f 54 | 69 6c 64 65 53 75 62 73 |.1/doc/T|ildeSubs|
|000016d0| 74 2e 6d 61 6e 20 20 34 | 09 0a 58 20 74 63 6c 36 |t.man 4|..X tcl6|
|000016e0| 2e 31 2f 64 6f 63 2f 54 | 72 61 63 65 56 61 72 2e |.1/doc/T|raceVar.|
|000016f0| 6d 61 6e 20 20 20 31 34 | 09 0a 58 20 74 63 6c 36 |man 14|..X tcl6|
|00001700| 2e 31 2f 64 6f 63 2f 6c | 69 62 72 61 72 79 2e 6d |.1/doc/l|ibrary.m|
|00001710| 61 6e 20 20 20 20 20 39 | 09 0a 58 20 74 63 6c 36 |an 9|..X tcl6|
|00001720| 2e 31 2f 64 6f 63 2f 75 | 73 65 6e 69 78 2e 74 65 |.1/doc/u|senix.te|
|00001730| 78 74 20 20 20 20 33 31 | 09 0a 58 20 74 63 6c 36 |xt 31|..X tcl6|
|00001740| 2e 31 2f 6c 69 62 72 61 | 72 79 20 20 20 20 20 20 |.1/libra|ry |
|00001750| 20 20 20 20 20 20 20 31 | 09 0a 58 20 74 63 6c 36 | 1|..X tcl6|
|00001760| 2e 31 2f 6c 69 62 72 61 | 72 79 2f 69 6e 69 74 2e |.1/libra|ry/init.|
|00001770| 74 63 6c 20 20 20 20 33 | 09 0a 58 20 74 63 6c 36 |tcl 3|..X tcl6|
|00001780| 2e 31 2f 6c 69 62 72 61 | 72 79 2f 6d 6b 69 6e 64 |.1/libra|ry/mkind|
|00001790| 65 78 2e 74 63 6c 20 20 | 31 09 0a 58 20 74 63 6c |ex.tcl |1..X tcl|
|000017a0| 36 2e 31 2f 6c 69 62 72 | 61 72 79 2f 70 61 72 72 |6.1/libr|ary/parr|
|000017b0| 61 79 2e 74 63 6c 20 20 | 31 09 0a 58 20 74 63 6c |ay.tcl |1..X tcl|
|000017c0| 36 2e 31 2f 6c 69 62 72 | 61 72 79 2f 74 63 6c 49 |6.1/libr|ary/tclI|
|000017d0| 6e 64 65 78 20 20 20 20 | 31 09 0a 58 20 74 63 6c |ndex |1..X tcl|
|000017e0| 36 2e 31 2f 70 61 6e 69 | 63 2e 63 20 20 20 20 20 |6.1/pani|c.c |
|000017f0| 20 20 20 20 20 20 20 20 | 31 09 0a 58 20 74 63 6c | |1..X tcl|
|00001800| 36 2e 31 2f 72 65 67 65 | 78 70 2e 63 20 20 20 20 |6.1/rege|xp.c |
|00001810| 20 20 20 20 20 20 20 31 | 38 09 0a 58 20 74 63 6c | 1|8..X tcl|
|00001820| 36 2e 31 2f 72 65 67 65 | 78 70 2e 68 20 20 20 20 |6.1/rege|xp.h |
|00001830| 20 20 20 20 20 20 20 20 | 31 09 0a 58 20 74 63 6c | |1..X tcl|
|00001840| 36 2e 31 2f 74 63 6c 2e | 68 20 20 20 20 20 20 20 |6.1/tcl.|h |
|00001850| 20 20 20 20 20 20 20 20 | 39 09 0a 58 20 74 63 6c | |9..X tcl|
|00001860| 36 2e 31 2f 74 63 6c 41 | 73 73 65 6d 2e 63 20 20 |6.1/tclA|ssem.c |
|00001870| 20 20 20 20 20 20 20 20 | 34 09 0a 58 20 74 63 6c | |4..X tcl|
|00001880| 36 2e 31 2f 74 63 6c 42 | 61 73 69 63 2e 63 20 20 |6.1/tclB|asic.c |
|00001890| 20 20 20 20 20 20 20 31 | 37 09 0a 58 20 74 63 6c | 1|7..X tcl|
|000018a0| 36 2e 31 2f 74 63 6c 43 | 6b 61 6c 6c 6f 63 2e 63 |6.1/tclC|kalloc.c|
|000018b0| 20 20 20 20 20 20 20 31 | 32 09 0a 58 20 74 63 6c | 1|2..X tcl|
|000018c0| 36 2e 31 2f 74 63 6c 43 | 6d 64 41 48 2e 63 20 20 |6.1/tclC|mdAH.c |
|000018d0| 20 20 20 20 20 20 20 31 | 36 09 0a 58 20 74 63 6c | 1|6..X tcl|
|000018e0| 36 2e 31 2f 74 63 6c 43 | 6d 64 49 4c 2e 63 20 20 |6.1/tclC|mdIL.c |
|000018f0| 20 20 20 20 20 20 20 32 | 30 09 0a 58 20 74 63 6c | 2|0..X tcl|
|00001900| 36 2e 31 2f 74 63 6c 43 | 6d 64 4d 5a 2e 63 20 20 |6.1/tclC|mdMZ.c |
|00001910| 20 20 20 20 20 20 20 32 | 38 09 0a 58 20 74 63 6c | 2|8..X tcl|
|00001920| 36 2e 31 2f 74 63 6c 45 | 6e 76 2e 63 20 20 20 20 |6.1/tclE|nv.c |
|00001930| 20 20 20 20 20 20 20 20 | 39 09 0a 58 20 74 63 6c | |9..X tcl|
|00001940| 36 2e 31 2f 74 63 6c 45 | 78 70 72 2e 63 20 20 20 |6.1/tclE|xpr.c |
|00001950| 20 20 20 20 20 20 20 32 | 36 09 0a 58 20 74 63 6c | 2|6..X tcl|
|00001960| 36 2e 31 2f 74 63 6c 47 | 65 74 2e 63 20 20 20 20 |6.1/tclG|et.c |
|00001970| 20 20 20 20 20 20 20 20 | 33 09 0a 58 20 74 63 6c | |3..X tcl|
|00001980| 36 2e 31 2f 74 63 6c 47 | 6c 6f 62 2e 63 20 20 20 |6.1/tclG|lob.c |
|00001990| 20 20 20 20 20 20 20 31 | 31 09 0a 58 20 74 63 6c | 1|1..X tcl|
|000019a0| 36 2e 31 2f 74 63 6c 48 | 61 73 68 2e 63 20 20 20 |6.1/tclH|ash.c |
|000019b0| 20 20 20 20 20 20 20 31 | 36 09 0a 58 20 74 63 6c | 1|6..X tcl|
|000019c0| 36 2e 31 2f 74 63 6c 48 | 61 73 68 2e 68 20 20 20 |6.1/tclH|ash.h |
|000019d0| 20 20 20 20 20 20 20 20 | 33 09 0a 58 20 74 63 6c | |3..X tcl|
|000019e0| 36 2e 31 2f 74 63 6c 48 | 69 73 74 6f 72 79 2e 63 |6.1/tclH|istory.c|
|000019f0| 20 20 20 20 20 20 20 32 | 31 09 0a 58 20 74 63 6c | 2|1..X tcl|
|00001a00| 36 2e 31 2f 74 63 6c 49 | 6e 74 2e 68 20 20 20 20 |6.1/tclI|nt.h |
|00001a10| 20 20 20 20 20 20 20 32 | 33 09 0a 58 20 74 63 6c | 2|3..X tcl|
|00001a20| 36 2e 31 2f 74 63 6c 50 | 61 72 73 65 2e 63 20 20 |6.1/tclP|arse.c |
|00001a30| 20 20 20 20 20 20 20 32 | 34 09 0a 58 20 74 63 6c | 2|4..X tcl|
|00001a40| 36 2e 31 2f 74 63 6c 50 | 72 6f 63 2e 63 20 20 20 |6.1/tclP|roc.c |
|00001a50| 20 20 20 20 20 20 20 31 | 32 09 0a 58 20 74 63 6c | 1|2..X tcl|
|00001a60| 36 2e 31 2f 74 63 6c 54 | 65 73 74 2e 63 20 20 20 |6.1/tclT|est.c |
|00001a70| 20 20 20 20 20 20 20 20 | 32 09 0a 58 20 74 63 6c | |2..X tcl|
|00001a80| 36 2e 31 2f 74 63 6c 55 | 6e 69 78 2e 68 20 20 20 |6.1/tclU|nix.h |
|00001a90| 20 20 20 20 20 20 20 20 | 35 09 0a 58 20 74 63 6c | |5..X tcl|
|00001aa0| 36 2e 31 2f 74 63 6c 55 | 6e 69 78 41 5a 2e 63 20 |6.1/tclU|nixAZ.c |
|00001ab0| 20 20 20 20 20 20 20 33 | 30 09 0a 58 20 74 63 6c | 3|0..X tcl|
|00001ac0| 36 2e 31 2f 74 63 6c 55 | 6e 69 78 53 74 72 2e 63 |6.1/tclU|nixStr.c|
|00001ad0| 20 20 20 20 20 20 20 31 | 32 09 0a 58 20 74 63 6c | 1|2..X tcl|
|00001ae0| 36 2e 31 2f 74 63 6c 55 | 6e 69 78 55 74 69 6c 2e |6.1/tclU|nixUtil.|
|00001af0| 63 20 20 20 20 20 20 31 | 39 09 0a 58 20 74 63 6c |c 1|9..X tcl|
|00001b00| 36 2e 31 2f 74 63 6c 55 | 74 69 6c 2e 63 20 20 20 |6.1/tclU|til.c |
|00001b10| 20 20 20 20 20 20 20 32 | 39 09 0a 58 20 74 63 6c | 2|9..X tcl|
|00001b20| 36 2e 31 2f 74 63 6c 56 | 61 72 2e 63 2e 31 20 20 |6.1/tclV|ar.c.1 |
|00001b30| 20 20 20 20 20 20 20 32 | 35 09 0a 58 20 74 63 6c | 2|5..X tcl|
|00001b40| 36 2e 31 2f 74 63 6c 56 | 61 72 2e 63 2e 32 20 20 |6.1/tclV|ar.c.2 |
|00001b50| 20 20 20 20 20 20 20 32 | 32 09 0a 58 20 74 63 6c | 2|2..X tcl|
|00001b60| 36 2e 31 2f 74 65 73 74 | 73 20 20 20 20 20 20 20 |6.1/test|s |
|00001b70| 20 20 20 20 20 20 20 20 | 31 09 0a 58 20 74 63 6c | |1..X tcl|
|00001b80| 36 2e 31 2f 74 65 73 74 | 73 2f 52 45 41 44 4d 45 |6.1/test|s/README|
|00001b90| 20 20 20 20 20 20 20 20 | 33 09 0a 58 20 74 63 6c | |3..X tcl|
|00001ba0| 36 2e 31 2f 74 65 73 74 | 73 2f 61 6c 6c 20 20 20 |6.1/test|s/all |
|00001bb0| 20 20 20 20 20 20 20 20 | 31 09 0a 58 20 74 63 6c | |1..X tcl|
|00001bc0| 36 2e 31 2f 74 65 73 74 | 73 2f 61 70 70 65 6e 64 |6.1/test|s/append|
|00001bd0| 2e 74 65 73 74 20 20 20 | 32 09 0a 58 20 74 63 6c |.test |2..X tcl|
|00001be0| 36 2e 31 2f 74 65 73 74 | 73 2f 63 61 73 65 2e 74 |6.1/test|s/case.t|
|00001bf0| 65 73 74 20 20 20 20 20 | 32 09 0a 58 20 74 63 6c |est |2..X tcl|
|00001c00| 36 2e 31 2f 74 65 73 74 | 73 2f 63 64 2e 74 65 73 |6.1/test|s/cd.tes|
|00001c10| 74 20 20 20 20 20 20 20 | 32 09 0a 58 20 74 63 6c |t |2..X tcl|
|00001c20| 36 2e 31 2f 74 65 73 74 | 73 2f 63 6f 6e 63 61 74 |6.1/test|s/concat|
|00001c30| 2e 74 65 73 74 20 20 20 | 31 09 0a 58 20 74 63 6c |.test |1..X tcl|
|00001c40| 36 2e 31 2f 74 65 73 74 | 73 2f 64 65 66 73 20 20 |6.1/test|s/defs |
|00001c50| 20 20 20 20 20 20 20 20 | 31 09 0a 58 20 74 63 6c | |1..X tcl|
|00001c60| 36 2e 31 2f 74 65 73 74 | 73 2f 65 6e 76 2e 74 65 |6.1/test|s/env.te|
|00001c70| 73 74 20 20 20 20 20 20 | 32 09 0a 58 20 74 63 6c |st |2..X tcl|
|00001c80| 36 2e 31 2f 74 65 73 74 | 73 2f 65 72 72 6f 72 2e |6.1/test|s/error.|
|00001c90| 74 65 73 74 20 20 20 20 | 33 09 0a 58 20 74 63 6c |test |3..X tcl|
|00001ca0| 36 2e 31 2f 74 65 73 74 | 73 2f 65 76 61 6c 2e 74 |6.1/test|s/eval.t|
|00001cb0| 65 73 74 20 20 20 20 20 | 31 09 0a 58 20 74 63 6c |est |1..X tcl|
|00001cc0| 36 2e 31 2f 74 65 73 74 | 73 2f 65 78 65 63 2e 74 |6.1/test|s/exec.t|
|00001cd0| 65 73 74 20 20 20 20 20 | 34 09 0a 58 20 74 63 6c |est |4..X tcl|
|00001ce0| 36 2e 31 2f 74 65 73 74 | 73 2f 65 78 70 72 2e 74 |6.1/test|s/expr.t|
|00001cf0| 65 73 74 20 20 20 20 31 | 34 09 0a 58 20 74 63 6c |est 1|4..X tcl|
|00001d00| 36 2e 31 2f 74 65 73 74 | 73 2f 66 69 6c 65 2e 74 |6.1/test|s/file.t|
|00001d10| 65 73 74 20 20 20 20 20 | 37 09 0a 58 20 74 63 6c |est |7..X tcl|
|00001d20| 36 2e 31 2f 74 65 73 74 | 73 2f 66 6f 72 2e 74 65 |6.1/test|s/for.te|
|00001d30| 73 74 20 20 20 20 20 20 | 33 09 0a 58 20 74 63 6c |st |3..X tcl|
|00001d40| 36 2e 31 2f 74 65 73 74 | 73 2f 66 6f 72 6d 61 74 |6.1/test|s/format|
|00001d50| 2e 74 65 73 74 20 20 31 | 30 09 0a 58 20 74 63 6c |.test 1|0..X tcl|
|00001d60| 36 2e 31 2f 74 65 73 74 | 73 2f 67 6c 6f 62 2e 74 |6.1/test|s/glob.t|
|00001d70| 65 73 74 20 20 20 20 20 | 33 09 0a 58 20 74 63 6c |est |3..X tcl|
|00001d80| 36 2e 31 2f 74 65 73 74 | 73 2f 68 69 73 74 6f 72 |6.1/test|s/histor|
|00001d90| 79 2e 74 65 73 74 20 31 | 31 09 0a 58 20 74 63 6c |y.test 1|1..X tcl|
|00001da0| 36 2e 31 2f 74 65 73 74 | 73 2f 69 66 2e 74 65 73 |6.1/test|s/if.tes|
|00001db0| 74 20 20 20 20 20 20 20 | 33 09 0a 58 20 74 63 6c |t |3..X tcl|
|00001dc0| 36 2e 31 2f 74 65 73 74 | 73 2f 69 6e 63 72 2e 74 |6.1/test|s/incr.t|
|00001dd0| 65 73 74 20 20 20 20 20 | 32 09 0a 58 20 74 63 6c |est |2..X tcl|
|00001de0| 36 2e 31 2f 74 65 73 74 | 73 2f 69 6e 66 6f 2e 74 |6.1/test|s/info.t|
|00001df0| 65 73 74 20 20 20 20 20 | 39 09 0a 58 20 74 63 6c |est |9..X tcl|
|00001e00| 36 2e 31 2f 74 65 73 74 | 73 2f 6a 6f 69 6e 2e 74 |6.1/test|s/join.t|
|00001e10| 65 73 74 20 20 20 20 20 | 31 09 0a 58 20 74 63 6c |est |1..X tcl|
|00001e20| 36 2e 31 2f 74 65 73 74 | 73 2f 6c 69 6e 64 65 78 |6.1/test|s/lindex|
|00001e30| 2e 74 65 73 74 20 20 20 | 32 09 0a 58 20 74 63 6c |.test |2..X tcl|
|00001e40| 36 2e 31 2f 74 65 73 74 | 73 2f 6c 69 6e 73 65 72 |6.1/test|s/linser|
|00001e50| 74 2e 74 65 73 74 20 20 | 32 09 0a 58 20 74 63 6c |t.test |2..X tcl|
|00001e60| 36 2e 31 2f 74 65 73 74 | 73 2f 6c 69 73 74 2e 74 |6.1/test|s/list.t|
|00001e70| 65 73 74 20 20 20 20 20 | 32 09 0a 58 20 74 63 6c |est |2..X tcl|
|00001e80| 36 2e 31 2f 74 65 73 74 | 73 2f 6c 6c 65 6e 67 74 |6.1/test|s/llengt|
|00001e90| 68 2e 74 65 73 74 20 20 | 31 09 0a 58 20 74 63 6c |h.test |1..X tcl|
|00001ea0| 36 2e 31 2f 74 65 73 74 | 73 2f 6c 72 61 6e 67 65 |6.1/test|s/lrange|
|00001eb0| 2e 74 65 73 74 20 20 20 | 32 09 0a 58 20 74 63 6c |.test |2..X tcl|
|00001ec0| 36 2e 31 2f 74 65 73 74 | 73 2f 6c 72 65 70 6c 61 |6.1/test|s/lrepla|
|00001ed0| 63 65 2e 74 65 73 74 20 | 20 32 09 0a 58 20 74 63 |ce.test | 2..X tc|
|00001ee0| 6c 36 2e 31 2f 74 65 73 | 74 73 2f 6c 73 65 61 72 |l6.1/tes|ts/lsear|
|00001ef0| 63 68 2e 74 65 73 74 20 | 20 31 09 0a 58 20 74 63 |ch.test | 1..X tc|
|00001f00| 6c 36 2e 31 2f 74 65 73 | 74 73 2f 6c 73 6f 72 74 |l6.1/tes|ts/lsort|
|00001f10| 2e 74 65 73 74 20 20 20 | 20 31 09 0a 58 20 74 63 |.test | 1..X tc|
|00001f20| 6c 36 2e 31 2f 74 65 73 | 74 73 2f 6f 70 65 6e 2e |l6.1/tes|ts/open.|
|00001f30| 74 65 73 74 20 20 20 20 | 31 33 09 0a 58 20 74 63 |test |13..X tc|
|00001f40| 6c 36 2e 31 2f 74 65 73 | 74 73 2f 70 61 72 73 65 |l6.1/tes|ts/parse|
|00001f50| 2e 74 65 73 74 20 20 20 | 31 30 09 0a 58 20 74 63 |.test |10..X tc|
|00001f60| 6c 36 2e 31 2f 74 65 73 | 74 73 2f 70 72 6f 63 2e |l6.1/tes|ts/proc.|
|00001f70| 74 65 73 74 20 20 20 20 | 20 37 09 0a 58 20 74 63 |test | 7..X tc|
|00001f80| 6c 36 2e 31 2f 74 65 73 | 74 73 2f 72 65 67 65 78 |l6.1/tes|ts/regex|
|00001f90| 70 2e 74 65 73 74 20 20 | 20 37 09 0a 58 20 74 63 |p.test | 7..X tc|
|00001fa0| 6c 36 2e 31 2f 74 65 73 | 74 73 2f 72 65 6e 61 6d |l6.1/tes|ts/renam|
|00001fb0| 65 2e 74 65 73 74 20 20 | 20 32 09 0a 58 20 74 63 |e.test | 2..X tc|
|00001fc0| 6c 36 2e 31 2f 74 65 73 | 74 73 2f 73 63 61 6e 2e |l6.1/tes|ts/scan.|
|00001fd0| 74 65 73 74 20 20 20 20 | 31 35 09 0a 58 20 74 63 |test |15..X tc|
|00001fe0| 6c 36 2e 31 2f 74 65 73 | 74 73 2f 73 65 74 2e 74 |l6.1/tes|ts/set.t|
|00001ff0| 65 73 74 20 20 20 20 20 | 31 33 09 0a 58 20 74 63 |est |13..X tc|
|00002000| 6c 36 2e 31 2f 74 65 73 | 74 73 2f 73 6f 75 72 63 |l6.1/tes|ts/sourc|
|00002010| 65 2e 74 65 73 74 20 20 | 20 32 09 0a 58 20 74 63 |e.test | 2..X tc|
|00002020| 6c 36 2e 31 2f 74 65 73 | 74 73 2f 73 70 6c 69 74 |l6.1/tes|ts/split|
|00002030| 2e 74 65 73 74 20 20 20 | 20 31 09 0a 58 20 74 63 |.test | 1..X tc|
|00002040| 6c 36 2e 31 2f 74 65 73 | 74 73 2f 73 74 72 69 6e |l6.1/tes|ts/strin|
|00002050| 67 2e 74 65 73 74 20 20 | 20 38 09 0a 58 20 74 63 |g.test | 8..X tc|
|00002060| 6c 36 2e 31 2f 74 65 73 | 74 73 2f 74 72 61 63 65 |l6.1/tes|ts/trace|
|00002070| 2e 74 65 73 74 20 20 20 | 31 35 09 0a 58 20 74 63 |.test |15..X tc|
|00002080| 6c 36 2e 31 2f 74 65 73 | 74 73 2f 75 6e 6b 6e 6f |l6.1/tes|ts/unkno|
|00002090| 77 6e 2e 74 65 73 74 20 | 20 31 09 0a 58 20 74 63 |wn.test | 1..X tc|
|000020a0| 6c 36 2e 31 2f 74 65 73 | 74 73 2f 75 70 6c 65 76 |l6.1/tes|ts/uplev|
|000020b0| 65 6c 2e 74 65 73 74 20 | 20 32 09 0a 58 20 74 63 |el.test | 2..X tc|
|000020c0| 6c 36 2e 31 2f 74 65 73 | 74 73 2f 75 70 76 61 72 |l6.1/tes|ts/upvar|
|000020d0| 2e 74 65 73 74 20 20 20 | 20 34 09 0a 58 20 74 63 |.test | 4..X tc|
|000020e0| 6c 36 2e 31 2f 74 65 73 | 74 73 2f 77 68 69 6c 65 |l6.1/tes|ts/while|
|000020f0| 2e 74 65 73 74 20 20 20 | 20 32 09 0a 45 4e 44 5f |.test | 2..END_|
|00002100| 4f 46 5f 46 49 4c 45 0a | 69 66 20 74 65 73 74 20 |OF_FILE.|if test |
|00002110| 34 30 32 32 20 2d 6e 65 | 20 60 77 63 20 2d 63 20 |4022 -ne| `wc -c |
|00002120| 3c 27 74 63 6c 36 2e 31 | 2f 4d 41 4e 49 46 45 53 |<'tcl6.1|/MANIFES|
|00002130| 54 27 60 3b 20 74 68 65 | 6e 0a 20 20 20 20 65 63 |T'`; the|n. ec|
|00002140| 68 6f 20 73 68 61 72 3a | 20 5c 22 27 74 63 6c 36 |ho shar:| \"'tcl6|
|00002150| 2e 31 2f 4d 41 4e 49 46 | 45 53 54 27 5c 22 20 75 |.1/MANIF|EST'\" u|
|00002160| 6e 70 61 63 6b 65 64 20 | 77 69 74 68 20 77 72 6f |npacked |with wro|
|00002170| 6e 67 20 73 69 7a 65 21 | 0a 66 69 0a 23 20 65 6e |ng size!|.fi.# en|
|00002180| 64 20 6f 66 20 27 74 63 | 6c 36 2e 31 2f 4d 41 4e |d of 'tc|l6.1/MAN|
|00002190| 49 46 45 53 54 27 0a 66 | 69 0a 69 66 20 74 65 73 |IFEST'.f|i.if tes|
|000021a0| 74 20 2d 66 20 27 74 63 | 6c 36 2e 31 2f 4d 61 6b |t -f 'tc|l6.1/Mak|
|000021b0| 65 66 69 6c 65 27 20 2d | 61 20 22 24 7b 31 7d 22 |efile' -|a "${1}"|
|000021c0| 20 21 3d 20 22 2d 63 22 | 20 3b 20 74 68 65 6e 20 | != "-c"| ; then |
|000021d0| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 57 69 |. echo |shar: Wi|
|000021e0| 6c 6c 20 6e 6f 74 20 63 | 6c 6f 62 62 65 72 20 65 |ll not c|lobber e|
|000021f0| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 5c 22 27 |xisting |file \"'|
|00002200| 74 63 6c 36 2e 31 2f 4d | 61 6b 65 66 69 6c 65 27 |tcl6.1/M|akefile'|
|00002210| 5c 22 0a 65 6c 73 65 0a | 65 63 68 6f 20 73 68 61 |\".else.|echo sha|
|00002220| 72 3a 20 45 78 74 72 61 | 63 74 69 6e 67 20 5c 22 |r: Extra|cting \"|
|00002230| 27 74 63 6c 36 2e 31 2f | 4d 61 6b 65 66 69 6c 65 |'tcl6.1/|Makefile|
|00002240| 27 5c 22 20 5c 28 31 38 | 32 30 20 63 68 61 72 61 |'\" \(18|20 chara|
|00002250| 63 74 65 72 73 5c 29 0a | 73 65 64 20 22 73 2f 5e |cters\).|sed "s/^|
|00002260| 58 2f 2f 22 20 3e 27 74 | 63 6c 36 2e 31 2f 4d 61 |X//" >'t|cl6.1/Ma|
|00002270| 6b 65 66 69 6c 65 27 20 | 3c 3c 27 45 4e 44 5f 4f |kefile' |<<'END_O|
|00002280| 46 5f 46 49 4c 45 27 0a | 58 23 0a 58 23 20 54 68 |F_FILE'.|X#.X# Th|
|00002290| 69 73 20 4d 61 6b 65 66 | 69 6c 65 20 69 73 20 66 |is Makef|ile is f|
|000022a0| 6f 72 20 75 73 65 20 77 | 68 65 6e 20 64 69 73 74 |or use w|hen dist|
|000022b0| 72 69 62 75 74 69 6e 67 | 20 54 63 6c 20 74 6f 20 |ributing| Tcl to |
|000022c0| 74 68 65 20 6f 75 74 73 | 69 64 65 20 77 6f 72 6c |the outs|ide worl|
|000022d0| 64 2e 0a 58 23 20 49 74 | 20 69 73 20 6e 6f 72 6d |d..X# It| is norm|
|000022e0| 61 6c 6c 79 20 73 65 74 | 20 75 70 20 62 79 20 72 |ally set| up by r|
|000022f0| 75 6e 6e 69 6e 67 20 74 | 68 65 20 22 63 6f 6e 66 |unning t|he "conf|
|00002300| 69 67 22 20 73 63 72 69 | 70 74 2e 20 20 42 65 66 |ig" scri|pt. Bef|
|00002310| 6f 72 65 20 6d 6f 64 69 | 66 79 69 6e 67 0a 58 23 |ore modi|fying.X#|
|00002320| 20 74 68 69 73 20 66 69 | 6c 65 20 62 79 20 68 61 | this fi|le by ha|
|00002330| 6e 64 2c 20 79 6f 75 20 | 73 68 6f 75 6c 64 20 72 |nd, you |should r|
|00002340| 65 61 64 20 74 68 72 6f | 75 67 68 20 74 68 65 20 |ead thro|ugh the |
|00002350| 22 63 6f 6e 66 69 67 22 | 20 73 63 72 69 70 74 20 |"config"| script |
|00002360| 74 6f 20 73 65 65 0a 58 | 23 20 77 68 61 74 20 69 |to see.X|# what i|
|00002370| 74 20 64 6f 65 73 2e 0a | 58 23 0a 58 23 20 53 6f |t does..|X#.X# So|
|00002380| 6d 65 20 63 68 61 6e 67 | 65 73 20 79 6f 75 20 6d |me chang|es you m|
|00002390| 61 79 20 77 69 73 68 20 | 74 6f 20 6d 61 6b 65 20 |ay wish |to make |
|000023a0| 68 65 72 65 3a 0a 58 23 | 0a 58 23 20 31 2e 20 54 |here:.X#|.X# 1. T|
|000023b0| 6f 20 63 6f 6d 70 69 6c | 65 20 66 6f 72 20 6e 6f |o compil|e for no|
|000023c0| 6e 2d 55 4e 49 58 20 73 | 79 73 74 65 6d 73 20 28 |n-UNIX s|ystems (|
|000023d0| 73 6f 20 74 68 61 74 20 | 6f 6e 6c 79 20 74 68 65 |so that |only the|
|000023e0| 20 6e 6f 6e 2d 55 4e 49 | 58 2d 73 70 65 63 69 66 | non-UNI|X-specif|
|000023f0| 69 63 0a 58 23 20 63 6f | 6d 6d 61 6e 64 73 20 61 |ic.X# co|mmands a|
|00002400| 72 65 20 61 76 61 69 6c | 61 62 6c 65 29 2c 20 63 |re avail|able), c|
|00002410| 68 61 6e 67 65 20 74 68 | 65 20 4f 42 4a 53 20 6c |hange th|e OBJS l|
|00002420| 69 6e 65 20 62 65 6c 6f | 77 20 73 6f 20 69 74 20 |ine belo|w so it |
|00002430| 64 6f 65 73 6e 27 74 0a | 58 23 20 69 6e 63 6c 75 |doesn't.|X# inclu|
|00002440| 64 65 20 24 7b 55 4e 49 | 58 5f 4f 42 4a 53 7d 2e |de ${UNI|X_OBJS}.|
|00002450| 20 20 41 6c 73 6f 2c 20 | 61 64 64 20 74 68 65 20 | Also, |add the |
|00002460| 73 77 69 74 63 68 20 22 | 2d 44 54 43 4c 5f 47 45 |switch "|-DTCL_GE|
|00002470| 4e 45 52 49 43 5f 4f 4e | 4c 59 22 20 74 6f 0a 58 |NERIC_ON|LY" to.X|
|00002480| 23 20 43 46 4c 41 47 53 | 2e 20 20 4c 61 73 74 6c |# CFLAGS|. Lastl|
|00002490| 79 2c 20 79 6f 75 27 6c | 6c 20 68 61 76 65 20 74 |y, you'l|l have t|
|000024a0| 6f 20 70 72 6f 76 69 64 | 65 20 79 6f 75 72 20 6f |o provid|e your o|
|000024b0| 77 6e 20 72 65 70 6c 61 | 63 65 6d 65 6e 74 20 66 |wn repla|cement f|
|000024c0| 6f 72 20 74 68 65 0a 58 | 23 20 22 70 61 6e 69 63 |or the.X|# "panic|
|000024d0| 22 20 70 72 6f 63 65 64 | 75 72 65 20 28 73 65 65 |" proced|ure (see|
|000024e0| 20 70 61 6e 69 63 2e 63 | 20 66 6f 72 20 77 68 61 | panic.c| for wha|
|000024f0| 74 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 6f 6e |t the cu|rrent on|
|00002500| 65 20 64 6f 65 73 29 2e | 0a 58 23 0a 58 23 20 32 |e does).|.X#.X# 2|
|00002510| 2e 20 41 4e 53 49 2d 43 | 20 70 72 6f 63 65 64 75 |. ANSI-C| procedu|
|00002520| 72 65 20 70 72 6f 74 6f | 74 79 70 65 73 20 61 72 |re proto|types ar|
|00002530| 65 20 74 75 72 6e 65 64 | 20 6f 6e 20 62 79 20 64 |e turned| on by d|
|00002540| 65 66 61 75 6c 74 20 69 | 66 20 73 75 70 70 6f 72 |efault i|f suppor|
|00002550| 74 65 64 0a 58 23 20 62 | 79 20 74 68 65 20 63 6f |ted.X# b|y the co|
|00002560| 6d 70 69 6c 65 72 2e 20 | 20 54 6f 20 74 75 72 6e |mpiler. | To turn|
|00002570| 20 74 68 65 6d 20 6f 66 | 66 2c 20 61 64 64 20 22 | them of|f, add "|
|00002580| 2d 44 4e 4f 5f 50 52 4f | 54 4f 54 59 50 45 22 20 |-DNO_PRO|TOTYPE" |
|00002590| 74 6f 20 43 46 4c 41 47 | 53 0a 58 23 20 62 65 6c |to CFLAG|S.X# bel|
|000025a0| 6f 77 2e 0a 58 23 0a 58 | 23 20 33 2e 20 49 66 20 |ow..X#.X|# 3. If |
|000025b0| 79 6f 75 27 76 65 20 70 | 75 74 20 74 68 65 20 54 |you've p|ut the T|
|000025c0| 63 6c 20 73 63 72 69 70 | 74 20 6c 69 62 72 61 72 |cl scrip|t librar|
|000025d0| 79 20 69 6e 20 61 20 6e | 6f 6e 2d 73 74 61 6e 64 |y in a n|on-stand|
|000025e0| 61 72 64 20 70 6c 61 63 | 65 2c 20 63 68 61 6e 67 |ard plac|e, chang|
|000025f0| 65 0a 58 23 20 74 68 65 | 20 64 65 66 69 6e 69 74 |e.X# the| definit|
|00002600| 69 6f 6e 20 6f 66 20 54 | 43 4c 5f 4c 49 42 52 41 |ion of T|CL_LIBRA|
|00002610| 52 59 20 74 6f 20 63 6f | 72 72 65 73 70 6f 6e 64 |RY to co|rrespond|
|00002620| 20 74 6f 20 69 74 73 20 | 6c 6f 63 61 74 69 6f 6e | to its |location|
|00002630| 20 6f 6e 20 79 6f 75 72 | 0a 58 23 20 73 79 73 74 | on your|.X# syst|
|00002640| 65 6d 2e 0a 58 23 0a 58 | 0a 58 54 43 4c 5f 4c 49 |em..X#.X|.XTCL_LI|
|00002650| 42 52 41 52 59 20 3d 09 | 2f 75 73 72 2f 6c 6f 63 |BRARY =.|/usr/loc|
|00002660| 61 6c 2f 6c 69 62 2f 74 | 63 6c 0a 58 0a 58 43 43 |al/lib/t|cl.X.XCC|
|00002670| 20 3d 09 09 63 63 0a 58 | 43 46 4c 41 47 53 20 3d | =..cc.X|CFLAGS =|
|00002680| 09 2d 67 20 2d 49 2e 20 | 2d 44 54 43 4c 5f 4c 49 |.-g -I. |-DTCL_LI|
|00002690| 42 52 41 52 59 3d 5c 22 | 24 7b 54 43 4c 5f 4c 49 |BRARY=\"|${TCL_LI|
|000026a0| 42 52 41 52 59 7d 5c 22 | 0a 58 0a 58 47 45 4e 45 |BRARY}\"|.X.XGENE|
|000026b0| 52 49 43 5f 4f 42 4a 53 | 20 3d 09 72 65 67 65 78 |RIC_OBJS| =.regex|
|000026c0| 70 2e 6f 20 74 63 6c 41 | 73 73 65 6d 2e 6f 20 74 |p.o tclA|ssem.o t|
|000026d0| 63 6c 42 61 73 69 63 2e | 6f 20 74 63 6c 43 6b 61 |clBasic.|o tclCka|
|000026e0| 6c 6c 6f 63 2e 6f 20 5c | 0a 58 09 74 63 6c 43 6d |lloc.o \|.X.tclCm|
|000026f0| 64 41 48 2e 6f 20 74 63 | 6c 43 6d 64 49 4c 2e 6f |dAH.o tc|lCmdIL.o|
|00002700| 20 74 63 6c 43 6d 64 4d | 5a 2e 6f 20 74 63 6c 45 | tclCmdM|Z.o tclE|
|00002710| 78 70 72 2e 6f 20 74 63 | 6c 47 65 74 2e 6f 20 5c |xpr.o tc|lGet.o \|
|00002720| 0a 58 09 74 63 6c 48 61 | 73 68 2e 6f 20 74 63 6c |.X.tclHa|sh.o tcl|
|00002730| 48 69 73 74 6f 72 79 2e | 6f 20 74 63 6c 50 61 72 |History.|o tclPar|
|00002740| 73 65 2e 6f 20 74 63 6c | 50 72 6f 63 2e 6f 20 74 |se.o tcl|Proc.o t|
|00002750| 63 6c 55 74 69 6c 2e 6f | 20 5c 0a 58 09 74 63 6c |clUtil.o| \.X.tcl|
|00002760| 56 61 72 2e 6f 0a 58 0a | 58 55 4e 49 58 5f 4f 42 |Var.o.X.|XUNIX_OB|
|00002770| 4a 53 20 3d 20 70 61 6e | 69 63 2e 6f 20 74 63 6c |JS = pan|ic.o tcl|
|00002780| 45 6e 76 2e 6f 20 74 63 | 6c 47 6c 6f 62 2e 6f 20 |Env.o tc|lGlob.o |
|00002790| 74 63 6c 55 6e 69 78 41 | 5a 2e 6f 20 74 63 6c 55 |tclUnixA|Z.o tclU|
|000027a0| 6e 69 78 53 74 72 2e 6f | 20 5c 0a 58 09 74 63 6c |nixStr.o| \.X.tcl|
|000027b0| 55 6e 69 78 55 74 69 6c | 2e 6f 20 0a 58 0a 58 43 |UnixUtil|.o .X.XC|
|000027c0| 4f 4d 50 41 54 5f 4f 42 | 4a 53 20 3d 20 73 74 72 |OMPAT_OB|JS = str|
|000027d0| 65 72 72 6f 72 2e 6f 20 | 6f 70 65 6e 64 69 72 2e |error.o |opendir.|
|000027e0| 6f 20 73 74 72 73 74 72 | 2e 6f 20 73 74 72 74 6f |o strstr|.o strto|
|000027f0| 75 6c 2e 6f 0a 58 0a 58 | 4f 42 4a 53 20 3d 20 24 |ul.o.X.X|OBJS = $|
|00002800| 7b 47 45 4e 45 52 49 43 | 5f 4f 42 4a 53 7d 20 24 |{GENERIC|_OBJS} $|
|00002810| 7b 55 4e 49 58 5f 4f 42 | 4a 53 7d 20 24 7b 43 4f |{UNIX_OB|JS} ${CO|
|00002820| 4d 50 41 54 5f 4f 42 4a | 53 7d 0a 58 0a 58 6c 69 |MPAT_OBJ|S}.X.Xli|
|00002830| 62 74 63 6c 2e 61 3a 20 | 24 7b 4f 42 4a 53 7d 0a |btcl.a: |${OBJS}.|
|00002840| 58 09 72 6d 20 2d 66 20 | 6c 69 62 74 63 6c 2e 61 |X.rm -f |libtcl.a|
|00002850| 0a 58 09 61 72 20 63 72 | 20 6c 69 62 74 63 6c 2e |.X.ar cr| libtcl.|
|00002860| 61 20 24 7b 4f 42 4a 53 | 7d 0a 58 0a 58 74 63 6c |a ${OBJS|}.X.Xtcl|
|00002870| 54 65 73 74 3a 20 74 63 | 6c 54 65 73 74 2e 6f 20 |Test: tc|lTest.o |
|00002880| 6c 69 62 74 63 6c 2e 61 | 0a 58 09 24 7b 43 43 7d |libtcl.a|.X.${CC}|
|00002890| 20 24 7b 43 46 4c 41 47 | 53 7d 20 74 63 6c 54 65 | ${CFLAG|S} tclTe|
|000028a0| 73 74 2e 6f 20 6c 69 62 | 74 63 6c 2e 61 20 2d 6f |st.o lib|tcl.a -o|
|000028b0| 20 74 63 6c 54 65 73 74 | 0a 58 0a 58 63 6c 65 61 | tclTest|.X.Xclea|
|000028c0| 6e 3a 0a 58 09 72 6d 20 | 2d 66 20 24 7b 4f 42 4a |n:.X.rm |-f ${OBJ|
|000028d0| 53 7d 20 6c 69 62 74 63 | 6c 2e 61 20 74 63 6c 54 |S} libtc|l.a tclT|
|000028e0| 65 73 74 2e 6f 20 74 63 | 6c 54 65 73 74 0a 58 0a |est.o tc|lTest.X.|
|000028f0| 58 23 20 54 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |X# The f|ollowing|
|00002900| 20 74 61 72 67 65 74 20 | 69 73 20 75 73 65 64 20 | target |is used |
|00002910| 64 75 72 69 6e 67 20 63 | 6f 6e 66 69 67 75 72 61 |during c|onfigura|
|00002920| 74 69 6f 6e 20 74 6f 20 | 63 6f 6d 70 69 6c 65 0a |tion to |compile.|
|00002930| 58 23 20 61 20 74 65 73 | 74 20 70 72 6f 67 72 61 |X# a tes|t progra|
|00002940| 6d 20 74 6f 20 73 65 65 | 20 69 66 20 63 65 72 74 |m to see| if cert|
|00002950| 61 69 6e 20 66 61 63 69 | 6c 69 74 69 65 73 20 61 |ain faci|lities a|
|00002960| 72 65 20 61 76 61 69 6c | 61 62 6c 65 20 6f 6e 0a |re avail|able on.|
|00002970| 58 23 20 74 68 65 20 73 | 79 73 74 65 6d 2e 0a 58 |X# the s|ystem..X|
|00002980| 0a 58 74 65 73 74 3a 0a | 58 09 24 7b 43 43 7d 20 |.Xtest:.|X.${CC} |
|00002990| 24 7b 43 46 4c 41 47 53 | 7d 20 74 65 73 74 2e 63 |${CFLAGS|} test.c|
|000029a0| 0a 58 0a 58 24 7b 4f 42 | 4a 53 7d 3a 20 74 63 6c |.X.X${OB|JS}: tcl|
|000029b0| 2e 68 20 74 63 6c 48 61 | 73 68 2e 68 20 74 63 6c |.h tclHa|sh.h tcl|
|000029c0| 49 6e 74 2e 68 0a 58 24 | 7b 55 4e 49 58 5f 4f 42 |Int.h.X$|{UNIX_OB|
|000029d0| 4a 53 7d 3a 20 74 63 6c | 55 6e 69 78 2e 68 0a 45 |JS}: tcl|Unix.h.E|
|000029e0| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 69 66 20 74 65 |ND_OF_FI|LE.if te|
|000029f0| 73 74 20 31 38 32 30 20 | 2d 6e 65 20 60 77 63 20 |st 1820 |-ne `wc |
|00002a00| 2d 63 20 3c 27 74 63 6c | 36 2e 31 2f 4d 61 6b 65 |-c <'tcl|6.1/Make|
|00002a10| 66 69 6c 65 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |file'`; |then. |
|00002a20| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 74 | echo sh|ar: \"'t|
|00002a30| 63 6c 36 2e 31 2f 4d 61 | 6b 65 66 69 6c 65 27 5c |cl6.1/Ma|kefile'\|
|00002a40| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|00002a50| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 66 69 0a 23 |wrong si|ze!.fi.#|
|00002a60| 20 65 6e 64 20 6f 66 20 | 27 74 63 6c 36 2e 31 2f | end of |'tcl6.1/|
|00002a70| 4d 61 6b 65 66 69 6c 65 | 27 0a 66 69 0a 69 66 20 |Makefile|'.fi.if |
|00002a80| 74 65 73 74 20 21 20 2d | 64 20 27 74 63 6c 36 2e |test ! -|d 'tcl6.|
|00002a90| 31 2f 63 6f 6d 70 61 74 | 27 20 3b 20 74 68 65 6e |1/compat|' ; then|
|00002aa0| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00002ab0| 43 72 65 61 74 69 6e 67 | 20 64 69 72 65 63 74 6f |Creating| directo|
|00002ac0| 72 79 20 5c 22 27 74 63 | 6c 36 2e 31 2f 63 6f 6d |ry \"'tc|l6.1/com|
|00002ad0| 70 61 74 27 5c 22 0a 20 | 20 20 20 6d 6b 64 69 72 |pat'\". | mkdir|
|00002ae0| 20 27 74 63 6c 36 2e 31 | 2f 63 6f 6d 70 61 74 27 | 'tcl6.1|/compat'|
|00002af0| 0a 66 69 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |.fi.if t|est -f '|
|00002b00| 74 63 6c 36 2e 31 2f 63 | 6f 6d 70 61 74 2f 52 45 |tcl6.1/c|ompat/RE|
|00002b10| 41 44 4d 45 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |ADME' -a| "${1}" |
|00002b20| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00002b30| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|00002b40| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|00002b50| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 74 |isting f|ile \"'t|
|00002b60| 63 6c 36 2e 31 2f 63 6f | 6d 70 61 74 2f 52 45 41 |cl6.1/co|mpat/REA|
|00002b70| 44 4d 45 27 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |DME'\".e|lse.echo|
|00002b80| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00002b90| 67 20 5c 22 27 74 63 6c | 36 2e 31 2f 63 6f 6d 70 |g \"'tcl|6.1/comp|
|00002ba0| 61 74 2f 52 45 41 44 4d | 45 27 5c 22 20 5c 28 33 |at/READM|E'\" \(3|
|00002bb0| 36 33 20 63 68 61 72 61 | 63 74 65 72 73 5c 29 0a |63 chara|cters\).|
|00002bc0| 73 65 64 20 22 73 2f 5e | 58 2f 2f 22 20 3e 27 74 |sed "s/^|X//" >'t|
|00002bd0| 63 6c 36 2e 31 2f 63 6f | 6d 70 61 74 2f 52 45 41 |cl6.1/co|mpat/REA|
|00002be0| 44 4d 45 27 20 3c 3c 27 | 45 4e 44 5f 4f 46 5f 46 |DME' <<'|END_OF_F|
|00002bf0| 49 4c 45 27 0a 58 54 68 | 69 73 20 64 69 72 65 63 |ILE'.XTh|is direc|
|00002c00| 74 6f 72 79 20 63 6f 6e | 74 61 69 6e 73 20 76 61 |tory con|tains va|
|00002c10| 72 69 6f 75 73 20 68 65 | 61 64 65 72 20 61 6e 64 |rious he|ader and|
|00002c20| 20 63 6f 64 65 20 66 69 | 6c 65 73 20 74 68 61 74 | code fi|les that|
|00002c30| 20 61 72 65 0a 58 75 73 | 65 64 20 6d 61 6b 65 20 | are.Xus|ed make |
|00002c40| 54 63 6c 20 63 6f 6d 70 | 61 74 69 62 6c 65 20 77 |Tcl comp|atible w|
|00002c50| 69 74 68 20 76 61 72 69 | 6f 75 73 20 72 65 6c 65 |ith vari|ous rele|
|00002c60| 61 73 65 73 20 6f 66 20 | 55 4e 49 58 20 61 6e 64 |ases of |UNIX and|
|00002c70| 20 55 4e 49 58 2d 6c 69 | 6b 65 0a 58 73 79 73 74 | UNIX-li|ke.Xsyst|
|00002c80| 65 6d 73 2e 20 20 54 79 | 70 69 63 61 6c 6c 79 2c |ems. Ty|pically,|
|00002c90| 20 66 69 6c 65 73 20 66 | 72 6f 6d 20 74 68 69 73 | files f|rom this|
|00002ca0| 20 64 69 72 65 63 74 6f | 72 79 20 61 72 65 20 75 | directo|ry are u|
|00002cb0| 73 65 64 20 74 6f 20 63 | 6f 6d 70 69 6c 65 0a 58 |sed to c|ompile.X|
|00002cc0| 54 63 6c 20 77 68 65 6e | 20 74 68 65 20 63 6f 72 |Tcl when| the cor|
|00002cd0| 72 65 73 70 6f 6e 64 69 | 6e 67 20 66 69 6c 65 73 |respondi|ng files|
|00002ce0| 20 61 72 65 6e 27 74 20 | 70 72 65 73 65 6e 74 20 | aren't |present |
|00002cf0| 69 6e 20 74 68 65 20 73 | 79 73 74 65 6d 27 73 0a |in the s|ystem's.|
|00002d00| 58 6c 69 62 72 61 72 79 | 20 61 72 65 61 2e 20 20 |Xlibrary| area. |
|00002d10| 57 68 65 6e 20 74 68 65 | 20 77 68 6f 6c 65 20 77 |When the| whole w|
|00002d20| 6f 72 6c 64 20 69 73 20 | 50 4f 53 49 58 2d 69 66 |orld is |POSIX-if|
|00002d30| 69 65 64 2c 20 74 68 69 | 73 20 69 6e 66 6f 72 6d |ied, thi|s inform|
|00002d40| 61 74 69 6f 6e 0a 58 73 | 68 6f 75 6c 64 20 62 65 |ation.Xs|hould be|
|00002d50| 63 6f 6d 65 20 75 6e 6e | 65 63 65 73 73 61 72 79 |come unn|ecessary|
|00002d60| 2e 20 28 3f 29 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |. (?).EN|D_OF_FIL|
|00002d70| 45 0a 69 66 20 74 65 73 | 74 20 33 36 33 20 2d 6e |E.if tes|t 363 -n|
|00002d80| 65 20 60 77 63 20 2d 63 | 20 3c 27 74 63 6c 36 2e |e `wc -c| <'tcl6.|
|00002d90| 31 2f 63 6f 6d 70 61 74 | 2f 52 45 41 44 4d 45 27 |1/compat|/README'|
|00002da0| 60 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |`; then.| echo|
|00002db0| 20 73 68 61 72 3a 20 5c | 22 27 74 63 6c 36 2e 31 | shar: \|"'tcl6.1|
|00002dc0| 2f 63 6f 6d 70 61 74 2f | 52 45 41 44 4d 45 27 5c |/compat/|README'\|
|00002dd0| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|00002de0| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 66 69 0a 23 |wrong si|ze!.fi.#|
|00002df0| 20 65 6e 64 20 6f 66 20 | 27 74 63 6c 36 2e 31 2f | end of |'tcl6.1/|
|00002e00| 63 6f 6d 70 61 74 2f 52 | 45 41 44 4d 45 27 0a 66 |compat/R|EADME'.f|
|00002e10| 69 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 74 63 |i.if tes|t -f 'tc|
|00002e20| 6c 36 2e 31 2f 63 6f 6d | 70 61 74 2f 64 69 72 65 |l6.1/com|pat/dire|
|00002e30| 6e 74 2e 68 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |nt.h' -a| "${1}" |
|00002e40| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00002e50| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|00002e60| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|00002e70| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 74 |isting f|ile \"'t|
|00002e80| 63 6c 36 2e 31 2f 63 6f | 6d 70 61 74 2f 64 69 72 |cl6.1/co|mpat/dir|
|00002e90| 65 6e 74 2e 68 27 5c 22 | 0a 65 6c 73 65 0a 65 63 |ent.h'\"|.else.ec|
|00002ea0| 68 6f 20 73 68 61 72 3a | 20 45 78 74 72 61 63 74 |ho shar:| Extract|
|00002eb0| 69 6e 67 20 5c 22 27 74 | 63 6c 36 2e 31 2f 63 6f |ing \"'t|cl6.1/co|
|00002ec0| 6d 70 61 74 2f 64 69 72 | 65 6e 74 2e 68 27 5c 22 |mpat/dir|ent.h'\"|
|00002ed0| 20 5c 28 38 30 39 20 63 | 68 61 72 61 63 74 65 72 | \(809 c|haracter|
|00002ee0| 73 5c 29 0a 73 65 64 20 | 22 73 2f 5e 58 2f 2f 22 |s\).sed |"s/^X//"|
|00002ef0| 20 3e 27 74 63 6c 36 2e | 31 2f 63 6f 6d 70 61 74 | >'tcl6.|1/compat|
|00002f00| 2f 64 69 72 65 6e 74 2e | 68 27 20 3c 3c 27 45 4e |/dirent.|h' <<'EN|
|00002f10| 44 5f 4f 46 5f 46 49 4c | 45 27 0a 58 2f 2a 0a 58 |D_OF_FIL|E'.X/*.X|
|00002f20| 20 2a 20 64 69 72 65 6e | 74 2e 68 20 2d 2d 0a 58 | * diren|t.h --.X|
|00002f30| 20 2a 0a 58 20 2a 09 54 | 68 69 73 20 66 69 6c 65 | *.X *.T|his file|
|00002f40| 20 69 73 20 61 20 72 65 | 70 6c 61 63 65 6d 65 6e | is a re|placemen|
|00002f50| 74 20 66 6f 72 20 3c 64 | 69 72 65 6e 74 2e 68 3e |t for <d|irent.h>|
|00002f60| 20 69 6e 20 73 79 73 74 | 65 6d 73 20 74 68 61 74 | in syst|ems that|
|00002f70| 0a 58 20 2a 09 73 75 70 | 70 6f 72 74 20 74 68 65 |.X *.sup|port the|
|00002f80| 20 6f 6c 64 20 42 53 44 | 2d 73 74 79 6c 65 20 3c | old BSD|-style <|
|00002f90| 73 79 73 2f 64 69 72 2e | 68 3e 20 77 69 74 68 20 |sys/dir.|h> with |
|00002fa0| 61 20 22 73 74 72 75 63 | 74 20 64 69 72 65 63 74 |a "struc|t direct|
|00002fb0| 22 2e 0a 58 20 2a 0a 58 | 20 2a 20 43 6f 70 79 72 |"..X *.X| * Copyr|
|00002fc0| 69 67 68 74 20 31 39 39 | 31 20 52 65 67 65 6e 74 |ight 199|1 Regent|
|00002fd0| 73 20 6f 66 20 74 68 65 | 20 55 6e 69 76 65 72 73 |s of the| Univers|
|00002fe0| 69 74 79 20 6f 66 20 43 | 61 6c 69 66 6f 72 6e 69 |ity of C|aliforni|
|00002ff0| 61 0a 58 20 2a 20 50 65 | 72 6d 69 73 73 69 6f 6e |a.X * Pe|rmission|
|00003000| 20 74 6f 20 75 73 65 2c | 20 63 6f 70 79 2c 20 6d | to use,| copy, m|
|00003010| 6f 64 69 66 79 2c 20 61 | 6e 64 20 64 69 73 74 72 |odify, a|nd distr|
|00003020| 69 62 75 74 65 20 74 68 | 69 73 0a 58 20 2a 20 73 |ibute th|is.X * s|
|00003030| 6f 66 74 77 61 72 65 20 | 61 6e 64 20 69 74 73 20 |oftware |and its |
|00003040| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 66 6f |document|ation fo|
|00003050| 72 20 61 6e 79 20 70 75 | 72 70 6f 73 65 20 61 6e |r any pu|rpose an|
|00003060| 64 20 77 69 74 68 6f 75 | 74 0a 58 20 2a 20 66 65 |d withou|t.X * fe|
|00003070| 65 20 69 73 20 68 65 72 | 65 62 79 20 67 72 61 6e |e is her|eby gran|
|00003080| 74 65 64 2c 20 70 72 6f | 76 69 64 65 64 20 74 68 |ted, pro|vided th|
|00003090| 61 74 20 74 68 69 73 20 | 63 6f 70 79 72 69 67 68 |at this |copyrigh|
|000030a0| 74 0a 58 20 2a 20 6e 6f | 74 69 63 65 20 61 70 70 |t.X * no|tice app|
|000030b0| 65 61 72 73 20 69 6e 20 | 61 6c 6c 20 63 6f 70 69 |ears in |all copi|
|000030c0| 65 73 2e 20 20 54 68 65 | 20 55 6e 69 76 65 72 73 |es. The| Univers|
|000030d0| 69 74 79 20 6f 66 20 43 | 61 6c 69 66 6f 72 6e 69 |ity of C|aliforni|
|000030e0| 61 0a 58 20 2a 20 6d 61 | 6b 65 73 20 6e 6f 20 72 |a.X * ma|kes no r|
|000030f0| 65 70 72 65 73 65 6e 74 | 61 74 69 6f 6e 73 20 61 |epresent|ations a|
|00003100| 62 6f 75 74 20 74 68 65 | 20 73 75 69 74 61 62 69 |bout the| suitabi|
|00003110| 6c 69 74 79 20 6f 66 20 | 74 68 69 73 0a 58 20 2a |lity of |this.X *|
|00003120| 20 73 6f 66 74 77 61 72 | 65 20 66 6f 72 20 61 6e | softwar|e for an|
|00003130| 79 20 70 75 72 70 6f 73 | 65 2e 20 20 49 74 20 69 |y purpos|e. It i|
|00003140| 73 20 70 72 6f 76 69 64 | 65 64 20 22 61 73 20 69 |s provid|ed "as i|
|00003150| 73 22 20 77 69 74 68 6f | 75 74 0a 58 20 2a 20 65 |s" witho|ut.X * e|
|00003160| 78 70 72 65 73 73 20 6f | 72 20 69 6d 70 6c 69 65 |xpress o|r implie|
|00003170| 64 20 77 61 72 72 61 6e | 74 79 2e 0a 58 20 2a 0a |d warran|ty..X *.|
|00003180| 58 20 2a 20 24 48 65 61 | 64 65 72 3a 20 2f 73 70 |X * $Hea|der: /sp|
|00003190| 72 69 74 65 2f 73 72 63 | 2f 6c 69 62 2f 74 63 6c |rite/src|/lib/tcl|
|000031a0| 2f 63 6f 6d 70 61 74 2f | 52 43 53 2f 64 69 72 65 |/compat/|RCS/dire|
|000031b0| 6e 74 2e 68 2c 76 20 31 | 2e 31 20 39 31 2f 30 39 |nt.h,v 1|.1 91/09|
|000031c0| 2f 31 39 20 31 36 3a 32 | 32 3a 30 36 20 6f 75 73 |/19 16:2|2:06 ous|
|000031d0| 74 65 72 20 45 78 70 20 | 24 20 53 50 52 49 54 45 |ter Exp |$ SPRITE|
|000031e0| 20 28 42 65 72 6b 65 6c | 65 79 29 0a 58 20 2a 2f | (Berkel|ey).X */|
|000031f0| 0a 58 0a 58 23 69 66 6e | 64 65 66 20 5f 44 49 52 |.X.X#ifn|def _DIR|
|00003200| 45 4e 54 0a 58 23 64 65 | 66 69 6e 65 20 5f 44 49 |ENT.X#de|fine _DI|
|00003210| 52 45 4e 54 0a 58 0a 58 | 23 69 6e 63 6c 75 64 65 |RENT.X.X|#include|
|00003220| 20 3c 73 79 73 2f 64 69 | 72 2e 68 3e 0a 58 0a 58 | <sys/di|r.h>.X.X|
|00003230| 23 64 65 66 69 6e 65 20 | 64 69 72 65 6e 74 20 64 |#define |dirent d|
|00003240| 69 72 65 63 74 0a 58 0a | 58 23 65 6e 64 69 66 20 |irect.X.|X#endif |
|00003250| 2f 2a 20 5f 44 49 52 45 | 4e 54 20 2a 2f 0a 45 4e |/* _DIRE|NT */.EN|
|00003260| 44 5f 4f 46 5f 46 49 4c | 45 0a 69 66 20 74 65 73 |D_OF_FIL|E.if tes|
|00003270| 74 20 38 30 39 20 2d 6e | 65 20 60 77 63 20 2d 63 |t 809 -n|e `wc -c|
|00003280| 20 3c 27 74 63 6c 36 2e | 31 2f 63 6f 6d 70 61 74 | <'tcl6.|1/compat|
|00003290| 2f 64 69 72 65 6e 74 2e | 68 27 60 3b 20 74 68 65 |/dirent.|h'`; the|
|000032a0| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|000032b0| 20 5c 22 27 74 63 6c 36 | 2e 31 2f 63 6f 6d 70 61 | \"'tcl6|.1/compa|
|000032c0| 74 2f 64 69 72 65 6e 74 | 2e 68 27 5c 22 20 75 6e |t/dirent|.h'\" un|
|000032d0| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|000032e0| 67 20 73 69 7a 65 21 0a | 66 69 0a 23 20 65 6e 64 |g size!.|fi.# end|
|000032f0| 20 6f 66 20 27 74 63 6c | 36 2e 31 2f 63 6f 6d 70 | of 'tcl|6.1/comp|
|00003300| 61 74 2f 64 69 72 65 6e | 74 2e 68 27 0a 66 69 0a |at/diren|t.h'.fi.|
|00003310| 69 66 20 74 65 73 74 20 | 2d 66 20 27 74 63 6c 36 |if test |-f 'tcl6|
|00003320| 2e 31 2f 63 6f 6d 70 61 | 74 2f 64 69 72 65 6e 74 |.1/compa|t/dirent|
|00003330| 32 2e 68 27 20 2d 61 20 | 22 24 7b 31 7d 22 20 21 |2.h' -a |"${1}" !|
|00003340| 3d 20 22 2d 63 22 20 3b | 20 74 68 65 6e 20 0a 20 |= "-c" ;| then . |
|00003350| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 57 69 6c 6c | echo sh|ar: Will|
|00003360| 20 6e 6f 74 20 63 6c 6f | 62 62 65 72 20 65 78 69 | not clo|bber exi|
|00003370| 73 74 69 6e 67 20 66 69 | 6c 65 20 5c 22 27 74 63 |sting fi|le \"'tc|
|00003380| 6c 36 2e 31 2f 63 6f 6d | 70 61 74 2f 64 69 72 65 |l6.1/com|pat/dire|
|00003390| 6e 74 32 2e 68 27 5c 22 | 0a 65 6c 73 65 0a 65 63 |nt2.h'\"|.else.ec|
|000033a0| 68 6f 20 73 68 61 72 3a | 20 45 78 74 72 61 63 74 |ho shar:| Extract|
|000033b0| 69 6e 67 20 5c 22 27 74 | 63 6c 36 2e 31 2f 63 6f |ing \"'t|cl6.1/co|
|000033c0| 6d 70 61 74 2f 64 69 72 | 65 6e 74 32 2e 68 27 5c |mpat/dir|ent2.h'\|
|000033d0| 22 20 5c 28 31 36 35 38 | 20 63 68 61 72 61 63 74 |" \(1658| charact|
|000033e0| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|000033f0| 2f 22 20 3e 27 74 63 6c | 36 2e 31 2f 63 6f 6d 70 |/" >'tcl|6.1/comp|
|00003400| 61 74 2f 64 69 72 65 6e | 74 32 2e 68 27 20 3c 3c |at/diren|t2.h' <<|
|00003410| 27 45 4e 44 5f 4f 46 5f | 46 49 4c 45 27 0a 58 2f |'END_OF_|FILE'.X/|
|00003420| 2a 0a 58 20 2a 20 64 69 | 72 65 6e 74 2e 68 20 2d |*.X * di|rent.h -|
|00003430| 2d 0a 58 20 2a 0a 58 20 | 2a 09 44 65 63 6c 61 72 |-.X *.X |*.Declar|
|00003440| 61 74 69 6f 6e 73 20 6f | 66 20 61 20 6c 69 62 72 |ations o|f a libr|
|00003450| 61 72 79 20 6f 66 20 64 | 69 72 65 63 74 6f 72 79 |ary of d|irectory|
|00003460| 2d 72 65 61 64 69 6e 67 | 20 70 72 6f 63 65 64 75 |-reading| procedu|
|00003470| 72 65 73 0a 58 20 2a 09 | 69 6e 20 74 68 65 20 50 |res.X *.|in the P|
|00003480| 4f 53 49 58 20 73 74 79 | 6c 65 20 28 22 73 74 72 |OSIX sty|le ("str|
|00003490| 75 63 74 20 64 69 72 65 | 6e 74 22 29 2e 0a 58 20 |uct dire|nt")..X |
|000034a0| 2a 0a 58 20 2a 20 43 6f | 70 79 72 69 67 68 74 20 |*.X * Co|pyright |
|000034b0| 31 39 39 31 20 52 65 67 | 65 6e 74 73 20 6f 66 20 |1991 Reg|ents of |
|000034c0| 74 68 65 20 55 6e 69 76 | 65 72 73 69 74 79 20 6f |the Univ|ersity o|
|000034d0| 66 20 43 61 6c 69 66 6f | 72 6e 69 61 0a 58 20 2a |f Califo|rnia.X *|
|000034e0| 20 50 65 72 6d 69 73 73 | 69 6f 6e 20 74 6f 20 75 | Permiss|ion to u|
|000034f0| 73 65 2c 20 63 6f 70 79 | 2c 20 6d 6f 64 69 66 79 |se, copy|, modify|
|00003500| 2c 20 61 6e 64 20 64 69 | 73 74 72 69 62 75 74 65 |, and di|stribute|
|00003510| 20 74 68 69 73 0a 58 20 | 2a 20 73 6f 66 74 77 61 | this.X |* softwa|
|00003520| 72 65 20 61 6e 64 20 69 | 74 73 20 64 6f 63 75 6d |re and i|ts docum|
|00003530| 65 6e 74 61 74 69 6f 6e | 20 66 6f 72 20 61 6e 79 |entation| for any|
|00003540| 20 70 75 72 70 6f 73 65 | 20 61 6e 64 20 77 69 74 | purpose| and wit|
|00003550| 68 6f 75 74 0a 58 20 2a | 20 66 65 65 20 69 73 20 |hout.X *| fee is |
|00003560| 68 65 72 65 62 79 20 67 | 72 61 6e 74 65 64 2c 20 |hereby g|ranted, |
|00003570| 70 72 6f 76 69 64 65 64 | 20 74 68 61 74 20 74 68 |provided| that th|
|00003580| 69 73 20 63 6f 70 79 72 | 69 67 68 74 0a 58 20 2a |is copyr|ight.X *|
|00003590| 20 6e 6f 74 69 63 65 20 | 61 70 70 65 61 72 73 20 | notice |appears |
|000035a0| 69 6e 20 61 6c 6c 20 63 | 6f 70 69 65 73 2e 20 20 |in all c|opies. |
|000035b0| 54 68 65 20 55 6e 69 76 | 65 72 73 69 74 79 20 6f |The Univ|ersity o|
|000035c0| 66 20 43 61 6c 69 66 6f | 72 6e 69 61 0a 58 20 2a |f Califo|rnia.X *|
|000035d0| 20 6d 61 6b 65 73 20 6e | 6f 20 72 65 70 72 65 73 | makes n|o repres|
|000035e0| 65 6e 74 61 74 69 6f 6e | 73 20 61 62 6f 75 74 20 |entation|s about |
|000035f0| 74 68 65 20 73 75 69 74 | 61 62 69 6c 69 74 79 20 |the suit|ability |
|00003600| 6f 66 20 74 68 69 73 0a | 58 20 2a 20 73 6f 66 74 |of this.|X * soft|
|00003610| 77 61 72 65 20 66 6f 72 | 20 61 6e 79 20 70 75 72 |ware for| any pur|
|00003620| 70 6f 73 65 2e 20 20 49 | 74 20 69 73 20 70 72 6f |pose. I|t is pro|
|00003630| 76 69 64 65 64 20 22 61 | 73 20 69 73 22 20 77 69 |vided "a|s is" wi|
|00003640| 74 68 6f 75 74 0a 58 20 | 2a 20 65 78 70 72 65 73 |thout.X |* expres|
|00003650| 73 20 6f 72 20 69 6d 70 | 6c 69 65 64 20 77 61 72 |s or imp|lied war|
|00003660| 72 61 6e 74 79 2e 0a 58 | 20 2a 0a 58 20 2a 20 24 |ranty..X| *.X * $|
|00003670| 48 65 61 64 65 72 3a 20 | 2f 73 70 72 69 74 65 2f |Header: |/sprite/|
|00003680| 73 72 63 2f 6c 69 62 2f | 74 63 6c 2f 63 6f 6d 70 |src/lib/|tcl/comp|
|00003690| 61 74 2f 52 43 53 2f 64 | 69 72 65 6e 74 32 2e 68 |at/RCS/d|irent2.h|
|000036a0| 2c 76 20 31 2e 31 20 39 | 31 2f 30 39 2f 31 39 20 |,v 1.1 9|1/09/19 |
|000036b0| 31 36 3a 32 32 3a 30 38 | 20 6f 75 73 74 65 72 20 |16:22:08| ouster |
|000036c0| 45 78 70 20 24 20 53 50 | 52 49 54 45 20 28 42 65 |Exp $ SP|RITE (Be|
|000036d0| 72 6b 65 6c 65 79 29 0a | 58 20 2a 2f 0a 58 0a 58 |rkeley).|X */.X.X|
|000036e0| 23 69 66 6e 64 65 66 20 | 5f 44 49 52 45 4e 54 0a |#ifndef |_DIRENT.|
|000036f0| 58 23 64 65 66 69 6e 65 | 20 5f 44 49 52 45 4e 54 |X#define| _DIRENT|
|00003700| 0a 58 0a 58 23 69 66 6e | 64 65 66 20 5f 54 43 4c |.X.X#ifn|def _TCL|
|00003710| 0a 58 23 69 6e 63 6c 75 | 64 65 20 3c 74 63 6c 2e |.X#inclu|de <tcl.|
|00003720| 68 3e 0a 58 23 65 6e 64 | 69 66 0a 58 0a 58 2f 2a |h>.X#end|if.X.X/*|
|00003730| 0a 58 20 2a 20 44 69 72 | 65 6e 74 20 73 74 72 75 |.X * Dir|ent stru|
|00003740| 63 74 75 72 65 2c 20 77 | 68 69 63 68 20 68 6f 6c |cture, w|hich hol|
|00003750| 64 73 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |ds infor|mation a|
|00003760| 62 6f 75 74 20 61 20 73 | 69 6e 67 6c 65 0a 58 20 |bout a s|ingle.X |
|00003770| 2a 20 64 69 72 65 63 74 | 6f 72 79 20 65 6e 74 72 |* direct|ory entr|
|00003780| 79 2e 0a 58 20 2a 2f 0a | 58 0a 58 23 64 65 66 69 |y..X */.|X.X#defi|
|00003790| 6e 65 20 4d 41 58 4e 41 | 4d 4c 45 4e 20 32 35 35 |ne MAXNA|MLEN 255|
|000037a0| 0a 58 23 64 65 66 69 6e | 65 20 44 49 52 42 4c 4b |.X#defin|e DIRBLK|
|000037b0| 53 49 5a 20 35 31 32 0a | 58 0a 58 73 74 72 75 63 |SIZ 512.|X.Xstruc|
|000037c0| 74 20 64 69 72 65 6e 74 | 20 7b 0a 58 20 20 20 20 |t dirent| {.X |
|000037d0| 6c 6f 6e 67 20 64 5f 69 | 6e 6f 3b 09 09 09 2f 2a |long d_i|no;.../*|
|000037e0| 20 49 6e 6f 64 65 20 6e | 75 6d 62 65 72 20 6f 66 | Inode n|umber of|
|000037f0| 20 65 6e 74 72 79 20 2a | 2f 0a 58 20 20 20 20 73 | entry *|/.X s|
|00003800| 68 6f 72 74 20 64 5f 72 | 65 63 6c 65 6e 3b 09 09 |hort d_r|eclen;..|
|00003810| 2f 2a 20 4c 65 6e 67 74 | 68 20 6f 66 20 74 68 69 |/* Lengt|h of thi|
|00003820| 73 20 72 65 63 6f 72 64 | 20 2a 2f 0a 58 20 20 20 |s record| */.X |
|00003830| 20 73 68 6f 72 74 20 64 | 5f 6e 61 6d 6c 65 6e 3b | short d|_namlen;|
|00003840| 09 09 2f 2a 20 4c 65 6e | 67 74 68 20 6f 66 20 73 |../* Len|gth of s|
|00003850| 74 72 69 6e 67 20 69 6e | 20 64 5f 6e 61 6d 65 20 |tring in| d_name |
|00003860| 2a 2f 0a 58 20 20 20 20 | 63 68 61 72 20 64 5f 6e |*/.X |char d_n|
|00003870| 61 6d 65 5b 4d 41 58 4e | 41 4d 4c 45 4e 20 2b 20 |ame[MAXN|AMLEN + |
|00003880| 31 5d 3b 09 2f 2a 20 4e | 61 6d 65 20 6d 75 73 74 |1];./* N|ame must|
|00003890| 20 62 65 20 6e 6f 20 6c | 6f 6e 67 65 72 20 74 68 | be no l|onger th|
|000038a0| 61 6e 20 74 68 69 73 20 | 2a 2f 0a 58 7d 3b 0a 58 |an this |*/.X};.X|
|000038b0| 0a 58 2f 2a 0a 58 20 2a | 20 53 74 61 74 65 20 74 |.X/*.X *| State t|
|000038c0| 68 61 74 20 6b 65 65 70 | 73 20 74 72 61 63 6b 20 |hat keep|s track |
|000038d0| 6f 66 20 74 68 65 20 72 | 65 61 64 69 6e 67 20 6f |of the r|eading o|
|000038e0| 66 20 61 20 64 69 72 65 | 63 74 6f 72 79 20 28 63 |f a dire|ctory (c|
|000038f0| 6c 69 65 6e 74 73 0a 58 | 20 2a 20 73 68 6f 75 6c |lients.X| * shoul|
|00003900| 64 20 6e 65 76 65 72 20 | 6c 6f 6f 6b 20 69 6e 73 |d never |look ins|
|00003910| 69 64 65 20 74 68 69 73 | 20 73 74 72 75 63 74 75 |ide this| structu|
|00003920| 72 65 3b 20 20 74 68 65 | 20 66 69 65 6c 64 73 20 |re; the| fields |
|00003930| 73 68 6f 75 6c 64 0a 58 | 20 2a 20 6f 6e 6c 79 20 |should.X| * only |
|00003940| 62 65 20 61 63 63 65 73 | 73 65 64 20 62 79 20 74 |be acces|sed by t|
|00003950| 68 65 20 6c 69 62 72 61 | 72 79 20 70 72 6f 63 65 |he libra|ry proce|
|00003960| 64 75 72 65 73 29 2e 0a | 58 20 2a 2f 0a 58 0a 58 |dures)..|X */.X.X|
|00003970| 74 79 70 65 64 65 66 20 | 73 74 72 75 63 74 20 5f |typedef |struct _|
|00003980| 64 69 72 64 65 73 63 20 | 7b 0a 58 20 20 20 20 69 |dirdesc |{.X i|
|00003990| 6e 74 20 64 64 5f 66 64 | 3b 0a 58 20 20 20 20 6c |nt dd_fd|;.X l|
|000039a0| 6f 6e 67 20 64 64 5f 6c | 6f 63 3b 0a 58 20 20 20 |ong dd_l|oc;.X |
|000039b0| 20 6c 6f 6e 67 20 64 64 | 5f 73 69 7a 65 3b 0a 58 | long dd|_size;.X|
|000039c0| 20 20 20 20 63 68 61 72 | 20 64 64 5f 62 75 66 5b | char| dd_buf[|
|000039d0| 44 49 52 42 4c 4b 53 49 | 5a 5d 3b 0a 58 7d 20 44 |DIRBLKSI|Z];.X} D|
|000039e0| 49 52 3b 0a 58 0a 58 2f | 2a 0a 58 20 2a 20 50 72 |IR;.X.X/|*.X * Pr|
|000039f0| 6f 63 65 64 75 72 65 73 | 20 64 65 66 69 6e 65 64 |ocedures| defined|
|00003a00| 20 66 6f 72 20 72 65 61 | 64 69 6e 67 20 64 69 72 | for rea|ding dir|
|00003a10| 65 63 74 6f 72 69 65 73 | 3a 0a 58 20 2a 2f 0a 58 |ectories|:.X */.X|
|00003a20| 0a 58 65 78 74 65 72 6e | 20 76 6f 69 64 09 09 63 |.Xextern| void..c|
|00003a30| 6c 6f 73 65 64 69 72 20 | 5f 41 4e 53 49 5f 41 52 |losedir |_ANSI_AR|
|00003a40| 47 53 5f 28 28 44 49 52 | 20 2a 64 69 72 70 29 29 |GS_((DIR| *dirp))|
|00003a50| 3b 0a 58 65 78 74 65 72 | 6e 20 44 49 52 20 2a 09 |;.Xexter|n DIR *.|
|00003a60| 09 6f 70 65 6e 64 69 72 | 20 5f 41 4e 53 49 5f 41 |.opendir| _ANSI_A|
|00003a70| 52 47 53 5f 28 28 63 68 | 61 72 20 2a 6e 61 6d 65 |RGS_((ch|ar *name|
|00003a80| 29 29 3b 0a 58 65 78 74 | 65 72 6e 20 73 74 72 75 |));.Xext|ern stru|
|00003a90| 63 74 20 64 69 72 65 6e | 74 20 2a 09 72 65 61 64 |ct diren|t *.read|
|00003aa0| 64 69 72 20 5f 41 4e 53 | 49 5f 41 52 47 53 5f 28 |dir _ANS|I_ARGS_(|
|00003ab0| 28 44 49 52 20 2a 64 69 | 72 70 29 29 3b 0a 58 0a |(DIR *di|rp));.X.|
|00003ac0| 58 23 65 6e 64 69 66 20 | 2f 2a 20 5f 44 49 52 45 |X#endif |/* _DIRE|
|00003ad0| 4e 54 20 2a 2f 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |NT */.EN|D_OF_FIL|
|00003ae0| 45 0a 69 66 20 74 65 73 | 74 20 31 36 35 38 20 2d |E.if tes|t 1658 -|
|00003af0| 6e 65 20 60 77 63 20 2d | 63 20 3c 27 74 63 6c 36 |ne `wc -|c <'tcl6|
|00003b00| 2e 31 2f 63 6f 6d 70 61 | 74 2f 64 69 72 65 6e 74 |.1/compa|t/dirent|
|00003b10| 32 2e 68 27 60 3b 20 74 | 68 65 6e 0a 20 20 20 20 |2.h'`; t|hen. |
|00003b20| 65 63 68 6f 20 73 68 61 | 72 3a 20 5c 22 27 74 63 |echo sha|r: \"'tc|
|00003b30| 6c 36 2e 31 2f 63 6f 6d | 70 61 74 2f 64 69 72 65 |l6.1/com|pat/dire|
|00003b40| 6e 74 32 2e 68 27 5c 22 | 20 75 6e 70 61 63 6b 65 |nt2.h'\"| unpacke|
|00003b50| 64 20 77 69 74 68 20 77 | 72 6f 6e 67 20 73 69 7a |d with w|rong siz|
|00003b60| 65 21 0a 66 69 0a 23 20 | 65 6e 64 20 6f 66 20 27 |e!.fi.# |end of '|
|00003b70| 74 63 6c 36 2e 31 2f 63 | 6f 6d 70 61 74 2f 64 69 |tcl6.1/c|ompat/di|
|00003b80| 72 65 6e 74 32 2e 68 27 | 0a 66 69 0a 69 66 20 74 |rent2.h'|.fi.if t|
|00003b90| 65 73 74 20 2d 66 20 27 | 74 63 6c 36 2e 31 2f 63 |est -f '|tcl6.1/c|
|00003ba0| 6f 6d 70 61 74 2f 6c 69 | 6d 69 74 73 2e 68 27 20 |ompat/li|mits.h' |
|00003bb0| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|00003bc0| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|00003bd0| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|00003be0| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|00003bf0| 20 66 69 6c 65 20 5c 22 | 27 74 63 6c 36 2e 31 2f | file \"|'tcl6.1/|
|00003c00| 63 6f 6d 70 61 74 2f 6c | 69 6d 69 74 73 2e 68 27 |compat/l|imits.h'|
|00003c10| 5c 22 0a 65 6c 73 65 0a | 65 63 68 6f 20 73 68 61 |\".else.|echo sha|
|00003c20| 72 3a 20 45 78 74 72 61 | 63 74 69 6e 67 20 5c 22 |r: Extra|cting \"|
|00003c30| 27 74 63 6c 36 2e 31 2f | 63 6f 6d 70 61 74 2f 6c |'tcl6.1/|compat/l|
|00003c40| 69 6d 69 74 73 2e 68 27 | 5c 22 20 5c 28 38 39 33 |imits.h'|\" \(893|
|00003c50| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|00003c60| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 74 63 6c |d "s/^X/|/" >'tcl|
|00003c70| 36 2e 31 2f 63 6f 6d 70 | 61 74 2f 6c 69 6d 69 74 |6.1/comp|at/limit|
|00003c80| 73 2e 68 27 20 3c 3c 27 | 45 4e 44 5f 4f 46 5f 46 |s.h' <<'|END_OF_F|
|00003c90| 49 4c 45 27 0a 58 2f 2a | 0a 58 20 2a 20 6c 69 6d |ILE'.X/*|.X * lim|
|00003ca0| 69 74 73 2e 68 20 2d 2d | 0a 58 20 2a 0a 58 20 2a |its.h --|.X *.X *|
|00003cb0| 09 54 68 69 73 20 69 73 | 20 61 20 64 75 6d 6d 79 |.This is| a dummy|
|00003cc0| 20 68 65 61 64 65 72 20 | 66 69 6c 65 20 74 6f 20 | header |file to |
|00003cd0| 23 69 6e 63 6c 75 64 65 | 20 69 6e 20 54 63 6c 20 |#include| in Tcl |
|00003ce0| 77 68 65 6e 20 74 68 65 | 72 65 0a 58 20 2a 09 69 |when the|re.X *.i|
|00003cf0| 73 20 6e 6f 20 6c 69 6d | 69 74 73 2e 68 20 69 6e |s no lim|its.h in|
|00003d00| 20 2f 75 73 72 2f 69 6e | 63 6c 75 64 65 2e 20 20 | /usr/in|clude. |
|00003d10| 54 68 65 20 66 69 6c 65 | 20 69 73 20 74 6f 74 61 |The file| is tota|
|00003d20| 6c 6c 79 20 65 6d 70 74 | 79 2e 0a 58 20 2a 09 49 |lly empt|y..X *.I|
|00003d30| 6e 20 63 61 73 65 20 79 | 6f 75 27 72 65 20 77 6f |n case y|ou're wo|
|00003d40| 6e 64 65 72 69 6e 67 20 | 77 68 79 20 54 63 6c 20 |ndering |why Tcl |
|00003d50| 69 6e 63 6c 75 64 65 73 | 20 74 68 65 20 66 69 6c |includes| the fil|
|00003d60| 65 20 61 74 20 61 6c 6c | 0a 58 20 2a 09 69 66 20 |e at all|.X *.if |
|00003d70| 69 74 20 63 61 6e 20 62 | 65 20 65 6d 70 74 79 2c |it can b|e empty,|
|00003d80| 20 69 74 27 73 20 62 65 | 63 61 75 73 65 20 74 68 | it's be|cause th|
|00003d90| 65 72 65 27 73 20 61 6c | 72 65 61 64 79 20 63 6f |ere's al|ready co|
|00003da0| 64 65 20 69 6e 0a 58 20 | 2a 09 74 63 6c 55 6e 69 |de in.X |*.tclUni|
|00003db0| 78 2e 68 20 74 6f 20 23 | 64 65 66 69 6e 65 20 61 |x.h to #|define a|
|00003dc0| 6e 79 74 68 69 6e 67 20 | 74 68 61 74 27 73 20 6e |nything |that's n|
|00003dd0| 6f 74 20 64 65 66 69 6e | 65 64 20 69 6e 20 6c 69 |ot defin|ed in li|
|00003de0| 6d 69 74 73 2e 68 2e 0a | 58 20 2a 0a 58 20 2a 20 |mits.h..|X *.X * |
|00003df0| 43 6f 70 79 72 69 67 68 | 74 20 31 39 39 31 20 52 |Copyrigh|t 1991 R|
|00003e00| 65 67 65 6e 74 73 20 6f | 66 20 74 68 65 20 55 6e |egents o|f the Un|
|00003e10| 69 76 65 72 73 69 74 79 | 20 6f 66 20 43 61 6c 69 |iversity| of Cali|
|00003e20| 66 6f 72 6e 69 61 0a 58 | 20 2a 20 50 65 72 6d 69 |fornia.X| * Permi|
|00003e30| 73 73 69 6f 6e 20 74 6f | 20 75 73 65 2c 20 63 6f |ssion to| use, co|
|00003e40| 70 79 2c 20 6d 6f 64 69 | 66 79 2c 20 61 6e 64 20 |py, modi|fy, and |
|00003e50| 64 69 73 74 72 69 62 75 | 74 65 20 74 68 69 73 0a |distribu|te this.|
|00003e60| 58 20 2a 20 73 6f 66 74 | 77 61 72 65 20 61 6e 64 |X * soft|ware and|
|00003e70| 20 69 74 73 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 | its doc|umentati|
|00003e80| 6f 6e 20 66 6f 72 20 61 | 6e 79 20 70 75 72 70 6f |on for a|ny purpo|
|00003e90| 73 65 20 61 6e 64 20 77 | 69 74 68 6f 75 74 0a 58 |se and w|ithout.X|
|00003ea0| 20 2a 20 66 65 65 20 69 | 73 20 68 65 72 65 62 79 | * fee i|s hereby|
|00003eb0| 20 67 72 61 6e 74 65 64 | 2c 20 70 72 6f 76 69 64 | granted|, provid|
|00003ec0| 65 64 20 74 68 61 74 20 | 74 68 69 73 20 63 6f 70 |ed that |this cop|
|00003ed0| 79 72 69 67 68 74 0a 58 | 20 2a 20 6e 6f 74 69 63 |yright.X| * notic|
|00003ee0| 65 20 61 70 70 65 61 72 | 73 20 69 6e 20 61 6c 6c |e appear|s in all|
|00003ef0| 20 63 6f 70 69 65 73 2e | 20 20 54 68 65 20 55 6e | copies.| The Un|
|00003f00| 69 76 65 72 73 69 74 79 | 20 6f 66 20 43 61 6c 69 |iversity| of Cali|
|00003f10| 66 6f 72 6e 69 61 0a 58 | 20 2a 20 6d 61 6b 65 73 |fornia.X| * makes|
|00003f20| 20 6e 6f 20 72 65 70 72 | 65 73 65 6e 74 61 74 69 | no repr|esentati|
|00003f30| 6f 6e 73 20 61 62 6f 75 | 74 20 74 68 65 20 73 75 |ons abou|t the su|
|00003f40| 69 74 61 62 69 6c 69 74 | 79 20 6f 66 20 74 68 69 |itabilit|y of thi|
|00003f50| 73 0a 58 20 2a 20 73 6f | 66 74 77 61 72 65 20 66 |s.X * so|ftware f|
|00003f60| 6f 72 20 61 6e 79 20 70 | 75 72 70 6f 73 65 2e 20 |or any p|urpose. |
|00003f70| 20 49 74 20 69 73 20 70 | 72 6f 76 69 64 65 64 20 | It is p|rovided |
|00003f80| 22 61 73 20 69 73 22 20 | 77 69 74 68 6f 75 74 0a |"as is" |without.|
|00003f90| 58 20 2a 20 65 78 70 72 | 65 73 73 20 6f 72 20 69 |X * expr|ess or i|
|00003fa0| 6d 70 6c 69 65 64 20 77 | 61 72 72 61 6e 74 79 2e |mplied w|arranty.|
|00003fb0| 0a 58 20 2a 0a 58 20 2a | 20 24 48 65 61 64 65 72 |.X *.X *| $Header|
|00003fc0| 3a 20 2f 73 70 72 69 74 | 65 2f 73 72 63 2f 6c 69 |: /sprit|e/src/li|
|00003fd0| 62 2f 74 63 6c 2f 63 6f | 6d 70 61 74 2f 52 43 53 |b/tcl/co|mpat/RCS|
|00003fe0| 2f 6c 69 6d 69 74 73 2e | 68 2c 76 20 31 2e 31 20 |/limits.|h,v 1.1 |
|00003ff0| 39 31 2f 30 39 2f 31 39 | 20 31 36 3a 32 32 3a 30 |91/09/19| 16:22:0|
|00004000| 38 20 6f 75 73 74 65 72 | 20 45 78 70 20 24 20 53 |8 ouster| Exp $ S|
|00004010| 50 52 49 54 45 20 28 42 | 65 72 6b 65 6c 65 79 29 |PRITE (B|erkeley)|
|00004020| 0a 58 20 2a 2f 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |.X */.EN|D_OF_FIL|
|00004030| 45 0a 69 66 20 74 65 73 | 74 20 38 39 33 20 2d 6e |E.if tes|t 893 -n|
|00004040| 65 20 60 77 63 20 2d 63 | 20 3c 27 74 63 6c 36 2e |e `wc -c| <'tcl6.|
|00004050| 31 2f 63 6f 6d 70 61 74 | 2f 6c 69 6d 69 74 73 2e |1/compat|/limits.|
|00004060| 68 27 60 3b 20 74 68 65 | 6e 0a 20 20 20 20 65 63 |h'`; the|n. ec|
|00004070| 68 6f 20 73 68 61 72 3a | 20 5c 22 27 74 63 6c 36 |ho shar:| \"'tcl6|
|00004080| 2e 31 2f 63 6f 6d 70 61 | 74 2f 6c 69 6d 69 74 73 |.1/compa|t/limits|
|00004090| 2e 68 27 5c 22 20 75 6e | 70 61 63 6b 65 64 20 77 |.h'\" un|packed w|
|000040a0| 69 74 68 20 77 72 6f 6e | 67 20 73 69 7a 65 21 0a |ith wron|g size!.|
|000040b0| 66 69 0a 23 20 65 6e 64 | 20 6f 66 20 27 74 63 6c |fi.# end| of 'tcl|
|000040c0| 36 2e 31 2f 63 6f 6d 70 | 61 74 2f 6c 69 6d 69 74 |6.1/comp|at/limit|
|000040d0| 73 2e 68 27 0a 66 69 0a | 69 66 20 74 65 73 74 20 |s.h'.fi.|if test |
|000040e0| 2d 66 20 27 74 63 6c 36 | 2e 31 2f 63 6f 6d 70 61 |-f 'tcl6|.1/compa|
|000040f0| 74 2f 6f 70 65 6e 64 69 | 72 2e 63 27 20 2d 61 20 |t/opendi|r.c' -a |
|00004100| 22 24 7b 31 7d 22 20 21 | 3d 20 22 2d 63 22 20 3b |"${1}" !|= "-c" ;|
|00004110| 20 74 68 65 6e 20 0a 20 | 20 65 63 68 6f 20 73 68 | then . | echo sh|
|00004120| 61 72 3a 20 57 69 6c 6c | 20 6e 6f 74 20 63 6c 6f |ar: Will| not clo|
|00004130| 62 62 65 72 20 65 78 69 | 73 74 69 6e 67 20 66 69 |bber exi|sting fi|
|00004140| 6c 65 20 5c 22 27 74 63 | 6c 36 2e 31 2f 63 6f 6d |le \"'tc|l6.1/com|
|00004150| 70 61 74 2f 6f 70 65 6e | 64 69 72 2e 63 27 5c 22 |pat/open|dir.c'\"|
|00004160| 0a 65 6c 73 65 0a 65 63 | 68 6f 20 73 68 61 72 3a |.else.ec|ho shar:|
|00004170| 20 45 78 74 72 61 63 74 | 69 6e 67 20 5c 22 27 74 | Extract|ing \"'t|
|00004180| 63 6c 36 2e 31 2f 63 6f | 6d 70 61 74 2f 6f 70 65 |cl6.1/co|mpat/ope|
|00004190| 6e 64 69 72 2e 63 27 5c | 22 20 5c 28 31 39 38 33 |ndir.c'\|" \(1983|
|000041a0| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|000041b0| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 74 63 6c |d "s/^X/|/" >'tcl|
|000041c0| 36 2e 31 2f 63 6f 6d 70 | 61 74 2f 6f 70 65 6e 64 |6.1/comp|at/opend|
|000041d0| 69 72 2e 63 27 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |ir.c' <<|'END_OF_|
|000041e0| 46 49 4c 45 27 0a 58 2f | 2a 20 0a 58 20 2a 20 6f |FILE'.X/|* .X * o|
|000041f0| 70 65 6e 64 69 72 2e 63 | 20 2d 2d 0a 58 20 2a 0a |pendir.c| --.X *.|
|00004200| 58 20 2a 09 54 68 69 73 | 20 66 69 6c 65 20 70 72 |X *.This| file pr|
|00004210| 6f 76 69 64 65 73 20 64 | 69 72 65 6e 74 2d 73 74 |ovides d|irent-st|
|00004220| 79 6c 65 20 64 69 72 65 | 63 74 6f 72 79 2d 72 65 |yle dire|ctory-re|
|00004230| 61 64 69 6e 67 20 70 72 | 6f 63 65 64 75 72 65 73 |ading pr|ocedures|
|00004240| 0a 58 20 2a 09 66 6f 72 | 20 56 37 20 55 6e 69 78 |.X *.for| V7 Unix|
|00004250| 20 73 79 73 74 65 6d 73 | 20 74 68 61 74 20 64 6f | systems| that do|
|00004260| 6e 27 74 20 68 61 76 65 | 20 73 75 63 68 20 70 72 |n't have| such pr|
|00004270| 6f 63 65 64 75 72 65 73 | 2e 20 20 54 68 65 0a 58 |ocedures|. The.X|
|00004280| 20 2a 09 6f 72 69 67 69 | 6e 20 6f 66 20 74 68 69 | *.origi|n of thi|
|00004290| 73 20 63 6f 64 65 20 69 | 73 20 75 6e 63 6c 65 61 |s code i|s unclea|
|000042a0| 72 2c 20 62 75 74 20 69 | 74 20 73 65 65 6d 73 20 |r, but i|t seems |
|000042b0| 74 6f 20 68 61 76 65 20 | 63 6f 6d 65 0a 58 20 2a |to have |come.X *|
|000042c0| 09 6f 72 69 67 69 6e 61 | 6c 6c 79 20 66 72 6f 6d |.origina|lly from|
|000042d0| 20 4c 61 72 72 79 20 57 | 61 6c 6c 2e 0a 58 20 2a | Larry W|all..X *|
|000042e0| 0a 58 20 2a 2f 0a 58 0a | 58 23 69 6e 63 6c 75 64 |.X */.X.|X#includ|
|000042f0| 65 20 3c 74 63 6c 49 6e | 74 2e 68 3e 0a 58 23 69 |e <tclIn|t.h>.X#i|
|00004300| 6e 63 6c 75 64 65 20 3c | 74 63 6c 55 6e 69 78 2e |nclude <|tclUnix.|
|00004310| 68 3e 0a 58 0a 58 23 75 | 6e 64 65 66 20 44 49 52 |h>.X.X#u|ndef DIR|
|00004320| 53 49 5a 0a 58 23 64 65 | 66 69 6e 65 20 44 49 52 |SIZ.X#de|fine DIR|
|00004330| 53 49 5a 28 64 70 29 20 | 5c 0a 58 20 20 20 20 28 |SIZ(dp) |\.X (|
|00004340| 28 73 69 7a 65 6f 66 20 | 28 73 74 72 75 63 74 20 |(sizeof |(struct |
|00004350| 64 69 72 65 6e 74 29 20 | 2d 20 28 4d 41 58 4e 41 |dirent) |- (MAXNA|
|00004360| 4d 4c 45 4e 2b 31 29 29 | 20 2b 20 28 28 28 64 70 |MLEN+1))| + (((dp|
|00004370| 29 2d 3e 64 5f 6e 61 6d | 6c 65 6e 2b 31 20 2b 20 |)->d_nam|len+1 + |
|00004380| 33 29 20 26 7e 20 33 29 | 29 0a 58 0a 58 2f 2a 0a |3) &~ 3)|).X.X/*.|
|00004390| 58 20 2a 20 6f 70 65 6e | 20 61 20 64 69 72 65 63 |X * open| a direc|
|000043a0| 74 6f 72 79 2e 0a 58 20 | 2a 2f 0a 58 44 49 52 20 |tory..X |*/.XDIR |
|000043b0| 2a 0a 58 6f 70 65 6e 64 | 69 72 28 6e 61 6d 65 29 |*.Xopend|ir(name)|
|000043c0| 0a 58 63 68 61 72 20 2a | 6e 61 6d 65 3b 0a 58 7b |.Xchar *|name;.X{|
|000043d0| 0a 58 09 72 65 67 69 73 | 74 65 72 20 44 49 52 20 |.X.regis|ter DIR |
|000043e0| 2a 64 69 72 70 3b 0a 58 | 09 72 65 67 69 73 74 65 |*dirp;.X|.registe|
|000043f0| 72 20 69 6e 74 20 66 64 | 3b 0a 58 09 63 68 61 72 |r int fd|;.X.char|
|00004400| 20 2a 6d 79 6e 61 6d 65 | 3b 0a 58 0a 58 09 6d 79 | *myname|;.X.X.my|
|00004410| 6e 61 6d 65 20 3d 20 28 | 28 2a 6e 61 6d 65 20 3d |name = (|(*name =|
|00004420| 3d 20 27 5c 30 27 29 20 | 3f 20 22 2e 22 20 3a 20 |= '\0') |? "." : |
|00004430| 6e 61 6d 65 29 3b 0a 58 | 09 69 66 20 28 28 66 64 |name);.X|.if ((fd|
|00004440| 20 3d 20 6f 70 65 6e 28 | 6d 79 6e 61 6d 65 2c 20 | = open(|myname, |
|00004450| 30 2c 20 30 29 29 20 3d | 3d 20 2d 31 29 0a 58 09 |0, 0)) =|= -1).X.|
|00004460| 09 72 65 74 75 72 6e 20 | 4e 55 4c 4c 3b 0a 58 09 |.return |NULL;.X.|
|00004470| 69 66 20 28 28 64 69 72 | 70 20 3d 20 28 44 49 52 |if ((dir|p = (DIR|
|00004480| 20 2a 29 63 6b 61 6c 6c | 6f 63 28 73 69 7a 65 6f | *)ckall|oc(sizeo|
|00004490| 66 28 44 49 52 29 29 29 | 20 3d 3d 20 4e 55 4c 4c |f(DIR)))| == NULL|
|000044a0| 29 20 7b 0a 58 09 09 63 | 6c 6f 73 65 20 28 66 64 |) {.X..c|lose (fd|
|000044b0| 29 3b 0a 58 09 09 72 65 | 74 75 72 6e 20 4e 55 4c |);.X..re|turn NUL|
|000044c0| 4c 3b 0a 58 09 7d 0a 58 | 09 64 69 72 70 2d 3e 64 |L;.X.}.X|.dirp->d|
|000044d0| 64 5f 66 64 20 3d 20 66 | 64 3b 0a 58 09 64 69 72 |d_fd = f|d;.X.dir|
|000044e0| 70 2d 3e 64 64 5f 6c 6f | 63 20 3d 20 30 3b 0a 58 |p->dd_lo|c = 0;.X|
|000044f0| 09 72 65 74 75 72 6e 20 | 64 69 72 70 3b 0a 58 7d |.return |dirp;.X}|
|00004500| 0a 58 0a 58 2f 2a 0a 58 | 20 2a 20 72 65 61 64 20 |.X.X/*.X| * read |
|00004510| 61 6e 20 6f 6c 64 20 73 | 74 79 6c 65 20 64 69 72 |an old s|tyle dir|
|00004520| 65 63 74 6f 72 79 20 65 | 6e 74 72 79 20 61 6e 64 |ectory e|ntry and|
|00004530| 20 70 72 65 73 65 6e 74 | 20 69 74 20 61 73 20 61 | present| it as a|
|00004540| 20 6e 65 77 20 6f 6e 65 | 0a 58 20 2a 2f 0a 58 23 | new one|.X */.X#|
|00004550| 69 66 6e 64 65 66 20 70 | 79 72 0a 58 23 64 65 66 |ifndef p|yr.X#def|
|00004560| 69 6e 65 09 4f 44 49 52 | 53 49 5a 09 31 34 0a 58 |ine.ODIR|SIZ.14.X|
|00004570| 0a 58 73 74 72 75 63 74 | 09 6f 6c 64 64 69 72 65 |.Xstruct|.olddire|
|00004580| 63 74 20 7b 0a 58 09 69 | 6e 6f 5f 74 09 6f 64 5f |ct {.X.i|no_t.od_|
|00004590| 69 6e 6f 3b 0a 58 09 63 | 68 61 72 09 6f 64 5f 6e |ino;.X.c|har.od_n|
|000045a0| 61 6d 65 5b 4f 44 49 52 | 53 49 5a 5d 3b 0a 58 7d |ame[ODIR|SIZ];.X}|
|000045b0| 3b 0a 58 23 65 6c 73 65 | 09 2f 2a 20 61 20 50 79 |;.X#else|./* a Py|
|000045c0| 72 61 6d 69 64 20 69 6e | 20 74 68 65 20 41 54 54 |ramid in| the ATT|
|000045d0| 20 75 6e 69 76 65 72 73 | 65 20 2a 2f 0a 58 23 64 | univers|e */.X#d|
|000045e0| 65 66 69 6e 65 09 4f 44 | 49 52 53 49 5a 09 32 34 |efine.OD|IRSIZ.24|
|000045f0| 38 0a 58 0a 58 73 74 72 | 75 63 74 09 6f 6c 64 64 |8.X.Xstr|uct.oldd|
|00004600| 69 72 65 63 74 20 7b 0a | 58 09 6c 6f 6e 67 09 6f |irect {.|X.long.o|
|00004610| 64 5f 69 6e 6f 3b 0a 58 | 09 73 68 6f 72 74 09 6f |d_ino;.X|.short.o|
|00004620| 64 5f 66 69 6c 6c 31 2c | 20 6f 64 5f 66 69 6c 6c |d_fill1,| od_fill|
|00004630| 32 3b 0a 58 09 63 68 61 | 72 09 6f 64 5f 6e 61 6d |2;.X.cha|r.od_nam|
|00004640| 65 5b 4f 44 49 52 53 49 | 5a 5d 3b 0a 58 7d 3b 0a |e[ODIRSI|Z];.X};.|
|00004650| 58 23 65 6e 64 69 66 0a | 58 0a 58 2f 2a 0a 58 20 |X#endif.|X.X/*.X |
|00004660| 2a 20 67 65 74 20 6e 65 | 78 74 20 65 6e 74 72 79 |* get ne|xt entry|
|00004670| 20 69 6e 20 61 20 64 69 | 72 65 63 74 6f 72 79 2e | in a di|rectory.|
|00004680| 0a 58 20 2a 2f 0a 58 73 | 74 72 75 63 74 20 64 69 |.X */.Xs|truct di|
|00004690| 72 65 6e 74 20 2a 0a 58 | 72 65 61 64 64 69 72 28 |rent *.X|readdir(|
|000046a0| 64 69 72 70 29 0a 58 72 | 65 67 69 73 74 65 72 20 |dirp).Xr|egister |
|000046b0| 44 49 52 20 2a 64 69 72 | 70 3b 0a 58 7b 0a 58 09 |DIR *dir|p;.X{.X.|
|000046c0| 72 65 67 69 73 74 65 72 | 20 73 74 72 75 63 74 20 |register| struct |
|000046d0| 6f 6c 64 64 69 72 65 63 | 74 20 2a 64 70 3b 0a 58 |olddirec|t *dp;.X|
|000046e0| 09 73 74 61 74 69 63 20 | 73 74 72 75 63 74 20 64 |.static |struct d|
|000046f0| 69 72 65 6e 74 20 64 69 | 72 3b 0a 58 0a 58 09 66 |irent di|r;.X.X.f|
|00004700| 6f 72 20 28 3b 3b 29 20 | 7b 0a 58 09 09 69 66 20 |or (;;) |{.X..if |
|00004710| 28 64 69 72 70 2d 3e 64 | 64 5f 6c 6f 63 20 3d 3d |(dirp->d|d_loc ==|
|00004720| 20 30 29 20 7b 0a 58 09 | 09 09 64 69 72 70 2d 3e | 0) {.X.|..dirp->|
|00004730| 64 64 5f 73 69 7a 65 20 | 3d 20 72 65 61 64 28 64 |dd_size |= read(d|
|00004740| 69 72 70 2d 3e 64 64 5f | 66 64 2c 20 64 69 72 70 |irp->dd_|fd, dirp|
|00004750| 2d 3e 64 64 5f 62 75 66 | 2c 0a 58 09 09 09 20 20 |->dd_buf|,.X... |
|00004760| 20 20 44 49 52 42 4c 4b | 53 49 5a 29 3b 0a 58 09 | DIRBLK|SIZ);.X.|
|00004770| 09 09 69 66 20 28 64 69 | 72 70 2d 3e 64 64 5f 73 |..if (di|rp->dd_s|
|00004780| 69 7a 65 20 3c 3d 20 30 | 29 0a 58 09 09 09 09 72 |ize <= 0|).X....r|
|00004790| 65 74 75 72 6e 20 4e 55 | 4c 4c 3b 0a 58 09 09 7d |eturn NU|LL;.X..}|
|000047a0| 0a 58 09 09 69 66 20 28 | 64 69 72 70 2d 3e 64 64 |.X..if (|dirp->dd|
|000047b0| 5f 6c 6f 63 20 3e 3d 20 | 64 69 72 70 2d 3e 64 64 |_loc >= |dirp->dd|
|000047c0| 5f 73 69 7a 65 29 20 7b | 0a 58 09 09 09 64 69 72 |_size) {|.X...dir|
|000047d0| 70 2d 3e 64 64 5f 6c 6f | 63 20 3d 20 30 3b 0a 58 |p->dd_lo|c = 0;.X|
|000047e0| 09 09 09 63 6f 6e 74 69 | 6e 75 65 3b 0a 58 09 09 |...conti|nue;.X..|
|000047f0| 7d 0a 58 09 09 64 70 20 | 3d 20 28 73 74 72 75 63 |}.X..dp |= (struc|
|00004800| 74 20 6f 6c 64 64 69 72 | 65 63 74 20 2a 29 28 64 |t olddir|ect *)(d|
|00004810| 69 72 70 2d 3e 64 64 5f | 62 75 66 20 2b 20 64 69 |irp->dd_|buf + di|
|00004820| 72 70 2d 3e 64 64 5f 6c | 6f 63 29 3b 0a 58 09 09 |rp->dd_l|oc);.X..|
|00004830| 64 69 72 70 2d 3e 64 64 | 5f 6c 6f 63 20 2b 3d 20 |dirp->dd|_loc += |
|00004840| 73 69 7a 65 6f 66 28 73 | 74 72 75 63 74 20 6f 6c |sizeof(s|truct ol|
|00004850| 64 64 69 72 65 63 74 29 | 3b 0a 58 09 09 69 66 20 |ddirect)|;.X..if |
|00004860| 28 64 70 2d 3e 6f 64 5f | 69 6e 6f 20 3d 3d 20 30 |(dp->od_|ino == 0|
|00004870| 29 0a 58 09 09 09 63 6f | 6e 74 69 6e 75 65 3b 0a |).X...co|ntinue;.|
|00004880| 58 09 09 64 69 72 2e 64 | 5f 69 6e 6f 20 3d 20 64 |X..dir.d|_ino = d|
|00004890| 70 2d 3e 6f 64 5f 69 6e | 6f 3b 0a 58 09 09 73 74 |p->od_in|o;.X..st|
|000048a0| 72 6e 63 70 79 28 64 69 | 72 2e 64 5f 6e 61 6d 65 |rncpy(di|r.d_name|
|000048b0| 2c 20 64 70 2d 3e 6f 64 | 5f 6e 61 6d 65 2c 20 4f |, dp->od|_name, O|
|000048c0| 44 49 52 53 49 5a 29 3b | 0a 58 09 09 64 69 72 2e |DIRSIZ);|.X..dir.|
|000048d0| 64 5f 6e 61 6d 65 5b 4f | 44 49 52 53 49 5a 5d 20 |d_name[O|DIRSIZ] |
|000048e0| 3d 20 27 5c 30 27 3b 20 | 2f 2a 20 69 6e 73 75 72 |= '\0'; |/* insur|
|000048f0| 65 20 6e 75 6c 6c 20 74 | 65 72 6d 69 6e 61 74 69 |e null t|erminati|
|00004900| 6f 6e 20 2a 2f 0a 58 09 | 09 64 69 72 2e 64 5f 6e |on */.X.|.dir.d_n|
|00004910| 61 6d 6c 65 6e 20 3d 20 | 73 74 72 6c 65 6e 28 64 |amlen = |strlen(d|
|00004920| 69 72 2e 64 5f 6e 61 6d | 65 29 3b 0a 58 09 09 64 |ir.d_nam|e);.X..d|
|00004930| 69 72 2e 64 5f 72 65 63 | 6c 65 6e 20 3d 20 44 49 |ir.d_rec|len = DI|
|00004940| 52 53 49 5a 28 26 64 69 | 72 29 3b 0a 58 09 09 72 |RSIZ(&di|r);.X..r|
|00004950| 65 74 75 72 6e 20 28 26 | 64 69 72 29 3b 0a 58 09 |eturn (&|dir);.X.|
|00004960| 7d 0a 58 7d 0a 58 0a 58 | 2f 2a 0a 58 20 2a 20 63 |}.X}.X.X|/*.X * c|
|00004970| 6c 6f 73 65 20 61 20 64 | 69 72 65 63 74 6f 72 79 |lose a d|irectory|
|00004980| 2e 0a 58 20 2a 2f 0a 58 | 76 6f 69 64 0a 58 63 6c |..X */.X|void.Xcl|
|00004990| 6f 73 65 64 69 72 28 64 | 69 72 70 29 0a 58 72 65 |osedir(d|irp).Xre|
|000049a0| 67 69 73 74 65 72 20 44 | 49 52 20 2a 64 69 72 70 |gister D|IR *dirp|
|000049b0| 3b 0a 58 7b 0a 58 09 63 | 6c 6f 73 65 28 64 69 72 |;.X{.X.c|lose(dir|
|000049c0| 70 2d 3e 64 64 5f 66 64 | 29 3b 0a 58 09 64 69 72 |p->dd_fd|);.X.dir|
|000049d0| 70 2d 3e 64 64 5f 66 64 | 20 3d 20 2d 31 3b 0a 58 |p->dd_fd| = -1;.X|
|000049e0| 09 64 69 72 70 2d 3e 64 | 64 5f 6c 6f 63 20 3d 20 |.dirp->d|d_loc = |
|000049f0| 30 3b 0a 58 09 63 6b 66 | 72 65 65 28 28 63 68 61 |0;.X.ckf|ree((cha|
|00004a00| 72 20 2a 29 20 64 69 72 | 70 29 3b 0a 58 7d 0a 45 |r *) dir|p);.X}.E|
|00004a10| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 69 66 20 74 65 |ND_OF_FI|LE.if te|
|00004a20| 73 74 20 31 39 38 33 20 | 2d 6e 65 20 60 77 63 20 |st 1983 |-ne `wc |
|00004a30| 2d 63 20 3c 27 74 63 6c | 36 2e 31 2f 63 6f 6d 70 |-c <'tcl|6.1/comp|
|00004a40| 61 74 2f 6f 70 65 6e 64 | 69 72 2e 63 27 60 3b 20 |at/opend|ir.c'`; |
|00004a50| 74 68 65 6e 0a 20 20 20 | 20 65 63 68 6f 20 73 68 |then. | echo sh|
|00004a60| 61 72 3a 20 5c 22 27 74 | 63 6c 36 2e 31 2f 63 6f |ar: \"'t|cl6.1/co|
|00004a70| 6d 70 61 74 2f 6f 70 65 | 6e 64 69 72 2e 63 27 5c |mpat/ope|ndir.c'\|
|00004a80| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|00004a90| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 66 69 0a 23 |wrong si|ze!.fi.#|
|00004aa0| 20 65 6e 64 20 6f 66 20 | 27 74 63 6c 36 2e 31 2f | end of |'tcl6.1/|
|00004ab0| 63 6f 6d 70 61 74 2f 6f | 70 65 6e 64 69 72 2e 63 |compat/o|pendir.c|
|00004ac0| 27 0a 66 69 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |'.fi.if |test -f |
|00004ad0| 27 74 63 6c 36 2e 31 2f | 63 6f 6d 70 61 74 2f 73 |'tcl6.1/|compat/s|
|00004ae0| 74 64 6c 69 62 2e 68 27 | 20 2d 61 20 22 24 7b 31 |tdlib.h'| -a "${1|
|00004af0| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|00004b00| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|00004b10| 57 69 6c 6c 20 6e 6f 74 | 20 63 6c 6f 62 62 65 72 |Will not| clobber|
|00004b20| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|00004b30| 22 27 74 63 6c 36 2e 31 | 2f 63 6f 6d 70 61 74 2f |"'tcl6.1|/compat/|
|00004b40| 73 74 64 6c 69 62 2e 68 | 27 5c 22 0a 65 6c 73 65 |stdlib.h|'\".else|
|00004b50| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 |.echo sh|ar: Extr|
|00004b60| 61 63 74 69 6e 67 20 5c | 22 27 74 63 6c 36 2e 31 |acting \|"'tcl6.1|
|00004b70| 2f 63 6f 6d 70 61 74 2f | 73 74 64 6c 69 62 2e 68 |/compat/|stdlib.h|
|00004b80| 27 5c 22 20 5c 28 31 39 | 31 35 20 63 68 61 72 61 |'\" \(19|15 chara|
|00004b90| 63 74 65 72 73 5c 29 0a | 73 65 64 20 22 73 2f 5e |cters\).|sed "s/^|
|00004ba0| 58 2f 2f 22 20 3e 27 74 | 63 6c 36 2e 31 2f 63 6f |X//" >'t|cl6.1/co|
|00004bb0| 6d 70 61 74 2f 73 74 64 | 6c 69 62 2e 68 27 20 3c |mpat/std|lib.h' <|
|00004bc0| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 58 |<'END_OF|_FILE'.X|
|00004bd0| 2f 2a 0a 58 20 2a 20 73 | 74 64 6c 69 62 2e 68 20 |/*.X * s|tdlib.h |
|00004be0| 2d 2d 0a 58 20 2a 0a 58 | 20 2a 09 44 65 63 6c 61 |--.X *.X| *.Decla|
|00004bf0| 72 65 73 20 66 61 63 69 | 6c 69 74 69 65 73 20 65 |res faci|lities e|
|00004c00| 78 70 6f 72 74 65 64 20 | 62 79 20 74 68 65 20 22 |xported |by the "|
|00004c10| 73 74 64 6c 69 62 22 20 | 70 6f 72 74 69 6f 6e 20 |stdlib" |portion |
|00004c20| 6f 66 0a 58 20 2a 09 74 | 68 65 20 43 20 6c 69 62 |of.X *.t|he C lib|
|00004c30| 72 61 72 79 2e 20 20 54 | 68 69 73 20 66 69 6c 65 |rary. T|his file|
|00004c40| 20 69 73 6e 27 74 20 63 | 6f 6d 70 6c 65 74 65 20 | isn't c|omplete |
|00004c50| 69 6e 20 74 68 65 20 41 | 4e 53 49 2d 43 0a 58 20 |in the A|NSI-C.X |
|00004c60| 2a 09 73 65 6e 73 65 3b | 20 20 69 74 20 6f 6e 6c |*.sense;| it onl|
|00004c70| 79 20 64 65 63 6c 61 72 | 65 73 20 74 68 69 6e 67 |y declar|es thing|
|00004c80| 73 20 74 68 61 74 20 61 | 72 65 20 6e 65 65 64 65 |s that a|re neede|
|00004c90| 64 20 62 79 20 54 63 6c | 2e 0a 58 20 2a 09 54 68 |d by Tcl|..X *.Th|
|00004ca0| 69 73 20 66 69 6c 65 20 | 69 73 20 6e 65 65 64 65 |is file |is neede|
|00004cb0| 64 20 65 76 65 6e 20 6f | 6e 20 6d 61 6e 79 20 73 |d even o|n many s|
|00004cc0| 79 73 74 65 6d 73 20 77 | 69 74 68 20 74 68 65 69 |ystems w|ith thei|
|00004cd0| 72 20 6f 77 6e 0a 58 20 | 2a 09 73 74 64 6c 69 62 |r own.X |*.stdlib|
|00004ce0| 2e 68 20 28 65 2e 67 2e | 20 53 75 6e 4f 53 29 20 |.h (e.g.| SunOS) |
|00004cf0| 62 65 63 61 75 73 65 20 | 6e 6f 74 20 61 6c 6c 20 |because |not all |
|00004d00| 73 74 64 6c 69 62 2e 68 | 20 66 69 6c 65 73 0a 58 |stdlib.h| files.X|
|00004d10| 20 2a 09 64 65 63 6c 61 | 72 65 20 61 6c 6c 20 74 | *.decla|re all t|
|00004d20| 68 65 20 70 72 6f 63 65 | 64 75 72 65 73 20 6e 65 |he proce|dures ne|
|00004d30| 65 64 65 64 20 68 65 72 | 65 20 28 73 75 63 68 20 |eded her|e (such |
|00004d40| 61 73 20 73 74 72 74 6f | 64 29 2e 0a 58 20 2a 0a |as strto|d)..X *.|
|00004d50| 58 20 2a 20 43 6f 70 79 | 72 69 67 68 74 20 31 39 |X * Copy|right 19|
|00004d60| 39 31 20 52 65 67 65 6e | 74 73 20 6f 66 20 74 68 |91 Regen|ts of th|
|00004d70| 65 20 55 6e 69 76 65 72 | 73 69 74 79 20 6f 66 20 |e Univer|sity of |
|00004d80| 43 61 6c 69 66 6f 72 6e | 69 61 0a 58 20 2a 20 50 |Californ|ia.X * P|
|00004d90| 65 72 6d 69 73 73 69 6f | 6e 20 74 6f 20 75 73 65 |ermissio|n to use|
|00004da0| 2c 20 63 6f 70 79 2c 20 | 6d 6f 64 69 66 79 2c 20 |, copy, |modify, |
|00004db0| 61 6e 64 20 64 69 73 74 | 72 69 62 75 74 65 20 74 |and dist|ribute t|
|00004dc0| 68 69 73 0a 58 20 2a 20 | 73 6f 66 74 77 61 72 65 |his.X * |software|
|00004dd0| 20 61 6e 64 20 69 74 73 | 20 64 6f 63 75 6d 65 6e | and its| documen|
|00004de0| 74 61 74 69 6f 6e 20 66 | 6f 72 20 61 6e 79 20 70 |tation f|or any p|
|00004df0| 75 72 70 6f 73 65 20 61 | 6e 64 20 77 69 74 68 6f |urpose a|nd witho|
|00004e00| 75 74 0a 58 20 2a 20 66 | 65 65 20 69 73 20 68 65 |ut.X * f|ee is he|
|00004e10| 72 65 62 79 20 67 72 61 | 6e 74 65 64 2c 20 70 72 |reby gra|nted, pr|
|00004e20| 6f 76 69 64 65 64 20 74 | 68 61 74 20 74 68 65 20 |ovided t|hat the |
|00004e30| 61 62 6f 76 65 20 63 6f | 70 79 72 69 67 68 74 0a |above co|pyright.|
|00004e40| 58 20 2a 20 6e 6f 74 69 | 63 65 20 61 70 70 65 61 |X * noti|ce appea|
|00004e50| 72 73 20 69 6e 20 61 6c | 6c 20 63 6f 70 69 65 73 |rs in al|l copies|
|00004e60| 2e 20 20 54 68 65 20 55 | 6e 69 76 65 72 73 69 74 |. The U|niversit|
|00004e70| 79 20 6f 66 20 43 61 6c | 69 66 6f 72 6e 69 61 0a |y of Cal|ifornia.|
|00004e80| 58 20 2a 20 6d 61 6b 65 | 73 20 6e 6f 20 72 65 70 |X * make|s no rep|
|00004e90| 72 65 73 65 6e 74 61 74 | 69 6f 6e 73 20 61 62 6f |resentat|ions abo|
|00004ea0| 75 74 20 74 68 65 20 73 | 75 69 74 61 62 69 6c 69 |ut the s|uitabili|
|00004eb0| 74 79 20 6f 66 20 74 68 | 69 73 0a 58 20 2a 20 73 |ty of th|is.X * s|
|00004ec0| 6f 66 74 77 61 72 65 20 | 66 6f 72 20 61 6e 79 20 |oftware |for any |
|00004ed0| 70 75 72 70 6f 73 65 2e | 20 20 49 74 20 69 73 20 |purpose.| It is |
|00004ee0| 70 72 6f 76 69 64 65 64 | 20 22 61 73 20 69 73 22 |provided| "as is"|
|00004ef0| 20 77 69 74 68 6f 75 74 | 0a 58 20 2a 20 65 78 70 | without|.X * exp|
|00004f00| 72 65 73 73 20 6f 72 20 | 69 6d 70 6c 69 65 64 20 |ress or |implied |
|00004f10| 77 61 72 72 61 6e 74 79 | 2e 0a 58 20 2a 0a 58 20 |warranty|..X *.X |
|00004f20| 2a 20 24 48 65 61 64 65 | 72 3a 20 2f 75 73 65 72 |* $Heade|r: /user|
|00004f30| 36 2f 6f 75 73 74 65 72 | 2f 74 63 6c 2f 63 6f 6d |6/ouster|/tcl/com|
|00004f40| 70 61 74 2f 52 43 53 2f | 73 74 64 6c 69 62 2e 68 |pat/RCS/|stdlib.h|
|00004f50| 2c 76 20 31 2e 32 20 39 | 31 2f 31 30 2f 31 37 20 |,v 1.2 9|1/10/17 |
|00004f60| 31 30 3a 35 32 3a 31 32 | 20 6f 75 73 74 65 72 20 |10:52:12| ouster |
|00004f70| 45 78 70 20 24 20 53 50 | 52 49 54 45 20 28 42 65 |Exp $ SP|RITE (Be|
|00004f80| 72 6b 65 6c 65 79 29 0a | 58 20 2a 2f 0a 58 0a 58 |rkeley).|X */.X.X|
|00004f90| 23 69 66 6e 64 65 66 20 | 5f 53 54 44 4c 49 42 0a |#ifndef |_STDLIB.|
|00004fa0| 58 23 64 65 66 69 6e 65 | 20 5f 53 54 44 4c 49 42 |X#define| _STDLIB|
|00004fb0| 0a 58 0a 58 23 69 6e 63 | 6c 75 64 65 20 3c 74 63 |.X.X#inc|lude <tc|
|00004fc0| 6c 2e 68 3e 0a 58 0a 58 | 65 78 74 65 72 6e 20 76 |l.h>.X.X|extern v|
|00004fd0| 6f 69 64 09 09 61 62 6f | 72 74 20 5f 41 4e 53 49 |oid..abo|rt _ANSI|
|00004fe0| 5f 41 52 47 53 5f 28 28 | 76 6f 69 64 29 29 3b 0a |_ARGS_((|void));.|
|00004ff0| 58 65 78 74 65 72 6e 20 | 64 6f 75 62 6c 65 09 09 |Xextern |double..|
|00005000| 61 74 6f 66 20 5f 41 4e | 53 49 5f 41 52 47 53 5f |atof _AN|SI_ARGS_|
|00005010| 28 28 63 68 61 72 20 2a | 73 74 72 69 6e 67 29 29 |((char *|string))|
|00005020| 3b 0a 58 65 78 74 65 72 | 6e 20 69 6e 74 09 09 61 |;.Xexter|n int..a|
|00005030| 74 6f 69 20 5f 41 4e 53 | 49 5f 41 52 47 53 5f 28 |toi _ANS|I_ARGS_(|
|00005040| 28 63 68 61 72 20 2a 73 | 74 72 69 6e 67 29 29 3b |(char *s|tring));|
|00005050| 0a 58 65 78 74 65 72 6e | 20 6c 6f 6e 67 09 09 61 |.Xextern| long..a|
|00005060| 74 6f 6c 20 5f 41 4e 53 | 49 5f 41 52 47 53 5f 28 |tol _ANS|I_ARGS_(|
|00005070| 28 63 68 61 72 20 2a 73 | 74 72 69 6e 67 29 29 3b |(char *s|tring));|
|00005080| 0a 58 65 78 74 65 72 6e | 20 63 68 61 72 20 2a 09 |.Xextern| char *.|
|00005090| 09 63 61 6c 6c 6f 63 20 | 5f 41 4e 53 49 5f 41 52 |.calloc |_ANSI_AR|
|000050a0| 47 53 5f 28 28 75 6e 73 | 69 67 6e 65 64 20 69 6e |GS_((uns|igned in|
|000050b0| 74 20 6e 75 6d 45 6c 65 | 6d 65 6e 74 73 2c 0a 58 |t numEle|ments,.X|
|000050c0| 09 09 09 20 20 20 20 75 | 6e 73 69 67 6e 65 64 20 |... u|nsigned |
|000050d0| 69 6e 74 20 73 69 7a 65 | 29 29 3b 0a 58 65 78 74 |int size|));.Xext|
|000050e0| 65 72 6e 20 69 6e 74 09 | 09 65 78 69 74 20 5f 41 |ern int.|.exit _A|
|000050f0| 4e 53 49 5f 41 52 47 53 | 5f 28 28 69 6e 74 20 73 |NSI_ARGS|_((int s|
|00005100| 74 61 74 75 73 29 29 3b | 0a 58 65 78 74 65 72 6e |tatus));|.Xextern|
|00005110| 20 69 6e 74 09 09 66 72 | 65 65 20 5f 41 4e 53 49 | int..fr|ee _ANSI|
|00005120| 5f 41 52 47 53 5f 28 28 | 63 68 61 72 20 2a 62 6c |_ARGS_((|char *bl|
|00005130| 6f 63 6b 50 74 72 29 29 | 3b 0a 58 65 78 74 65 72 |ockPtr))|;.Xexter|
|00005140| 6e 20 63 68 61 72 20 2a | 09 09 67 65 74 65 6e 76 |n char *|..getenv|
|00005150| 20 5f 41 4e 53 49 5f 41 | 52 47 53 5f 28 28 63 68 | _ANSI_A|RGS_((ch|
|00005160| 61 72 20 2a 6e 61 6d 65 | 29 29 3b 0a 58 65 78 74 |ar *name|));.Xext|
|00005170| 65 72 6e 20 63 68 61 72 | 20 2a 09 09 6d 61 6c 6c |ern char| *..mall|
|00005180| 6f 63 20 5f 41 4e 53 49 | 5f 41 52 47 53 5f 28 28 |oc _ANSI|_ARGS_((|
|00005190| 75 6e 73 69 67 6e 65 64 | 20 69 6e 74 20 6e 75 6d |unsigned| int num|
|000051a0| 42 79 74 65 73 29 29 3b | 0a 58 65 78 74 65 72 6e |Bytes));|.Xextern|
|000051b0| 20 76 6f 69 64 09 09 71 | 73 6f 72 74 20 5f 41 4e | void..q|sort _AN|
|000051c0| 53 49 5f 41 52 47 53 5f | 28 28 63 68 61 72 20 2a |SI_ARGS_|((char *|
|000051d0| 62 61 73 65 2c 20 69 6e | 74 20 6e 2c 20 69 6e 74 |base, in|t n, int|
|000051e0| 20 73 69 7a 65 2c 0a 58 | 09 09 09 20 20 20 20 69 | size,.X|... i|
|000051f0| 6e 74 20 28 2a 63 6f 6d | 70 61 72 29 28 63 68 61 |nt (*com|par)(cha|
|00005200| 72 20 2a 65 6c 65 6d 65 | 6e 74 31 2c 20 63 68 61 |r *eleme|nt1, cha|
|00005210| 72 20 2a 65 6c 65 6d 65 | 6e 74 32 29 29 29 3b 0a |r *eleme|nt2)));.|
|00005220| 58 65 78 74 65 72 6e 20 | 63 68 61 72 20 2a 09 09 |Xextern |char *..|
|00005230| 72 65 61 6c 6c 6f 63 20 | 5f 41 4e 53 49 5f 41 52 |realloc |_ANSI_AR|
|00005240| 47 53 5f 28 28 63 68 61 | 72 20 2a 70 74 72 2c 20 |GS_((cha|r *ptr, |
|00005250| 75 6e 73 69 67 6e 65 64 | 20 69 6e 74 20 6e 75 6d |unsigned| int num|
|00005260| 42 79 74 65 73 29 29 3b | 0a 58 65 78 74 65 72 6e |Bytes));|.Xextern|
|00005270| 20 64 6f 75 62 6c 65 09 | 09 73 74 72 74 6f 64 20 | double.|.strtod |
|00005280| 5f 41 4e 53 49 5f 41 52 | 47 53 5f 28 28 63 68 61 |_ANSI_AR|GS_((cha|
|00005290| 72 20 2a 73 74 72 69 6e | 67 2c 20 63 68 61 72 20 |r *strin|g, char |
|000052a0| 2a 2a 65 6e 64 50 74 72 | 29 29 3b 0a 58 65 78 74 |**endPtr|));.Xext|
|000052b0| 65 72 6e 20 6c 6f 6e 67 | 09 09 73 74 72 74 6f 6c |ern long|..strtol|
|000052c0| 20 5f 41 4e 53 49 5f 41 | 52 47 53 5f 28 28 63 68 | _ANSI_A|RGS_((ch|
|000052d0| 61 72 20 2a 73 74 72 69 | 6e 67 2c 20 63 68 61 72 |ar *stri|ng, char|
|000052e0| 20 2a 2a 65 6e 64 50 74 | 72 2c 0a 58 09 09 09 20 | **endPt|r,.X... |
|000052f0| 20 20 20 69 6e 74 20 62 | 61 73 65 29 29 3b 0a 58 | int b|ase));.X|
|00005300| 65 78 74 65 72 6e 20 75 | 6e 73 69 67 6e 65 64 20 |extern u|nsigned |
|00005310| 6c 6f 6e 67 09 73 74 72 | 74 6f 75 6c 20 5f 41 4e |long.str|toul _AN|
|00005320| 53 49 5f 41 52 47 53 5f | 28 28 43 4f 4e 53 54 20 |SI_ARGS_|((CONST |
|00005330| 63 68 61 72 20 2a 73 74 | 72 69 6e 67 2c 0a 58 09 |char *st|ring,.X.|
|00005340| 09 09 20 20 20 20 63 68 | 61 72 20 2a 2a 65 6e 64 |.. ch|ar **end|
|00005350| 50 74 72 2c 20 69 6e 74 | 20 62 61 73 65 29 29 3b |Ptr, int| base));|
|00005360| 0a 58 0a 58 23 65 6e 64 | 69 66 20 2f 2a 20 5f 53 |.X.X#end|if /* _S|
|00005370| 54 44 4c 49 42 20 2a 2f | 0a 45 4e 44 5f 4f 46 5f |TDLIB */|.END_OF_|
|00005380| 46 49 4c 45 0a 69 66 20 | 74 65 73 74 20 31 39 31 |FILE.if |test 191|
|00005390| 35 20 2d 6e 65 20 60 77 | 63 20 2d 63 20 3c 27 74 |5 -ne `w|c -c <'t|
|000053a0| 63 6c 36 2e 31 2f 63 6f | 6d 70 61 74 2f 73 74 64 |cl6.1/co|mpat/std|
|000053b0| 6c 69 62 2e 68 27 60 3b | 20 74 68 65 6e 0a 20 20 |lib.h'`;| then. |
|000053c0| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 5c 22 27 | echo s|har: \"'|
|000053d0| 74 63 6c 36 2e 31 2f 63 | 6f 6d 70 61 74 2f 73 74 |tcl6.1/c|ompat/st|
|000053e0| 64 6c 69 62 2e 68 27 5c | 22 20 75 6e 70 61 63 6b |dlib.h'\|" unpack|
|000053f0| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|00005400| 7a 65 21 0a 66 69 0a 23 | 20 65 6e 64 20 6f 66 20 |ze!.fi.#| end of |
|00005410| 27 74 63 6c 36 2e 31 2f | 63 6f 6d 70 61 74 2f 73 |'tcl6.1/|compat/s|
|00005420| 74 64 6c 69 62 2e 68 27 | 0a 66 69 0a 69 66 20 74 |tdlib.h'|.fi.if t|
|00005430| 65 73 74 20 2d 66 20 27 | 74 63 6c 36 2e 31 2f 63 |est -f '|tcl6.1/c|
|00005440| 6f 6d 70 61 74 2f 73 74 | 72 69 6e 67 2e 68 27 20 |ompat/st|ring.h' |
|00005450| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|00005460| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|00005470| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|00005480| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|00005490| 20 66 69 6c 65 20 5c 22 | 27 74 63 6c 36 2e 31 2f | file \"|'tcl6.1/|
|000054a0| 63 6f 6d 70 61 74 2f 73 | 74 72 69 6e 67 2e 68 27 |compat/s|tring.h'|
|000054b0| 5c 22 0a 65 6c 73 65 0a | 65 63 68 6f 20 73 68 61 |\".else.|echo sha|
|000054c0| 72 3a 20 45 78 74 72 61 | 63 74 69 6e 67 20 5c 22 |r: Extra|cting \"|
|000054d0| 27 74 63 6c 36 2e 31 2f | 63 6f 6d 70 61 74 2f 73 |'tcl6.1/|compat/s|
|000054e0| 74 72 69 6e 67 2e 68 27 | 5c 22 20 5c 28 32 31 34 |tring.h'|\" \(214|
|000054f0| 31 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |1 charac|ters\).s|
|00005500| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 27 74 63 |ed "s/^X|//" >'tc|
|00005510| 6c 36 2e 31 2f 63 6f 6d | 70 61 74 2f 73 74 72 69 |l6.1/com|pat/stri|
|00005520| 6e 67 2e 68 27 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |ng.h' <<|'END_OF_|
|00005530| 46 49 4c 45 27 0a 58 2f | 2a 0a 58 20 2a 20 73 74 |FILE'.X/|*.X * st|
|00005540| 72 69 6e 67 2e 68 20 2d | 2d 0a 58 20 2a 0a 58 20 |ring.h -|-.X *.X |
|00005550| 2a 09 44 65 63 6c 61 72 | 61 74 69 6f 6e 73 20 6f |*.Declar|ations o|
|00005560| 66 20 41 4e 53 49 20 43 | 20 6c 69 62 72 61 72 79 |f ANSI C| library|
|00005570| 20 70 72 6f 63 65 64 75 | 72 65 73 20 66 6f 72 20 | procedu|res for |
|00005580| 73 74 72 69 6e 67 20 68 | 61 6e 64 6c 69 6e 67 2e |string h|andling.|
|00005590| 0a 58 20 2a 0a 58 20 2a | 20 43 6f 70 79 72 69 67 |.X *.X *| Copyrig|
|000055a0| 68 74 20 31 39 39 31 20 | 52 65 67 65 6e 74 73 20 |ht 1991 |Regents |
|000055b0| 6f 66 20 74 68 65 20 55 | 6e 69 76 65 72 73 69 74 |of the U|niversit|
|000055c0| 79 20 6f 66 20 43 61 6c | 69 66 6f 72 6e 69 61 0a |y of Cal|ifornia.|
|000055d0| 58 20 2a 20 50 65 72 6d | 69 73 73 69 6f 6e 20 74 |X * Perm|ission t|
|000055e0| 6f 20 75 73 65 2c 20 63 | 6f 70 79 2c 20 6d 6f 64 |o use, c|opy, mod|
|000055f0| 69 66 79 2c 20 61 6e 64 | 20 64 69 73 74 72 69 62 |ify, and| distrib|
|00005600| 75 74 65 20 74 68 69 73 | 0a 58 20 2a 20 73 6f 66 |ute this|.X * sof|
|00005610| 74 77 61 72 65 20 61 6e | 64 20 69 74 73 20 64 6f |tware an|d its do|
|00005620| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 66 6f 72 20 |cumentat|ion for |
|00005630| 61 6e 79 20 70 75 72 70 | 6f 73 65 20 61 6e 64 20 |any purp|ose and |
|00005640| 77 69 74 68 6f 75 74 0a | 58 20 2a 20 66 65 65 20 |without.|X * fee |
|00005650| 69 73 20 68 65 72 65 62 | 79 20 67 72 61 6e 74 65 |is hereb|y grante|
|00005660| 64 2c 20 70 72 6f 76 69 | 64 65 64 20 74 68 61 74 |d, provi|ded that|
|00005670| 20 74 68 65 20 61 62 6f | 76 65 20 63 6f 70 79 72 | the abo|ve copyr|
|00005680| 69 67 68 74 0a 58 20 2a | 20 6e 6f 74 69 63 65 20 |ight.X *| notice |
|00005690| 61 70 70 65 61 72 73 20 | 69 6e 20 61 6c 6c 20 63 |appears |in all c|
|000056a0| 6f 70 69 65 73 2e 20 20 | 54 68 65 20 55 6e 69 76 |opies. |The Univ|
|000056b0| 65 72 73 69 74 79 20 6f | 66 20 43 61 6c 69 66 6f |ersity o|f Califo|
|000056c0| 72 6e 69 61 0a 58 20 2a | 20 6d 61 6b 65 73 20 6e |rnia.X *| makes n|
|000056d0| 6f 20 72 65 70 72 65 73 | 65 6e 74 61 74 69 6f 6e |o repres|entation|
|000056e0| 73 20 61 62 6f 75 74 20 | 74 68 65 20 73 75 69 74 |s about |the suit|
|000056f0| 61 62 69 6c 69 74 79 20 | 6f 66 20 74 68 69 73 0a |ability |of this.|
|00005700| 58 20 2a 20 73 6f 66 74 | 77 61 72 65 20 66 6f 72 |X * soft|ware for|
|00005710| 20 61 6e 79 20 70 75 72 | 70 6f 73 65 2e 20 20 49 | any pur|pose. I|
|00005720| 74 20 69 73 20 70 72 6f | 76 69 64 65 64 20 22 61 |t is pro|vided "a|
|00005730| 73 20 69 73 22 20 77 69 | 74 68 6f 75 74 0a 58 20 |s is" wi|thout.X |
|00005740| 2a 20 65 78 70 72 65 73 | 73 20 6f 72 20 69 6d 70 |* expres|s or imp|
|00005750| 6c 69 65 64 20 77 61 72 | 72 61 6e 74 79 2e 0a 58 |lied war|ranty..X|
|00005760| 20 2a 0a 58 20 2a 20 24 | 48 65 61 64 65 72 3a 20 | *.X * $|Header: |
|00005770| 2f 73 70 72 69 74 65 2f | 73 72 63 2f 6c 69 62 2f |/sprite/|src/lib/|
|00005780| 74 63 6c 2f 63 6f 6d 70 | 61 74 2f 52 43 53 2f 73 |tcl/comp|at/RCS/s|
|00005790| 74 72 69 6e 67 2e 68 2c | 76 20 31 2e 31 20 39 31 |tring.h,|v 1.1 91|
|000057a0| 2f 30 39 2f 31 39 20 31 | 36 3a 32 32 3a 31 31 20 |/09/19 1|6:22:11 |
|000057b0| 6f 75 73 74 65 72 20 45 | 78 70 20 24 20 53 50 52 |ouster E|xp $ SPR|
|000057c0| 49 54 45 20 28 42 65 72 | 6b 65 6c 65 79 29 0a 58 |ITE (Ber|keley).X|
|000057d0| 20 2a 2f 0a 58 0a 58 23 | 69 66 6e 64 65 66 20 5f | */.X.X#|ifndef _|
|000057e0| 53 54 52 49 4e 47 0a 58 | 23 64 65 66 69 6e 65 20 |STRING.X|#define |
|000057f0| 5f 53 54 52 49 4e 47 0a | 58 0a 58 23 69 6e 63 6c |_STRING.|X.X#incl|
|00005800| 75 64 65 20 3c 74 63 6c | 2e 68 3e 0a 58 0a 58 65 |ude <tcl|.h>.X.Xe|
|00005810| 78 74 65 72 6e 20 63 68 | 61 72 20 2a 09 09 6d 65 |xtern ch|ar *..me|
|00005820| 6d 63 68 72 20 5f 41 4e | 53 49 5f 41 52 47 53 5f |mchr _AN|SI_ARGS_|
|00005830| 28 28 63 68 61 72 20 2a | 73 2c 20 69 6e 74 20 63 |((char *|s, int c|
|00005840| 2c 20 69 6e 74 20 6e 29 | 29 3b 0a 58 65 78 74 65 |, int n)|);.Xexte|
|00005850| 72 6e 20 69 6e 74 09 09 | 6d 65 6d 63 6d 70 20 5f |rn int..|memcmp _|
|00005860| 41 4e 53 49 5f 41 52 47 | 53 5f 28 28 63 68 61 72 |ANSI_ARG|S_((char|
|00005870| 20 2a 73 31 2c 20 63 68 | 61 72 20 2a 73 32 2c 20 | *s1, ch|ar *s2, |
|00005880| 69 6e 74 20 6e 29 29 3b | 0a 58 65 78 74 65 72 6e |int n));|.Xextern|
|00005890| 20 63 68 61 72 20 2a 09 | 09 6d 65 6d 63 70 79 20 | char *.|.memcpy |
|000058a0| 5f 41 4e 53 49 5f 41 52 | 47 53 5f 28 28 63 68 61 |_ANSI_AR|GS_((cha|
|000058b0| 72 20 2a 74 2c 20 63 68 | 61 72 20 2a 66 2c 20 69 |r *t, ch|ar *f, i|
|000058c0| 6e 74 20 6e 29 29 3b 0a | 58 65 78 74 65 72 6e 20 |nt n));.|Xextern |
|000058d0| 63 68 61 72 20 2a 09 09 | 6d 65 6d 6d 6f 76 65 20 |char *..|memmove |
|000058e0| 5f 41 4e 53 49 5f 41 52 | 47 53 5f 28 28 63 68 61 |_ANSI_AR|GS_((cha|
|000058f0| 72 20 2a 74 2c 20 63 68 | 61 72 20 2a 66 2c 20 69 |r *t, ch|ar *f, i|
|00005900| 6e 74 20 6e 29 29 3b 0a | 58 65 78 74 65 72 6e 20 |nt n));.|Xextern |
|00005910| 63 68 61 72 20 2a 09 09 | 6d 65 6d 73 65 74 20 5f |char *..|memset _|
|00005920| 41 4e 53 49 5f 41 52 47 | 53 5f 28 28 63 68 61 72 |ANSI_ARG|S_((char|
|00005930| 20 2a 73 2c 20 69 6e 74 | 20 63 2c 20 69 6e 74 20 | *s, int| c, int |
|00005940| 6e 29 29 3b 0a 58 0a 58 | 65 78 74 65 72 6e 20 69 |n));.X.X|extern i|
|00005950| 6e 74 09 09 73 74 72 63 | 61 73 65 63 6d 70 20 5f |nt..strc|asecmp _|
|00005960| 41 4e 53 49 5f 41 52 47 | 53 5f 28 28 63 68 61 72 |ANSI_ARG|S_((char|
|00005970| 20 2a 73 31 2c 20 63 68 | 61 72 20 2a 73 32 29 29 | *s1, ch|ar *s2))|
|00005980| 3b 0a 58 65 78 74 65 72 | 6e 20 63 68 61 72 20 2a |;.Xexter|n char *|
|00005990| 09 09 73 74 72 63 61 74 | 20 5f 41 4e 53 49 5f 41 |..strcat| _ANSI_A|
|000059a0| 52 47 53 5f 28 28 63 68 | 61 72 20 2a 64 73 74 2c |RGS_((ch|ar *dst,|
|000059b0| 20 63 68 61 72 20 2a 73 | 72 63 29 29 3b 0a 58 65 | char *s|rc));.Xe|
|000059c0| 78 74 65 72 6e 20 63 68 | 61 72 20 2a 09 09 73 74 |xtern ch|ar *..st|
|000059d0| 72 63 68 72 20 5f 41 4e | 53 49 5f 41 52 47 53 5f |rchr _AN|SI_ARGS_|
|000059e0| 28 28 63 68 61 72 20 2a | 73 74 72 69 6e 67 2c 20 |((char *|string, |
|000059f0| 69 6e 74 20 63 29 29 3b | 0a 58 65 78 74 65 72 6e |int c));|.Xextern|
|00005a00| 20 69 6e 74 09 09 73 74 | 72 63 6d 70 20 5f 41 4e | int..st|rcmp _AN|
|00005a10| 53 49 5f 41 52 47 53 5f | 28 28 63 68 61 72 20 2a |SI_ARGS_|((char *|
|00005a20| 73 31 2c 20 63 68 61 72 | 20 2a 73 32 29 29 3b 0a |s1, char| *s2));.|
|00005a30| 58 65 78 74 65 72 6e 20 | 63 68 61 72 20 2a 09 09 |Xextern |char *..|
|00005a40| 73 74 72 63 70 79 20 5f | 41 4e 53 49 5f 41 52 47 |strcpy _|ANSI_ARG|
|00005a50| 53 5f 28 28 63 68 61 72 | 20 2a 64 73 74 2c 20 63 |S_((char| *dst, c|
|00005a60| 68 61 72 20 2a 73 72 63 | 29 29 3b 0a 58 65 78 74 |har *src|));.Xext|
|00005a70| 65 72 6e 20 69 6e 74 09 | 09 73 74 72 63 73 70 6e |ern int.|.strcspn|
|00005a80| 20 5f 41 4e 53 49 5f 41 | 52 47 53 5f 28 28 63 68 | _ANSI_A|RGS_((ch|
|00005a90| 61 72 20 2a 73 74 72 69 | 6e 67 2c 20 63 68 61 72 |ar *stri|ng, char|
|00005aa0| 20 2a 63 68 61 72 73 29 | 29 3b 0a 58 65 78 74 65 | *chars)|);.Xexte|
|00005ab0| 72 6e 20 63 68 61 72 20 | 2a 09 09 73 74 72 64 75 |rn char |*..strdu|
|00005ac0| 70 20 5f 41 4e 53 49 5f | 41 52 47 53 5f 28 28 63 |p _ANSI_|ARGS_((c|
|00005ad0| 68 61 72 20 2a 73 74 72 | 69 6e 67 29 29 3b 0a 58 |har *str|ing));.X|
|00005ae0| 65 78 74 65 72 6e 20 63 | 68 61 72 20 2a 09 09 73 |extern c|har *..s|
|00005af0| 74 72 65 72 72 6f 72 20 | 5f 41 4e 53 49 5f 41 52 |trerror |_ANSI_AR|
|00005b00| 47 53 5f 28 28 69 6e 74 | 20 65 72 72 6f 72 29 29 |GS_((int| error))|
|00005b10| 3b 0a 58 65 78 74 65 72 | 6e 20 69 6e 74 09 09 73 |;.Xexter|n int..s|
|00005b20| 74 72 6c 65 6e 20 5f 41 | 4e 53 49 5f 41 52 47 53 |trlen _A|NSI_ARGS|
|00005b30| 5f 28 28 63 68 61 72 20 | 2a 73 74 72 69 6e 67 29 |_((char |*string)|
|00005b40| 29 3b 0a 58 65 78 74 65 | 72 6e 20 69 6e 74 09 09 |);.Xexte|rn int..|
|00005b50| 73 74 72 6e 63 61 73 65 | 63 6d 70 20 5f 41 4e 53 |strncase|cmp _ANS|
|00005b60| 49 5f 41 52 47 53 5f 28 | 28 63 68 61 72 20 2a 73 |I_ARGS_(|(char *s|
|00005b70| 31 2c 20 63 68 61 72 20 | 2a 73 32 2c 20 69 6e 74 |1, char |*s2, int|
|00005b80| 20 6e 29 29 3b 0a 58 65 | 78 74 65 72 6e 20 63 68 | n));.Xe|xtern ch|
|00005b90| 61 72 20 2a 09 09 73 74 | 72 6e 63 61 74 20 5f 41 |ar *..st|rncat _A|
|00005ba0| 4e 53 49 5f 41 52 47 53 | 5f 28 28 63 68 61 72 20 |NSI_ARGS|_((char |
|00005bb0| 2a 64 73 74 2c 20 63 68 | 61 72 20 2a 73 72 63 2c |*dst, ch|ar *src,|
|00005bc0| 0a 58 09 09 09 20 20 20 | 20 69 6e 74 20 6e 75 6d |.X... | int num|
|00005bd0| 43 68 61 72 73 29 29 3b | 0a 58 65 78 74 65 72 6e |Chars));|.Xextern|
|00005be0| 20 69 6e 74 09 09 73 74 | 72 6e 63 6d 70 20 5f 41 | int..st|rncmp _A|
|00005bf0| 4e 53 49 5f 41 52 47 53 | 5f 28 28 63 68 61 72 20 |NSI_ARGS|_((char |
|00005c00| 2a 73 31 2c 20 63 68 61 | 72 20 2a 73 32 2c 20 69 |*s1, cha|r *s2, i|
|00005c10| 6e 74 20 6e 43 68 61 72 | 73 29 29 3b 0a 58 65 78 |nt nChar|s));.Xex|
|00005c20| 74 65 72 6e 20 63 68 61 | 72 20 2a 09 09 73 74 72 |tern cha|r *..str|
|00005c30| 6e 63 70 79 20 5f 41 4e | 53 49 5f 41 52 47 53 5f |ncpy _AN|SI_ARGS_|
|00005c40| 28 28 63 68 61 72 20 2a | 64 73 74 2c 20 63 68 61 |((char *|dst, cha|
|00005c50| 72 20 2a 73 72 63 2c 0a | 58 09 09 09 20 20 20 20 |r *src,.|X... |
|00005c60| 69 6e 74 20 6e 75 6d 43 | 68 61 72 73 29 29 3b 0a |int numC|hars));.|
|00005c70| 58 65 78 74 65 72 6e 20 | 63 68 61 72 20 2a 09 09 |Xextern |char *..|
|00005c80| 73 74 72 70 62 72 6b 20 | 5f 41 4e 53 49 5f 41 52 |strpbrk |_ANSI_AR|
|00005c90| 47 53 5f 28 28 63 68 61 | 72 20 2a 73 74 72 69 6e |GS_((cha|r *strin|
|00005ca0| 67 2c 20 63 68 61 72 20 | 2a 63 68 61 72 73 29 29 |g, char |*chars))|
|00005cb0| 3b 0a 58 65 78 74 65 72 | 6e 20 63 68 61 72 20 2a |;.Xexter|n char *|
|00005cc0| 09 09 73 74 72 72 63 68 | 72 20 5f 41 4e 53 49 5f |..strrch|r _ANSI_|
|00005cd0| 41 52 47 53 5f 28 28 63 | 68 61 72 20 2a 73 74 72 |ARGS_((c|har *str|
|00005ce0| 69 6e 67 2c 20 69 6e 74 | 20 63 29 29 3b 0a 58 65 |ing, int| c));.Xe|
|00005cf0| 78 74 65 72 6e 20 69 6e | 74 09 09 73 74 72 73 70 |xtern in|t..strsp|
|00005d00| 6e 20 5f 41 4e 53 49 5f | 41 52 47 53 5f 28 28 63 |n _ANSI_|ARGS_((c|
|00005d10| 68 61 72 20 2a 73 74 72 | 69 6e 67 2c 20 63 68 61 |har *str|ing, cha|
|00005d20| 72 20 2a 63 68 61 72 73 | 29 29 3b 0a 58 65 78 74 |r *chars|));.Xext|
|00005d30| 65 72 6e 20 63 68 61 72 | 20 2a 09 09 73 74 72 73 |ern char| *..strs|
|00005d40| 74 72 20 5f 41 4e 53 49 | 5f 41 52 47 53 5f 28 28 |tr _ANSI|_ARGS_((|
|00005d50| 63 68 61 72 20 2a 73 74 | 72 69 6e 67 2c 20 63 68 |char *st|ring, ch|
|00005d60| 61 72 20 2a 73 75 62 73 | 74 72 69 6e 67 29 29 3b |ar *subs|tring));|
|00005d70| 0a 58 65 78 74 65 72 6e | 20 63 68 61 72 20 2a 09 |.Xextern| char *.|
|00005d80| 09 73 74 72 74 6f 6b 20 | 5f 41 4e 53 49 5f 41 52 |.strtok |_ANSI_AR|
|00005d90| 47 53 5f 28 28 63 68 61 | 72 20 2a 73 2c 20 63 68 |GS_((cha|r *s, ch|
|00005da0| 61 72 20 2a 64 65 6c 69 | 6d 29 29 3b 0a 58 0a 58 |ar *deli|m));.X.X|
|00005db0| 23 65 6e 64 69 66 20 2f | 2a 20 5f 53 54 52 49 4e |#endif /|* _STRIN|
|00005dc0| 47 20 2a 2f 0a 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |G */.END|_OF_FILE|
|00005dd0| 0a 69 66 20 74 65 73 74 | 20 32 31 34 31 20 2d 6e |.if test| 2141 -n|
|00005de0| 65 20 60 77 63 20 2d 63 | 20 3c 27 74 63 6c 36 2e |e `wc -c| <'tcl6.|
|00005df0| 31 2f 63 6f 6d 70 61 74 | 2f 73 74 72 69 6e 67 2e |1/compat|/string.|
|00005e00| 68 27 60 3b 20 74 68 65 | 6e 0a 20 20 20 20 65 63 |h'`; the|n. ec|
|00005e10| 68 6f 20 73 68 61 72 3a | 20 5c 22 27 74 63 6c 36 |ho shar:| \"'tcl6|
|00005e20| 2e 31 2f 63 6f 6d 70 61 | 74 2f 73 74 72 69 6e 67 |.1/compa|t/string|
|00005e30| 2e 68 27 5c 22 20 75 6e | 70 61 63 6b 65 64 20 77 |.h'\" un|packed w|
|00005e40| 69 74 68 20 77 72 6f 6e | 67 20 73 69 7a 65 21 0a |ith wron|g size!.|
|00005e50| 66 69 0a 23 20 65 6e 64 | 20 6f 66 20 27 74 63 6c |fi.# end| of 'tcl|
|00005e60| 36 2e 31 2f 63 6f 6d 70 | 61 74 2f 73 74 72 69 6e |6.1/comp|at/strin|
|00005e70| 67 2e 68 27 0a 66 69 0a | 69 66 20 74 65 73 74 20 |g.h'.fi.|if test |
|00005e80| 2d 66 20 27 74 63 6c 36 | 2e 31 2f 63 6f 6d 70 61 |-f 'tcl6|.1/compa|
|00005e90| 74 2f 73 74 72 73 74 72 | 2e 63 27 20 2d 61 20 22 |t/strstr|.c' -a "|
|00005ea0| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|00005eb0| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|00005ec0| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|00005ed0| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|00005ee0| 65 20 5c 22 27 74 63 6c | 36 2e 31 2f 63 6f 6d 70 |e \"'tcl|6.1/comp|
|00005ef0| 61 74 2f 73 74 72 73 74 | 72 2e 63 27 5c 22 0a 65 |at/strst|r.c'\".e|
|00005f00| 6c 73 65 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |lse.echo| shar: E|
|00005f10| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 74 63 6c |xtractin|g \"'tcl|
|00005f20| 36 2e 31 2f 63 6f 6d 70 | 61 74 2f 73 74 72 73 74 |6.1/comp|at/strst|
|00005f30| 72 2e 63 27 5c 22 20 5c | 28 31 39 32 32 20 63 68 |r.c'\" \|(1922 ch|
|00005f40| 61 72 61 63 74 65 72 73 | 5c 29 0a 73 65 64 20 22 |aracters|\).sed "|
|00005f50| 73 2f 5e 58 2f 2f 22 20 | 3e 27 74 63 6c 36 2e 31 |s/^X//" |>'tcl6.1|
|00005f60| 2f 63 6f 6d 70 61 74 2f | 73 74 72 73 74 72 2e 63 |/compat/|strstr.c|
|00005f70| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|00005f80| 27 0a 58 2f 2a 20 0a 58 | 20 2a 20 73 74 72 73 74 |'.X/* .X| * strst|
|00005f90| 72 2e 63 20 2d 2d 0a 58 | 20 2a 0a 58 20 2a 09 53 |r.c --.X| *.X *.S|
|00005fa0| 6f 75 72 63 65 20 63 6f | 64 65 20 66 6f 72 20 74 |ource co|de for t|
|00005fb0| 68 65 20 22 73 74 72 73 | 74 72 22 20 6c 69 62 72 |he "strs|tr" libr|
|00005fc0| 61 72 79 20 72 6f 75 74 | 69 6e 65 2e 0a 58 20 2a |ary rout|ine..X *|
|00005fd0| 0a 58 20 2a 20 43 6f 70 | 79 72 69 67 68 74 20 31 |.X * Cop|yright 1|
|00005fe0| 39 38 38 2d 31 39 39 31 | 20 52 65 67 65 6e 74 73 |988-1991| Regents|
|00005ff0| 20 6f 66 20 74 68 65 20 | 55 6e 69 76 65 72 73 69 | of the |Universi|
|00006000| 74 79 20 6f 66 20 43 61 | 6c 69 66 6f 72 6e 69 61 |ty of Ca|lifornia|
|00006010| 0a 58 20 2a 20 50 65 72 | 6d 69 73 73 69 6f 6e 20 |.X * Per|mission |
|00006020| 74 6f 20 75 73 65 2c 20 | 63 6f 70 79 2c 20 6d 6f |to use, |copy, mo|
|00006030| 64 69 66 79 2c 20 61 6e | 64 20 64 69 73 74 72 69 |dify, an|d distri|
|00006040| 62 75 74 65 20 74 68 69 | 73 0a 58 20 2a 20 73 6f |bute thi|s.X * so|
|00006050| 66 74 77 61 72 65 20 61 | 6e 64 20 69 74 73 20 64 |ftware a|nd its d|
|00006060| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 66 6f 72 |ocumenta|tion for|
|00006070| 20 61 6e 79 20 70 75 72 | 70 6f 73 65 20 61 6e 64 | any pur|pose and|
|00006080| 20 77 69 74 68 6f 75 74 | 0a 58 20 2a 20 66 65 65 | without|.X * fee|
|00006090| 20 69 73 20 68 65 72 65 | 62 79 20 67 72 61 6e 74 | is here|by grant|
|000060a0| 65 64 2c 20 70 72 6f 76 | 69 64 65 64 20 74 68 61 |ed, prov|ided tha|
|000060b0| 74 20 74 68 65 20 61 62 | 6f 76 65 20 63 6f 70 79 |t the ab|ove copy|
|000060c0| 72 69 67 68 74 0a 58 20 | 2a 20 6e 6f 74 69 63 65 |right.X |* notice|
|000060d0| 20 61 70 70 65 61 72 73 | 20 69 6e 20 61 6c 6c 20 | appears| in all |
|000060e0| 63 6f 70 69 65 73 2e 20 | 20 54 68 65 20 55 6e 69 |copies. | The Uni|
|000060f0| 76 65 72 73 69 74 79 20 | 6f 66 20 43 61 6c 69 66 |versity |of Calif|
|00006100| 6f 72 6e 69 61 0a 58 20 | 2a 20 6d 61 6b 65 73 20 |ornia.X |* makes |
|00006110| 6e 6f 20 72 65 70 72 65 | 73 65 6e 74 61 74 69 6f |no repre|sentatio|
|00006120| 6e 73 20 61 62 6f 75 74 | 20 74 68 65 20 73 75 69 |ns about| the sui|
|00006130| 74 61 62 69 6c 69 74 79 | 20 6f 66 20 74 68 69 73 |tability| of this|
|00006140| 0a 58 20 2a 20 73 6f 66 | 74 77 61 72 65 20 66 6f |.X * sof|tware fo|
|00006150| 72 20 61 6e 79 20 70 75 | 72 70 6f 73 65 2e 20 20 |r any pu|rpose. |
|00006160| 49 74 20 69 73 20 70 72 | 6f 76 69 64 65 64 20 22 |It is pr|ovided "|
|00006170| 61 73 20 69 73 22 20 77 | 69 74 68 6f 75 74 0a 58 |as is" w|ithout.X|
|00006180| 20 2a 20 65 78 70 72 65 | 73 73 20 6f 72 20 69 6d | * expre|ss or im|
|00006190| 70 6c 69 65 64 20 77 61 | 72 72 61 6e 74 79 2e 0a |plied wa|rranty..|
|000061a0| 58 20 2a 2f 0a 58 0a 58 | 23 69 66 6e 64 65 66 20 |X */.X.X|#ifndef |
|000061b0| 6c 69 6e 74 0a 58 73 74 | 61 74 69 63 20 63 68 61 |lint.Xst|atic cha|
|000061c0| 72 20 72 63 73 69 64 5b | 5d 20 3d 20 22 24 48 65 |r rcsid[|] = "$He|
|000061d0| 61 64 65 72 3a 20 2f 73 | 70 72 69 74 65 2f 73 72 |ader: /s|prite/sr|
|000061e0| 63 2f 6c 69 62 2f 74 63 | 6c 2f 63 6f 6d 70 61 74 |c/lib/tc|l/compat|
|000061f0| 2f 52 43 53 2f 73 74 72 | 73 74 72 2e 63 2c 76 20 |/RCS/str|str.c,v |
|00006200| 31 2e 31 20 39 31 2f 30 | 39 2f 31 39 20 31 36 3a |1.1 91/0|9/19 16:|
|00006210| 32 32 3a 31 32 20 6f 75 | 73 74 65 72 20 45 78 70 |22:12 ou|ster Exp|
|00006220| 20 24 20 53 50 52 49 54 | 45 20 28 42 65 72 6b 65 | $ SPRIT|E (Berke|
|00006230| 6c 65 79 29 22 3b 0a 58 | 23 65 6e 64 69 66 20 2f |ley)";.X|#endif /|
|00006240| 2a 20 6e 6f 74 20 6c 69 | 6e 74 20 2a 2f 0a 58 0a |* not li|nt */.X.|
|00006250| 58 2f 2a 0a 58 20 2a 2d | 2d 2d 2d 2d 2d 2d 2d 2d |X/*.X *-|--------|
|00006260| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006270| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006280| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006290| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0a 58 20 |--------|-----.X |
|000062a0| 2a 0a 58 20 2a 20 73 74 | 72 73 74 72 20 2d 2d 0a |*.X * st|rstr --.|
|000062b0| 58 20 2a 0a 58 20 2a 09 | 4c 6f 63 61 74 65 20 74 |X *.X *.|Locate t|
|000062c0| 68 65 20 66 69 72 73 74 | 20 69 6e 73 74 61 6e 63 |he first| instanc|
|000062d0| 65 20 6f 66 20 61 20 73 | 75 62 73 74 72 69 6e 67 |e of a s|ubstring|
|000062e0| 20 69 6e 20 61 20 73 74 | 72 69 6e 67 2e 0a 58 20 | in a st|ring..X |
|000062f0| 2a 0a 58 20 2a 20 52 65 | 73 75 6c 74 73 3a 0a 58 |*.X * Re|sults:.X|
|00006300| 20 2a 09 49 66 20 73 74 | 72 69 6e 67 20 63 6f 6e | *.If st|ring con|
|00006310| 74 61 69 6e 73 20 73 75 | 62 73 74 72 69 6e 67 2c |tains su|bstring,|
|00006320| 20 74 68 65 20 72 65 74 | 75 72 6e 20 76 61 6c 75 | the ret|urn valu|
|00006330| 65 20 69 73 20 74 68 65 | 0a 58 20 2a 09 6c 6f 63 |e is the|.X *.loc|
|00006340| 61 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 66 69 72 |ation of| the fir|
|00006350| 73 74 20 6d 61 74 63 68 | 69 6e 67 20 69 6e 73 74 |st match|ing inst|
|00006360| 61 6e 63 65 20 6f 66 20 | 73 75 62 73 74 72 69 6e |ance of |substrin|
|00006370| 67 0a 58 20 2a 09 69 6e | 20 73 74 72 69 6e 67 2e |g.X *.in| string.|
|00006380| 20 20 49 66 20 73 74 72 | 69 6e 67 20 64 6f 65 73 | If str|ing does|
|00006390| 6e 27 74 20 63 6f 6e 74 | 61 69 6e 20 73 75 62 73 |n't cont|ain subs|
|000063a0| 74 72 69 6e 67 2c 20 74 | 68 65 0a 58 20 2a 09 72 |tring, t|he.X *.r|
|000063b0| 65 74 75 72 6e 20 76 61 | 6c 75 65 20 69 73 20 30 |eturn va|lue is 0|
|000063c0| 2e 20 20 4d 61 74 63 68 | 69 6e 67 20 69 73 20 64 |. Match|ing is d|
|000063d0| 6f 6e 65 20 6f 6e 20 61 | 6e 20 65 78 61 63 74 0a |one on a|n exact.|
|000063e0| 58 20 2a 09 63 68 61 72 | 61 63 74 65 72 2d 66 6f |X *.char|acter-fo|
|000063f0| 72 2d 63 68 61 72 61 63 | 74 65 72 20 62 61 73 69 |r-charac|ter basi|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.