On Friday, August 01, 2003, at 01:31AM, Anil Garg <[EMAIL PROTECTED]> wrote:

>I ftp'd a file from windows to freebsd....not its every line has ^M at its
>Is there some command in vi (or some way) by whcih ^M can be removed.

got room for one more? 

perl -pi -e s#\\r#\\n#g <your file name>

Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ <http://paulbeard.no-ip.org/movabletype/>
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to