xtod(C)
xtod --
change file format from UNIX to MS-DOS
Syntax
xtod [ filename ] > [ output.file ]
Description
The xtod command converts a file from UNIX format
to MS-DOS format. The 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 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,
use the dtox and xtod conversion utilities.
The xtod command adds the extra carriage return to the end
of each line and adds the <Ctrl>z to the end of the file.
This utility is not required for converting binary object files.
If no filename is specified on the command line, xtod
takes input from standard input. Output of the utility goes to standard output.
See also
dtox(C)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003