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