DTOX(C) UNIX System V
Name
dtox - Change file format from MS-DOS to UNIX.
Syntax
dtox filename > output.file
Description
The dtox command converts a file from MS-DOS format to UNIX
format. MS-DOS files terminate a line of text with a
carriage return and a linefeed, while UNIX files terminate a
line with a linefeed only. Also MS-DOS places a <CTL> Z at
the end of a file, while UNIX does not. Some programs and
utilities are sensitive to this difference and some are not.
If a text or data file is not being interpreted correctly,
then use the dtox and xtod conversion utilities. The dtox
command strips the extra carriage return from the end of
each line and strips the <CTL> Z from the end of the file.
This utility is not required for binary object files.
If no filename is specified on the command line, dtox takes
input from standard input. Output of the utility goes to
standard output.
See Also
xtod(C)
(printed 11/30/89) DTOX(C)