i think something like (in vi)
:%s/^M/ /g
should work just watch how you get the ^M in there .. you may need to use cntl + M to produce the correct characters...
I believe these days you can also use something like
:set ff=unix
might work as well if you try
:set all
to get a list of the stuff you can set , it will depend on your dist i guess....
cheers mark
On Thursday, Jun 12, 2003, at 16:25 Europe/London, Ray Madigan wrote:
I just got back from a week business trip and used wordpad to edit all of my struts code. Now all of my files say dos when I look at them in vi. Does anyone know of a command to convert them back. I assume it is because of the line terminator being different on the Redmond OS. I usually use Linux.
Thanks In Advance RayM
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]