in reply to Re: Quick and portable way to determine line-ending string?
in thread Quick and portable way to determine line-ending string?
Sadly, one can't assume that. For instance, I have seen a number of cases where a supposedly-text file from a Unix system has been edited on a MS-DOSish system and hence contains extra "\x0d" characters.
Then, of course, there's the question of what to do on EBCDIC systems, where the line endings are likely to be something entirely different.
|
---|
Replies are listed 'Best First'. | |
---|---|
(tye)Re: Quick and portable way to determine line-ending string?
by tye (Sage) on Aug 09, 2001 at 05:12 UTC | |
Re: Re: Re: Quick and portable way to determine line-ending string?
by nardo (Friar) on Aug 09, 2001 at 03:38 UTC | |
Re: Re: Re: Quick and portable way to determine line-ending string?
by John M. Dlugosz (Monsignor) on Aug 09, 2001 at 07:10 UTC |
In Section
Seekers of Perl Wisdom