Table of contents

DOS2MAC 1 "20 September 1997"

dos2mac
replaces carriage-return/newline pairs by carriage-returns in DOS format text
files to conform to Apple Macintosh requirements. Existing isolated newlines are
left intact, so that no changes are made to a file which is already in
Apple Macintosh format.

If the
-z
option is specified, then a Ctl-Z character in an input file is
treated as an end-of-file: that character, and all following ones in
that file, are discarded. The option may be given following the
command name anywhere on the command line, but applies only to files
that follow it.

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 can 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
dos2mac.$$$
and rename it manually, if necessary.