The fact that old Macs claimed to be ASCII systems and so don't provide any translation layers to real ASCII and yet defined "\n" as something other than ASCII newline (but "\n" is still the newline character for old Macs), has caused a lot of broken thinking in the Perl world.
I don't find the thinking to which you are referring to be "broken." The broken thinking, if there is any, is in conceptualizing the escape "\n" as popularized by C to be an ASCII character. In the above, even you called it an "ASCII newline". But there is no such thing. The C standard is very clear about "\n" being implementation dependent.
All that said, it would certainly be easier on everyone if LF were universally accepted as the newline character and we could finally put an end to the suffering that continues to be inflicted upon us by long dead hardware issues and designed incompatibilities.
In reply to Re^5: sprintf is printing unexepected output (Macs)
by sauoq
in thread sprintf is printing unexepected output
by thezip
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |