Re: How to remove ^M characters from a directory?

From: Date: Tue, 26 Mar 2002 14:30:12 +0000
Subject: Re: How to remove ^M characters from a directory?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-90186@lists.php.net to get a copy of this message
> 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? /usr/bin/perl -i.bak -npe 's/\r\n/\n/g' filename where filename is the file with he ^M line endings. Regards jon -- Jon Farmer Systems Programmer, Entanet www.enta.net Tel 01952 428969 PGP Key available, send email with subject: Send PGP Key

« previous php.general (#90186) next »