Re: what is ^M at the end of a line?

[email protected] ("Jeff Peng")
Newsgroups perl.beginners
Message-ID <[email protected]>
On Wed, May 21, 2008 at 4:45 PM, Remy Guo <[email protected]> wrote:

> as i compared the 2 files, i found the file that cannot work has a "^M" at
> the end of each line. what is this?

run "dos2unix filename.txt" to convert it to unix format.
you may got the file from windows.

-- 
Jeff Peng - [email protected]
Professional Squid supports in China
http://www.ChinaSquid.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.