home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-03-08 | 2.5 KB | [TEXT/ALFA] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Tue Mar 8 16:46:39 1994, modified Tue Mar 8 16:46:39 1994, creator Alpha editor, type ASCII, 1940 bytes "reverseLines.tcl" , at 0x814 382 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [ALFA] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 72 65 76 65 72 73 | 65 4c 69 6e 65 73 2e 74 |..revers|eLines.t|
|00000010| 63 6c 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |cl......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 41 4c 46 | 41 00 00 00 00 00 00 00 |.TEXTALF|A.......|
|00000050| 00 00 00 00 00 07 94 00 | 00 01 7e a9 a2 a2 bf a9 |........|..~.....|
|00000060| a2 a2 bf 00 00 04 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e6 89 00 00 |........|........|
|00000080| 23 20 46 49 4c 45 3a 20 | 72 65 76 65 72 73 65 4c |# FILE: |reverseL|
|00000090| 69 6e 65 73 2e 74 63 6c | 0d 23 0d 23 20 4c 41 53 |ines.tcl|.#.# LAS|
|000000a0| 54 20 55 50 44 41 54 45 | 3a 20 30 31 2f 30 36 2f |T UPDATE|: 01/06/|
|000000b0| 39 33 20 35 3a 32 33 3a | 30 38 20 41 4d 0d 23 0d |93 5:23:|08 AM.#.|
|000000c0| 23 20 54 68 69 73 20 66 | 69 6c 65 20 63 6f 6e 74 |# This f|ile cont|
|000000d0| 61 69 6e 73 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |ains the| followi|
|000000e0| 6e 67 20 54 43 4c 20 70 | 72 6f 63 65 64 75 72 65 |ng TCL p|rocedure|
|000000f0| 28 73 29 3a 0d 23 0d 23 | 09 72 65 76 65 72 73 65 |(s):.#.#|.reverse|
|00000100| 4c 69 6e 65 73 20 2d 2d | 20 52 65 76 65 72 73 65 |Lines --| Reverse|
|00000110| 73 20 74 68 65 20 6f 72 | 64 65 72 20 61 20 73 65 |s the or|der a se|
|00000120| 6c 65 63 74 69 6f 6e 20 | 6f 66 20 6c 69 6e 65 73 |lection |of lines|
|00000130| 20 6f 66 20 74 65 78 74 | 0d 23 0d 23 09 54 6f 20 | of text|.#.#.To |
|00000140| 75 73 65 2c 20 73 69 6d | 70 6c 79 20 73 6f 75 72 |use, sim|ply sour|
|00000150| 63 65 20 74 68 69 73 20 | 66 69 6c 65 20 70 6c 61 |ce this |file pla|
|00000160| 63 65 20 69 74 20 69 6e | 20 74 68 65 20 61 20 66 |ce it in| the a f|
|00000170| 6f 6c 64 65 72 20 77 69 | 74 68 20 74 68 65 0d 23 |older wi|th the.#|
|00000180| 09 6e 61 6d 65 20 24 48 | 4f 4d 45 3a 54 63 6c 3a |.name $H|OME:Tcl:|
|00000190| 55 73 65 72 63 6f 64 65 | 3a 20 61 6e 64 20 69 6e |Usercode|: and in|
|000001a0| 76 6f 6b 65 20 69 74 20 | 69 6d 70 6c 69 63 69 74 |voke it |implicit|
|000001b0| 6c 79 20 76 69 61 20 74 | 68 65 20 22 75 6e 6b 6e |ly via t|he "unkn|
|000001c0| 6f 77 6e 20 70 72 6f 63 | 22 2e 0d 23 0d 23 20 53 |own proc|"..#.# S|
|000001d0| 45 45 20 41 4c 53 4f 20 | 75 6e 6b 6e 6f 77 6e 2e |EE ALSO |unknown.|
|000001e0| 74 63 6c 0d 0d 23 20 43 | 4f 50 59 52 49 47 48 54 |tcl..# C|OPYRIGHT|
|000001f0| 3a 0d 23 0d 23 09 43 6f | 70 79 72 69 67 68 74 20 |:.#.#.Co|pyright |
|00000200| a9 20 31 39 39 32 2c 31 | 39 39 33 20 62 79 20 44 |. 1992,1|993 by D|
|00000210| 61 76 69 64 20 43 2e 20 | 42 6c 61 63 6b 0d 23 09 |avid C. |Black.#.|
|00000220| 41 6c 6c 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |All righ|ts reser|
|00000230| 76 65 64 2e 0d 23 0d 23 | 09 52 65 64 69 73 74 72 |ved..#.#|.Redistr|
|00000240| 69 62 75 74 69 6f 6e 20 | 61 6e 64 20 75 73 65 20 |ibution |and use |
|00000250| 69 6e 20 73 6f 75 72 63 | 65 20 61 6e 64 20 62 69 |in sourc|e and bi|
|00000260| 6e 61 72 79 20 66 6f 72 | 6d 73 20 61 72 65 20 70 |nary for|ms are p|
|00000270| 65 72 6d 69 74 74 65 64 | 0d 23 09 70 72 6f 76 69 |ermitted|.#.provi|
|00000280| 64 65 64 20 74 68 61 74 | 20 74 68 65 20 61 62 6f |ded that| the abo|
|00000290| 76 65 20 63 6f 70 79 72 | 69 67 68 74 20 6e 6f 74 |ve copyr|ight not|
|000002a0| 69 63 65 20 61 6e 64 20 | 74 68 69 73 20 70 61 72 |ice and |this par|
|000002b0| 61 67 72 61 70 68 20 61 | 72 65 0d 23 09 64 75 70 |agraph a|re.#.dup|
|000002c0| 6c 69 63 61 74 65 64 20 | 69 6e 20 61 6c 6c 20 73 |licated |in all s|
|000002d0| 75 63 68 20 66 6f 72 6d | 73 20 61 6e 64 20 74 68 |uch form|s and th|
|000002e0| 61 74 20 61 6e 79 20 64 | 6f 63 75 6d 65 6e 74 61 |at any d|ocumenta|
|000002f0| 74 69 6f 6e 2c 0d 23 09 | 61 64 76 65 72 74 69 73 |tion,.#.|advertis|
|00000300| 69 6e 67 20 6d 61 74 65 | 72 69 61 6c 73 2c 20 61 |ing mate|rials, a|
|00000310| 6e 64 20 6f 74 68 65 72 | 20 6d 61 74 65 72 69 61 |nd other| materia|
|00000320| 6c 73 20 72 65 6c 61 74 | 65 64 20 74 6f 20 73 75 |ls relat|ed to su|
|00000330| 63 68 0d 23 09 64 69 73 | 74 72 69 62 75 74 69 6f |ch.#.dis|tributio|
|00000340| 6e 20 61 6e 64 20 75 73 | 65 20 61 63 6b 6e 6f 77 |n and us|e acknow|
|00000350| 6c 65 64 67 65 20 74 68 | 61 74 20 74 68 65 20 73 |ledge th|at the s|
|00000360| 6f 66 74 77 61 72 65 20 | 77 61 73 20 64 65 76 65 |oftware |was deve|
|00000370| 6c 6f 70 65 64 0d 23 09 | 62 79 20 44 61 76 69 64 |loped.#.|by David|
|00000380| 20 43 2e 20 42 6c 61 63 | 6b 2e 0d 23 0d 23 09 54 | C. Blac|k..#.#.T|
|00000390| 48 49 53 20 53 4f 46 54 | 57 41 52 45 20 49 53 20 |HIS SOFT|WARE IS |
|000003a0| 50 52 4f 56 49 44 45 44 | 20 22 41 53 20 49 53 22 |PROVIDED| "AS IS"|
|000003b0| 20 41 4e 44 20 57 49 54 | 48 4f 55 54 20 41 4e 59 | AND WIT|HOUT ANY|
|000003c0| 20 45 58 50 52 45 53 53 | 20 4f 52 0d 23 09 49 4d | EXPRESS| OR.#.IM|
|000003d0| 50 4c 49 45 44 20 57 41 | 52 52 41 4e 54 49 45 53 |PLIED WA|RRANTIES|
|000003e0| 2c 20 49 4e 43 4c 55 44 | 49 4e 47 2c 20 57 49 54 |, INCLUD|ING, WIT|
|000003f0| 48 4f 55 54 20 4c 49 4d | 49 54 41 54 49 4f 4e 2c |HOUT LIM|ITATION,|
|00000400| 20 54 48 45 20 49 4d 50 | 4c 49 45 44 0d 23 09 57 | THE IMP|LIED.#.W|
|00000410| 41 52 52 41 4e 54 49 45 | 53 20 4f 46 20 4d 45 52 |ARRANTIE|S OF MER|
|00000420| 43 48 41 4e 54 41 42 49 | 4c 49 54 59 20 41 4e 44 |CHANTABI|LITY AND|
|00000430| 20 46 49 54 4e 45 53 53 | 20 46 4f 52 20 41 20 50 | FITNESS| FOR A P|
|00000440| 41 52 54 49 43 55 4c 41 | 52 20 50 55 52 50 4f 53 |ARTICULA|R PURPOS|
|00000450| 45 2e 0d 23 0d 23 23 23 | 23 23 23 23 23 23 23 23 |E..#.###|########|
|00000460| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000470| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000480| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000490| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000004a0| 23 23 23 23 23 0d 0d 23 | 20 41 55 54 48 4f 52 0d |#####..#| AUTHOR.|
|000004b0| 23 0d 23 09 44 61 76 69 | 64 20 43 2e 20 42 6c 61 |#.#.Davi|d C. Bla|
|000004c0| 63 6b 0d 23 09 49 6e 74 | 65 72 6e 65 74 3a 20 62 |ck.#.Int|ernet: b|
|000004d0| 6c 61 63 6b 40 6d 70 64 | 2e 74 61 6e 64 65 6d 2e |lack@mpd|.tandem.|
|000004e0| 63 6f 6d 20 28 70 72 65 | 66 65 72 72 65 64 29 0d |com (pre|ferred).|
|000004f0| 23 09 47 45 6e 69 65 3a | 20 20 20 20 44 2e 43 2e |#.GEnie:| D.C.|
|00000500| 42 6c 61 63 6b 0d 23 09 | 55 53 6e 61 69 6c 3a 20 |Black.#.|USnail: |
|00000510| 20 20 36 32 31 37 20 4a | 6f 68 6e 20 43 68 69 73 | 6217 J|ohn Chis|
|00000520| 75 6d 20 4c 61 6e 65 2c | 20 41 75 73 74 69 6e 2c |um Lane,| Austin,|
|00000530| 20 54 58 20 37 38 37 34 | 39 0d 23 0d 23 23 23 23 | TX 7874|9.#.####|
|00000540| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000550| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000560| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000570| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000580| 23 23 23 23 23 23 23 23 | 23 23 23 23 0d 0d 23 20 |########|####..# |
|00000590| 48 49 53 54 4f 52 59 0d | 23 20 20 20 20 20 20 20 |HISTORY.|# |
|000005a0| 20 20 20 20 20 20 20 20 | 20 20 20 0d 23 20 6d 6f | | .# mo|
|000005b0| 64 69 66 69 65 64 20 77 | 68 6f 20 72 65 76 20 72 |dified w|ho rev r|
|000005c0| 65 61 73 6f 6e 0d 23 20 | 2d 2d 2d 2d 2d 2d 2d 2d |eason.# |--------|
|000005d0| 20 2d 2d 2d 20 2d 2d 2d | 20 2d 2d 2d 2d 2d 2d 0d | --- ---| ------.|
|000005e0| 23 20 30 31 2f 30 36 2f | 39 33 20 44 43 42 20 31 |# 01/06/|93 DCB 1|
|000005f0| 2e 30 20 4f 72 69 67 69 | 6e 61 6c 0d 0d 70 72 6f |.0 Origi|nal..pro|
|00000600| 63 20 72 65 76 65 72 73 | 65 4c 69 6e 65 73 20 7b |c revers|eLines {|
|00000610| 7d 20 7b 0d 09 73 65 74 | 20 65 6e 64 20 20 5b 73 |} {..set| end [s|
|00000620| 65 6c 45 6e 64 5d 0d 09 | 73 65 74 20 73 74 61 72 |elEnd]..|set star|
|00000630| 74 20 5b 67 65 74 50 6f | 73 5d 0d 09 69 66 20 7b |t [getPo|s]..if {|
|00000640| 24 73 74 61 72 74 20 3d | 3d 20 24 65 6e 64 7d 20 |$start =|= $end} |
|00000650| 7b 0d 09 09 61 6c 65 72 | 74 6e 6f 74 65 20 22 59 |{...aler|tnote "Y|
|00000660| 6f 75 20 6d 75 73 74 20 | 68 69 67 68 6c 69 67 68 |ou must |highligh|
|00000670| 74 20 74 68 65 20 73 65 | 63 74 69 6f 6e 20 79 6f |t the se|ction yo|
|00000680| 75 20 77 69 73 68 20 74 | 6f 20 72 65 76 65 72 73 |u wish t|o revers|
|00000690| 65 2e 22 0d 09 09 72 65 | 74 75 72 6e 0d 09 7d 0d |e."...re|turn..}.|
|000006a0| 09 69 66 20 7b 5b 6c 6f | 6f 6b 41 74 20 5b 65 78 |.if {[lo|okAt [ex|
|000006b0| 70 72 20 24 65 6e 64 2d | 31 5d 5d 20 21 3d 20 22 |pr $end-|1]] != "|
|000006c0| 5c 72 22 7d 20 7b 0d 09 | 09 61 6c 65 72 74 6e 6f |\r"} {..|.alertno|
|000006d0| 74 65 20 22 54 68 65 20 | 73 65 6c 65 63 74 69 6f |te "The |selectio|
|000006e0| 6e 20 6d 75 73 74 20 63 | 6f 6e 73 69 73 74 20 6f |n must c|onsist o|
|000006f0| 6e 6c 79 20 6f 66 20 63 | 6f 6d 70 6c 65 74 65 20 |nly of c|omplete |
|00000700| 6c 69 6e 65 73 2e 22 0d | 09 09 72 65 74 75 72 6e |lines.".|..return|
|00000710| 0d 09 7d 0d 09 73 65 74 | 20 74 65 78 74 20 5b 73 |..}..set| text [s|
|00000720| 70 6c 69 74 20 5b 67 65 | 74 54 65 78 74 20 24 73 |plit [ge|tText $s|
|00000730| 74 61 72 74 20 5b 65 78 | 70 72 20 7b 24 65 6e 64 |tart [ex|pr {$end|
|00000740| 2d 31 7d 5d 5d 20 22 5c | 72 22 5d 0d 09 73 65 74 |-1}]] "\|r"]..set|
|00000750| 20 69 20 5b 6c 6c 65 6e | 67 74 68 20 24 74 65 78 | i [llen|gth $tex|
|00000760| 74 5d 0d 09 77 68 69 6c | 65 20 7b 24 69 20 3e 20 |t]..whil|e {$i > |
|00000770| 30 7d 20 7b 0d 09 09 69 | 6e 63 72 20 69 20 2d 31 |0} {...i|ncr i -1|
|00000780| 0d 09 09 6c 61 70 70 65 | 6e 64 20 72 65 76 65 72 |...lappe|nd rever|
|00000790| 73 65 64 20 5b 6c 69 6e | 64 65 78 20 24 74 65 78 |sed [lin|dex $tex|
|000007a0| 74 20 24 69 5d 0d 09 7d | 0d 09 23 65 6e 64 77 68 |t $i]..}|..#endwh|
|000007b0| 69 6c 65 0d 09 73 65 74 | 20 74 65 78 74 20 5b 6a |ile..set| text [j|
|000007c0| 6f 69 6e 20 24 72 65 76 | 65 72 73 65 64 20 22 5c |oin $rev|ersed "\|
|000007d0| 72 22 5d 0d 09 72 65 70 | 6c 61 63 65 54 65 78 74 |r"]..rep|laceText|
|000007e0| 20 24 73 74 61 72 74 20 | 5b 65 78 70 72 20 7b 24 | $start |[expr {$|
|000007f0| 65 6e 64 2d 31 7d 5d 20 | 24 74 65 78 74 0d 09 73 |end-1}] |$text..s|
|00000800| 65 6c 65 63 74 20 24 73 | 74 61 72 74 20 24 65 6e |elect $s|tart $en|
|00000810| 64 0d 7d 0d 00 00 00 00 | 00 00 00 00 00 00 00 00 |d.}.....|........|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000890| 00 00 00 00 00 00 00 23 | 05 00 00 00 00 11 00 00 |.......#|........|
|000008a0| 00 0c 05 00 00 00 00 13 | 00 00 00 7e 05 00 00 00 |........|...~....|
|000008b0| 10 72 65 76 65 72 73 65 | 4c 69 6e 65 73 2e 74 63 |.reverse|Lines.tc|
|000008c0| 6c 65 02 00 00 00 50 61 | 72 74 53 49 54 21 00 00 |le....Pa|rtSIT!..|
|000008d0| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 ab 97 aa ee 00 00 | 00 00 00 00 01 7e 00 00 |........|.....~..|
|00000900| 00 3b 00 00 01 02 05 00 | 00 00 00 40 00 00 01 03 |.;......|...@....|
|00000910| 05 00 00 00 00 44 00 00 | 02 16 05 00 00 00 00 46 |.....D..|.......F|
|00000920| 00 00 01 04 05 00 00 00 | 00 4a 00 00 01 05 05 00 |........|.J......|
|00000930| 00 00 00 4e 00 00 02 19 | 05 00 00 00 00 53 00 00 |...N....|.....S..|
|00000940| 02 1b 05 00 00 00 00 57 | 00 00 02 1d 05 00 00 00 |.......W|........|
|00000950| 00 59 00 00 01 06 05 00 | 00 00 00 61 00 00 00 4e |.Y......|...a...N|
|00000960| 05 00 00 00 00 65 00 00 | 02 21 05 00 00 00 00 67 |.....e..|.!.....g|
|00000970| 00 00 01 07 05 00 00 00 | 00 6b 00 00 02 23 05 00 |........|.k...#..|
|00000980| 00 00 00 48 00 0a 43 6f | 75 72 69 65 72 00 64 f6 |...H..Co|urier.d.|
|00000990| 00 ef 6b 78 25 f2 00 ee | 4c fa 00 03 22 52 03 0d |..kx%...|L..."R..|
|000009a0| 00 e9 64 fc 00 00 00 04 | 00 04 00 28 00 33 01 8b |..d.....|...(.3..|
|000009b0| 01 ed 00 28 00 33 01 8b | 01 ed aa db ff d4 00 00 |...(.3..|........|
|000009c0| 05 7d 00 00 05 7d 00 00 | 05 0e 01 00 00 00 01 00 |.}...}..|........|
|000009d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 d7 48 78 |...L...L|...2..Hx|
|000009e0| 0d f6 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|000009f0| 00 0a 03 ed ff ff 00 00 | 00 00 00 db 2c 40 00 00 |........|....,@..|
+--------+-------------------------+-------------------------+--------+--------+