Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Re: Re: Cross Platform end of Line characters

by TomDLux (Vicar)
on Aug 02, 2003 at 19:52 UTC ( [id://280313]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Cross Platform end of Line characters
in thread Cross Platform end of Line characters

The ASCII table has no concecpt of '\n', that's from the C programming language.

ASCII defines linefeed as \012.

Unix uses a linefeed as the line terminator in text files, C denoted the linefeed, or new line code as \n. But when Unix was ported to other platforms, it became increasingly important to handle text files from other platforms, with different line terminator / line separator sequencecs.

--
TTTATCGGTCGTTATATAGATGTTTGCA

  • Comment on Re: Re: Re: Re: Cross Platform end of Line characters

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-16 18:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found