in the vi editor, type:
:1,$s/<ctrl-v><ctrl-m>//
:w!

replace <ctrl-v> with the control-V character and <ctrl-m> with the
control-M character.
-----Original Message-----
From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 6:16 AM
To: Php-General
Subject: [PHP] How to remove ^M characters from a directory?


Hi,
 I have moved my php files to linux system.
 Now it z showing (control+M)(^M) characters in the file.
 How can I remove those characters?

 Any help would be appreciable.

Thanks and Regards
Balaji


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to