rdump.tc "dumps" files in ASCII and hex.
Usage:
tc>.rdump "filename.typ"
Files must be under 10K. Records are displayed two at a time.
rdump can dump "binary" files as well as text files. Here's what the
first two records of RACHEL.TR look like:
tc>.rdump "rachel.tr"
rdump.tc - tct - 1/29/10
Rec 0
1E 00 01 00 01 00 02 00 03 00 04 00 05 00 06 00 ................
07 00 08 00 09 00 0A 00 0B 00 0C 00 0D 00 0E 00 ................
0F 00 10 00 11 00 12 00 13 00 14 00 15 00 16 00 ................
17 00 18 00 19 00 1A 00 1B 00 1C 00 1D 00 1E 00 ................
1F 00 20 00 02 03 52 61 63 68 65 6C 00 00 00 00 .. ...Rachel....
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Rec 1
00 00 00 00 09 05 41 6C 65 78 61 6E 64 72 61 2C ......Alexandra,
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 04 07 72 69 64 64 65 6E 00 00 00 00 ......ridden....
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Press Enter ...
RACHEL.TR is a "tree" file built by tree.tc. Here's a run of tree.tc
showing what you type to run the main function (menu) and then the read
command and list command.
tc>.menu
DEMO: BINARY TREE
Routine (h for help) : r
-> Read <-
Input file: rachel.tr
Routine (h for help) : l
Key Text
9 134th
30 2.
25 4
15 5K
2 Alexandra,
6 Borel,
5 Calvin
18 I
28 I've
17 Newington.
10 Preakness
1 Rachel
22 Rachel.
23 She's
11 Stakes.
12 Tomorrow,
14 a
27 and
4 by
21 catch
20 could
19 doubt
24 got
16 in
26 legs
29 only
3 ridden
8 the
13 there's
7 won
Routine (h for help) :