RE: [PHP] How to remove ^M characters from a directory?
| From: | Rick Emery | Date: | Tue, 26 Mar 2002 13:39:21 +0000 |
| Subject: | RE: [PHP] How to remove ^M characters from a directory? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-90181@lists.php.net to get a copy of this message | ||
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:balaji.ankem@wipro.com]
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