--- "Moon, John" <[EMAIL PROTECTED]> wrote: > Can someone please give me the octal values or a > method of removing ^M > from the end of an input line, if present? > > Thank you in advance > > jwm > > -- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > <http://learn.perl.org/> > <http://learn.perl.org/first-response>
I use the following command in vi. :1,$s/ctrl-v folllowed by ctrl-m// It's a simple substitution (of the whole file) where you literally hold down the keys indicated, at those spots in the substitution. Hope this helps. Ron Smith [EMAIL PROTECTED] ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>