in reply to Re: Re: Re: Handling Mac, Unix, Win/DOS newlines at readtime...
in thread Handling Mac, Unix, Win/DOS newlines at readtime...
It wouldn't matter which type of system was running the perl code.
I remember reading somewhere in this thread that \r and \n have reversed semantics on the Mac (vs. *nix, Windows).
Um, no, that statement hasn't been made on this thread. My own experience has been that MS systems use "\r\n", all .n.x systems use "\n" and (older) Mac systems use "\r". Nobody uses "\n\r".
And now that MacOS-X is out with a unix foundation, maybe the number of variants will reduce to just two instead of three.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Handling Mac, Unix, Win/DOS newlines at readtime...
by IlyaM (Parson) on Sep 16, 2002 at 07:58 UTC | |
|
Re: Re: Re: Re: Re: Handling Mac, Unix, Win/DOS newlines at readtime...
by bart (Canon) on Sep 17, 2002 at 04:05 UTC |