On May 10, David A. Desrosiers said: > >> It didn't work ... >> the reason .. Attack of the ^M 's > > perl is your friend: > > perl -pi -e 's#\r\n#\n#g' formail.pl Why use s/// if you don't have to? japhy% perl -pi -e 'tr/\r//d' files... Why use Perl if you don't have to? japhy% tr -d '\r' < file > file.new; mv file.new file -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ Are you a Monk? http://www.perlmonks.com/ http://forums.perlguru.com/ Perl Programmer at RiskMetrics Group, Inc. http://www.riskmetrics.com/ Acacia Fraternity, Rensselaer Chapter. Brother #734
- Re: beginner here - with basic cgi trouble Chip Wiegand
- Re: beginner here - with basic cgi trouble David A. Desrosiers
- Re: beginner here - with basic cgi trouble Brett W. McCoy
- Re: beginner here - with basic cgi troubl... Phillip Bruce
- Re: beginner here - with basic cgi troubl... Chip Wiegand
- Re: beginner here - with basic cgi tr... Brett W. McCoy
- Re: beginner here - with basic cgi trouble Ross Larner
- Re: beginner here - with basic cgi trouble Xun_Dog
- Re: beginner here - with basic cgi trouble Chip Wiegand
- Re: beginner here - with basic cgi trouble David A. Desrosiers
- Re: beginner here - with basic cgi trouble Jeff Pinyan
- Re: beginner here - with basic cgi trouble Brett W. McCoy
- Re: beginner here - with basic cgi trouble Brett W. McCoy
- Re: beginner here - with basic cgi trouble Matt Cauthorn
- Re: beginner here - with basic cgi trouble Chip Wiegand
- Re: beginner here - with basic cgi trouble Chip Wiegand
- Re: beginner here - with basic cgi trouble Matt Cauthorn
- Re: beginner here - with basic cgi trouble Chip Wiegand
- Re: beginner here - with basic cgi trouble Matt Cauthorn