XTOD(C) UNIX System V
Name
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 CTLz 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 CTLz 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)
(printed 2/15/90) XTOD(C)