#!/usr/bin/perl -pi.mac

=head1 NAME
  mac2unix - convert Macintosh line terminators to Unix line terminators

=head1 SYNOPSIS
  mac2unix [file]..

=head1 DESCRIPTION
  This reads one or more files (or stdin), and writes to stdout
  the data with any Macintosy-style \r line terminators with the 
  Unix \n line terminator.

=head1 OPTIONS

=head1 FILES

=head1 BUGS

=head1 SEE ALSO
	unix2mac, dos2unix, unix2dos

=head1 AUTHOR
  John Chambers <jc@trillian.mit.edu>
=cut

s/\r/\n/g;
