TextTools
Release 6 |
Overview | Installation | Terms | Tools Summary | Changes | Important Notes | Feedback
tcols | tsort
| trows | tuniq | tand
| tjoin
first | last | lines
| middle
eol | xtabs | itabs
| tfinfo | dump
sum | acho
| closure | create |
numl
Overview | Top | Next |
TextTools is a collection of ASCII text filters and other goodies. Many of the programs process text-format tables, and offer powerful and unique functionality.
All TextTools programs run from the command line ("DOS prompt"), or from batch (.bat, .cmd) files.
TextTools comes in two versions:
The two versions have equivalent functionality, but the Win32 executables offer higher capacity where relevant.
Installation | Top | Previous | Next |
TextTools R6 for DOS is distributed as a file tt_r6.zip
, containing:
readme.txt brief introduction (plain ASCII) doc_html/*.htm documentation for the TextTools programs (HTML) exe_dos/*.exe the DOS executables
TextTools R6 for Win 95/98/NT is distributed as a file tt32_r6.zip
, containing:
readme.txt brief introduction (plain ASCII) doc_html/*.htm documentation for the TextTools programs (HTML) exe_w32/*.exe the Win32 console mode executables
To install the programs, extract (using pkzip 2.04g or equivalent) the executables
(exe_dos/*.exe
or exe_w32/*.exe
) to a directory in your PATH.
Or: create a new directory, extract the executables to that directory, and
add that directory to your PATH.
All documentation is in the form of HTML files.
To install the documentation, extract all the HTML files (doc_html/*.htm
)
to a directory
on your harddisk. (Make sure you extract them to the same directory,
or else the hyperlinks won't work.)
To view the documentation, load the file tt_r6.htm
into your browser
(Netscape Navigator 3.0 or better, or MS Internet Explorer 3.0 or better.)
Terms | Top | Previous | Next |
All TextTools programs and documentation are Copyright © 1996-99 by Rune Berg. All Rights Reserved.
TextTools Release 6 is Freeware. It may be freely distributed and used for non-commercial purposes only. It may be included on Shareware/Freeware CD-ROM collections, though. It must not be modified in any way, and must be distributed in its entirety.
Please note that future TextTools releases may well be Shareware. (This will not affect older releases' status as Freeware.)
|
Tools Summary | Top | Previous | Next |
Programs for processing tables:
tcols | project and transform table columns |
trows | select table rows that fulfill given conditions |
tsort | sort table on result of projection/transform |
tuniq | print rows that evaluate uniquely on tcols-style expressions |
tand | print rows present in two tables |
tjoin | database-style join of two tables |
Programs for copying part of files:
first | copy first n lines of file |
last | copy last n lines of file |
lines | copy specifically numbered lines of file |
middle | copy middle part of file |
Other text filters:
eol | convert between DOS and UNIX end-of-line styles |
xtabs | expand tabs to spaces |
itabs | insert tabs in place of spaces |
Miscellaneous:
sum | sum up integers in file |
acho | colourful echo |
closure | compute closure of graph of text nodes |
create | create empty files |
dump | dump file contents in hex/decimal/octal |
numl | number lines in text file |
tfinfo | print text file content statistics |
Changes | Top | Previous | Next |
General:
Summary of changes:
Program | Current version |
Changes since Release 5 |
---|---|---|
acho | 1.30 | (general) |
closure | 1.40 | (general) |
create | 1.40 | (general) |
dump | 1.40 | (general) |
eol | 1.30 | (general) |
first | 1.30 | (general) |
itabs | 1.30 | (general) |
last | 1.30 | (general) |
lines | 1.30 | (general) |
lsx | n/a | Discontinued |
numl | 1.20 | (general) |
middle | 1.30 | (general) |
sum | 2.00 | New features. |
tand | 2.00 | New features. |
tjoin | 2.00 | New features. |
tcols | 2.00 | New features. Bug-fix. |
tfinfo | 1.10 | New features. |
trows | 2.00 | New features. |
tsort | 2.00 | New features. |
tuniq | 2.00 | New features. |
xtabs | 1.30 | (general) |
Important Notes | Top | Previous | Next |
The DOS executables run in real-mode, and don't use expanded or extended memory. Thus, some of the programs have limited capacity. If you're running Windows 95 or NT, use the Win32 console mode executables for greater capacity.
Due to (what I believe is) an NT pipe bug, I've made the Win32 console mode executables treat broken pipes as normal end-of-file situations when running on NT (only). This does not affect the DOS versions, or the Win32 console mode executables when running on Windows 95.
If you run the DOS versions on NT, you might have trouble giving them input from the keyboard (strange characters appear). I suspect this is an NT problem. Use the Win32 versions instead.
All included executables are debug builds, i.e. they're compiled with asserts etc., to help in catching bugs. This means they run a little slower than they really could.
Feedback | Top | Previous |
Ok, hope you find these programs useful. Any feedback is much appreciated.
E-mail to:
Snail-mail to:
Rune Berg
Steinspranget 44
1156 Oslo
Norway
Cheers,
- Rune
End of document |