TC.C Readme file
----------------

TC.C - Text Conversion - is an ANSI-C utility that converts text files
between PC and non-PC format (sometimes referred to as UNIX format).
It has compiled and worked fine under Borland C++ 3.1/Ms-Dos,
gcc/Solaris, CC/Solaris and DICE/Amiga.

What it actually does is to check what kind of line endings the file
contains and change them. The program can also handle files with mixed
line endings, some PC and some UNIX. If you want to apply it to several
files at once, you need to write a batchprogram or macro that does
it, but at least there is an option to only convert the file if it is
in a specific format. Thus in Msdos, you can write;

FOR %X IN (*.TXT) DO tc -p %x

This will convert all textfiles in the current directory, if they are
in PC format.

TC stops when it discovers that the file is probably not a textfile or
it finds that it contains both PC- and UNIX-style line endings,
unless the -f option is given (force).

The reason for writing this little program in the first place, was
that Inform can't always use source files that have been saved with a
different kind of line endings.

The program is too small to be worth any money, so use it and
distribute it freely as long as the both the C-file and this file are 
distributed together totally unchanged.

If you find it useful or stupid or have any comments or ideas for
improvement, I'd appreciate if you would drop me a mail!

Fredrik Ramsberg, Computer Science student at Linkoeping University,
Sweden. E-mail: d91frera@und.ida.liu.se
