UNIX2DOS(1d) UNIX System V(MS-DOS Compatibility) UNIX2DOS(1d)
NAME
unix2dos - convert text files from Unix format to MS-DOS format
SYNOPSIS
unix2dos file
utod file
xtod file
DESCRIPTION
The unix2dos command converts text files from Unix format to MS-DOS
format and writes the converted file to standard output.
All MS-DOS text files use a carriage-return/linefeed combination, CR-LF,
to indicate a newline. Unix files use a single newline LF character.
The conversion replaces each LF with a CR-LF combination. MS-DOS uses a
Control-Z character as an end-of-file marker. This is added also.
Some DOS and Unix commands can handle this difference in format, but
unexpected results can sometime occur. For example, a Unix text file
appears to a DOS text editor as containing one very long line, while a
DOS text file appears to a Unix text editor as having extra Control-M
characters at the end of each line.
Note that the unix2dos command is also known as xtod or utod.
NOTES
To use the MS-DOS emulator (Merge 386), see the dos command.
SEE ALSO
dos(1d), dos2unix(1d)
10/89 Page 1