Hello Russell,
On Thu, 2012-05-31 at 13:06 +1000, Russell Coker wrote:
Is there a library routine like fgets() but which
takes any of CR, NL, and
CR+NL as an end of line?
There is a program that converts the different newline formats between
Unix, Mac and DOS. It might be worth seeing how that does as a
preprocessor.
Regards,
Mark Trickett