#!/space/imail/perl/bin/perl -pw =head1 NAME dos2unix - convert DOS line terminators to Unix line terminators =head1 SYNOPSIS dos2unix [file].. =head1 DESCRIPTION This reads one or more files (or stdin), and writes to stdout the data with any DOS-style \r\n line terminators with the Unix \n line terminator. =head1 OPTIONS =head1 FILES =head1 BUGS =head1 SEE ALSO unix2dos, mac2unix, unix2mac =head1 AUTHOR John Chambers =cut s/\r\n/\n/g;