I wrote the detab program because I could not find one in the CP/M public
domain repositories.  Of course after I finished a more thorough search
revealed some but read on ...

Intended for use on program source files, detab removes tab characters from
the source and replaces them with an appropriate number of spaces.

The companion program, entab, does the reverse.  It replaces multiple spaces
with tab characters where appropriate.  Quoted strings are not touched.  This
program was adapted from an original source by Leor Zolman of BDS fame.  It
has been converted to ANSI-style C for compiling with Hi-Tech C or similar.

The two programs work in a similar fashion.  Each accepts an optional tab
width (prefixed with -) as the first parameter and one or more file names
as subsequent parameters.  The modified files replace the input files.

The usual assumption is that tab stops are set every eighth column and that
is the default when the tab width argument is not provided.

Both programs were compiled and linked using the updated Hi-Tech C from
Tesseract volume 91 and as such accept ambiguous file names with drive/user
prefixes as documented in that update.  On CP/M 3 the exact file sizes are
set and you can see them in a directory listing (using 3DIR from Tesseract
volume 92).

Jon Saxton
2 May 2014
