Re: question about replacing ^M

2002-07-22 Thread Desmond Lee
ibbs" <[EMAIL PROTECTED]> >To: "Desmond Lee" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> >Subject: Re: question about replacing ^M >Date: Mon, 22 Jul 2002 17:46:05 -0400 > >That ^M is the \r that is used by DOS based systems for EOL. Basically, >DOS >uses \

question about replacing ^M

2002-07-22 Thread Desmond Lee
Hi guys I'm trying to read a file, but it's just one massive line. I think that the ^M is suppose to be an indication that that's wehre teh newline is suppose to be. I've tried to replace ^M with a newline by executing something that i found on the web: perl -pi.bak -e 's/\^M/\n/g' moby_thre

Hi, newbie question

2002-07-22 Thread Desmond Lee
Hi guys I'm trying to read a file, but it's just one massive line. I think that the ^M is suppose to be an indication that that's wehre teh newline is suppose to be. I've tried to replace ^M with a newline by executing something that i found on the web: perl -pi.bak -e 's/\^M/\n/g' moby_thre