Try the Linux command: dos2unix

--
Mike Arms


> -----Original Message-----
> From: Maraglia, Dominicx [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 10, 2003 11:07 AM
> To: [EMAIL PROTECTED]
> Subject: Seemingly simple???
> 
> 
> Hello,
> 
> I have a small problem, which at first seems simple, but has 
> proven to be a bit of a hair puller.
> 
> A collegue and I are importing some windows formatted ascii 
> files (onto our linux systems) and extracting certain string 
> data.  Simple enough.  However, our problem is that some of 
> the string data is terminated with what appears to be a 
> windows carriage return..looks like this:
> 
> somestring^M
> anotherstring^M
> 
> I tried chop(), but it does not seem to recognize that character.
> 
> Any suggestions?
> 
> Thanks,
> Dominic
> 
> 
> 
> 
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> 

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to