Contents of the USEFUL.DOC file
The following is a group of usually useful programs that I have written for
whatever reason. The one that first comes to mind is that I had nothing
better to do at the time. they were written over a period of about 8 - 10
months and have provided me with a little bit of comfort at times.
a description of each program follows:
your typical hex file dump. nothing fancy. just specify the program name and
an offset into the file if you want. the offset must be a hex string, tho.
will read and dump in groups of 16 bytes and display them as hex bytes along
with their ascii equivalent (if the character is printable).
a semi-shell program. will record up to 50 commands and allow you to recall
them. if you need help, type help. to run the program, type in hist .
to see the most recent commands, type in history. you can save the commands
in a file. you can clear out the history. usually useful if you want
something like this.
another unix-styled (I suppose) program. this one counts the number of lines
in a specified file or group of files. if no arguments are specified, input
comes from stdin. redirection is supported.
a replacement for ibm's dos more and one that is more or less styled after
unix's more command. requires ansi.sys in your config file. if you don't
have it, more comes out looking funny. different from ibm's more in that you
can gracefully exit from it when the more? prompt appears by typing in 'Q'.
the file is immediately closed and returns to dos.
just like unix's pwd (print working directory).
i got real tired of typing in time and having to press return twice and then
trying to decode military time. hence, TIM came to pass. type in tim and
the time (in normal civilian style) and date appears. simple enough.
using microsoft's make utility is really handy. however, if you want to
recompile an entire system that has not changed since the last compile, it
won't let you (or it won't do it for you). then came touch. all touch does
is change the specified file's or group of files' time and date to whatever
is read on the system clock. very similar to unix touch
read a file and count the number of characters in the file. if no arguments
are specified, reads from stdin. otherwise, reads from specified file or
group of files.