UX2DOS 1 "13 March 1989"

Table of contents


NAME

ux2dos - convert text file(s) from UNIX format to DOS format

SYNOPSIS

ux2dos filelist

DESCRIPTION

ux2dos adds carriage returns to isolated newlines (linefeeds) in UNIX format text files to conform to DOS requirements. Existing carriage-return/newline pairs are left intact, so that no changes are made to a file which is already in DOS format.

Access and modification time stamps of the files are preserved. The SunOS unix2dos and dos2unix utilities do not preserve time stamps, and work on only one file per invocation.

This command may be invoked from either DOS or UNIX. However, the filenames must conform to the conventions of the environment in which the command is invoked.

Each file on the command line is converted in turn to a temporary file, and then the original is deleted, and the temporary file renamed to the original name. If you interrupt the execution of this command, then be sure to check for a file in the current directory named ux2dos.$$$ and rename it manually, if necessary.


SEE ALSO

dos2ux(1), unix2dos(1), dos2unix(1)