Hello Aaron,
the idea of removing the line ends comes from copying other unix tools
behavior. Also reappending a line ending should result in the standard
line ending for the platform used. So th eproblem is actually working
with input from another platform. I won't change the standard behavior
of
Greetings!
I've been exploring the work done on the PHP CLI sapi, and am impressed
with the new features that are in PHP 5.
One thing that I am a bit troubled about is the behaviour of the -R
switch in that it removes the trailing \n and \r line end characters
when it delivers the line to $ar