XP is just a number | |
PerlMonks |
Re: Re: Re: Re: Cross Platform end of Line charactersby TomDLux (Vicar) |
on Aug 02, 2003 at 19:52 UTC ( [id://280313]=note: print w/replies, xml ) | Need Help?? |
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. --
In Section
Seekers of Perl Wisdom
|
|