Re: perl and line endings...

2008-10-10 Thread Smylers
Darrell Fuhriman writes: Should getting the actual characters be treated differently from getting the \r\n representation of those characters? Which characters? The representation \r denotes a carriage return, aka character \x0D. Whereas \n denotes a 'new line', a virtual concept which is

Re: perl and line endings...

2008-10-10 Thread Joshua Juran
On Oct 10, 2008, at 11:25 AM, Nicholas Clark wrote: On Fri, Oct 10, 2008 at 06:31:41PM +0100, Smylers wrote: It isn't possible to have an 'actual' \n character; all actual characters will be specific, not conceptual. EBCDIC has a new line control character distinct from both line feed and

Re: perl and line endings...

2008-10-10 Thread Juerd Waalboer
Joshua Juran skribis 2008-10-10 11:32 (-0700): Constructions like [A-Za-z] are non-portable to EBCDIC, since the alphabetic code points are non-contiguous. Well, that's not true for perl of course, which tries to be smart and has special cased simple letter ranges. -- Met vriendelijke groet,

Re: perl and line endings...

2008-10-10 Thread Abigail
On Fri, Oct 10, 2008 at 09:23:26PM +0200, Juerd Waalboer wrote: Joshua Juran skribis 2008-10-10 11:32 (-0700): Constructions like [A-Za-z] are non-portable to EBCDIC, since the alphabetic code points are non-contiguous. Well, that's not true for perl of course, which tries to be smart

Re: perl and line endings...

2008-10-10 Thread Juerd Waalboer
Abigail skribis 2008-10-10 22:07 (+0200): On Fri, Oct 10, 2008 at 09:23:26PM +0200, Juerd Waalboer wrote: Joshua Juran skribis 2008-10-10 11:32 (-0700): Constructions like [A-Za-z] are non-portable to EBCDIC, since the alphabetic code points are non-contiguous. Well, that's not true

Re: perl and line endings...

2008-10-10 Thread Abigail
On Fri, Oct 10, 2008 at 10:14:40PM +0200, Juerd Waalboer wrote: Abigail skribis 2008-10-10 22:07 (+0200): On Fri, Oct 10, 2008 at 09:23:26PM +0200, Juerd Waalboer wrote: Joshua Juran skribis 2008-10-10 11:32 (-0700): Constructions like [A-Za-z] are non-portable to EBCDIC, since the

Re: perl and line endings...

2008-10-10 Thread Juerd Waalboer
Abigail skribis 2008-10-10 22:20 (+0200): I'm sure there's at least one hacker who hates perl for exactly that reason. So you really believe there's still at least one EBCDIC perl user out there? That would assume everyone who hates a piece of software also (still) uses that software.

Re: perl and line endings...

2008-10-10 Thread Earle Martin
2008/10/10 Joshua Juran jju...@gmail.com At least Mac OS 9 is ASCII. DON'T CROSS THE STREAMS! -- うつつにひとめ 見しごとはあらず Earle Martin | http://downlode.org/

Re: perl and line endings...

2008-10-10 Thread Joshua Juran
On Oct 10, 2008, at 12:37 PM, Earle Martin wrote: 2008/10/10 Joshua Juran jju...@gmail.com At least Mac OS 9 is ASCII. DON'T CROSS THE STREAMS! Oops, I forgot to add *ducks* to the end. :-) Josh