Table of contents


mac2ux - convert text file(s) from Apple Macintosh format to UNIX format


mac2ux filelist


mac2ux replaces carriage returns by newlines in Apple Macintosh format text files to conform to UNIX requirements. Existing isolated newlines are left intact, so that no changes are made to a file which is already in UNIX format.

Access and modification time stamps of the files are preserved.

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


dos2ux(1), dos2mac(1), mac2dos(1), ux2dos(1), ux2mac(1), unix2dos(1), dos2unix(1).


Nelson H. F. Beebe
Center for Scientific Computing
University of Utah
Department of Mathematics, 105 JWB
155 S 1400 E RM 233
Salt Lake City, UT 84112-0090
Email:,, (Internet)
Tel: +1 801 581 5254
FAX: +1 801 581 4148