dtox(1)
dtox --
change file format from MS-DOS to UNIX
Synopsis
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 <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
files.
If no filename is specified on the command line,
dtox
takes input from standard input.
Output of the utility goes to standard output.
References
xtod(1)
Standards compliance
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.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004