Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Text File Parsing.

by melora (Scribe)
on Nov 25, 2003 at 00:45 UTC ( #309765=note: print w/replies, xml ) Need Help??


in reply to Re: Text File Parsing.
in thread Text File Parsing.

It looks to me, too, like the file contains line feeds but no carriage returns, like a UNIX file. Such files contain line feeds as line endings; Mac systems use carriage returns without line feeds; and DOS systems use carriage return-line feed combinations as line endings. This is to help minimize the chance that any software or data will be transferred between systems<grin>. I should think that changing the '0a' characters (if this is indeed the trouble) to 'odoa' sequences would do the job. (Where 0d is 13 and 0a is 10; I'm just used to talking in hex.)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://309765]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2021-10-26 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (90 votes). Check out past polls.

    Notices?