in reply to Removing Carriage returns from text files

#!/usr/local/bin/perl -w use strict; sub padCReturn() { while (<STDIN>) { chomp; print $_ . "\r\n"; } } &padCReturn(); exit;
yangtse

Replies are listed 'Best First'.
Re: Re: Removing Carriage returns from text files
by Anonymous Monk on Oct 19, 2001 at 00:35 UTC
    it did the backwards.