change file format from MS-DOS to UNIX
dtox filename > output.file
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 <Ctrl>z
at the end of a file, while UNIX systems do 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 <Ctrl>z
from the end of the file. This utility is not required for binary object
If no filename is specified on the command line,
takes input from standard input.
Output of the utility goes to standard output.
dtox is not part of any currently supported standard;
it is an extension of AT&T System V provided by
The Santa Cruz Operation, Inc.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005