Can I interest you in:
DUMP also has a more powerful version available, though it is harder to
use. If you are interested, write to
the toolsmith.
HEAD - (DOS) Shows the beginning of a text file
HEAD shows the first few lines of a text file.
It is based on the Unix program of the same name. It also lets you skip a
number of lines at the beginning of the file, so you can use it to look at
the middle (or the end) of a file. HEAD comes complete with a one-page
manual.
HERE - (DOS) Remembers the path to a directory
HERE allows you to mark a directory so that you
can easily return to it later. It saves you having to type or remember long
pathnames. HERE works across drives.
For example, in your directory D:\PROJECTS\HTML\WEB, you simply type HERE WEB. After that, typing WEB anywhere on any drive automatically takes you to D:\PROJECTS\HTML\WEB.
HERE comes complete with a two-page manual.
LC - (DOS) Counts the number of lines in one or more text files
LC is a free linecounter for DOS. It counts the
number of lines in a file or list of files. It also keeps track of the
longest line, and can also count pages if you give it the page length. If
you give it a list of files (or pipe it a list), it will give you the
information for each file and a summary for the whole list. Quick, take one
today and I'll throw in a one-page manual.
TR - (DOS) Replace characters in a binary file
TR is a DOS utility to convert characters in a
file. It can be configured to convert any one character into any other, and
can do several conversions at once. It allows you to create and use your own
conversion tables, or specify the conversions on the command line. It can be
used to capitalize all the letters in a file, convert between ASCII and
EBCDIC, or convert periods to linefeeds (useful for breaking long lines in
some log files). It comes with a short manual and some sample conversion
tables to get you started.
UNIX2DOS - (DOS) Convert files between DOS and UNIX formats (Mac too)
UNIX2DOS allows you to convert text files
from UNIX format (LF) to DOS format (CR/LF), or from DOS to UNIX. It can
also convert Mac format (CR) to DOS format. With this program, you should be
able to read any text files you download. UNIX2DOS is so easy to use that it
can be completely described in the one-page manual.
If you need a different text conversion, feel free to write to
the toolsmith.
WRITE - (DOS) Write lines to a text file
WRITE lets you write text files from a batch
file. Since DOS translates environment variables before calling Write, you
can use it to write files based on the batch parameters and other
environment variables. (Manual added 2005-12-11.)
If you need to write lines longer than 80 characters, there's a script for that. (It's written in Perl.)