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

>Hi,
>
>I ftp'd a file from windows to freebsd....not its every line has ^M at its
>end.
>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
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to