MAC2UX(1)                                               MAC2UX(1)



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

SYNOPSIS
       mac2ux [ -?  ] [ -help ] [ -version ] [ -z ] filelist

DESCRIPTION
       mac2ux replaces carriage returns by newlines in Apple Mac-
       intosh  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 for-
       mat.

       Access and modification time stamps of the files are  pre-
       served.

       This command can be invoked from either DOS or UNIX.  How-
       ever, 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.

OPTIONS
       Options can be prefixed with either one  or  two  hyphens,
       and  can  be  abbreviated to any unique prefix.  Thus, -h,
       -he, and --help are equivalent.

       Command-line arguments  are  parsed  in  strict  order  of
       appearance:  options that follow filenames will not affect
       processing of those files.

       To avoid confusion with options, if a filename begins with
       a  hyphen,  it  must be disguised by a leading absolute or
       relative   directory   path,   e.g.,   /tmp/-foo.txt    or
       ./-foo.txt.

       -help or -? Display  a  help  message  on stderr, giving a
                   brief usage description,  and  then  terminate
                   with a success return code.

       -version    Display the program version number and release
                   date on stderr, and then terminate with a suc-
                   cess return code.

       -z          This  option  is  ignored;  it is retained for
                   compatibility with other members of  the  dos-
                   macux family.

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

AUTHOR
       Nelson H. F. Beebe
       Center for Scientific Computing
       University of Utah
       Department of Mathematics, 110 LCB
       155 S 1400 E RM 233
       Salt Lake City, UT 84112-0090
       USA
       Email: beebe@math.utah.edu, beebe@acm.org, beebe@computer.org, beebe@ieee.org (Internet)
       WWW URL: http://www.math.utah.edu/~beebe
       Tel: +1 801 581 5254
       FAX: +1 801 585 1640, +1 801 581 4148



                          08 March 2002                 MAC2UX(1)
