in reply to Re^5: problem with 'bare LF' in script
in thread problem with 'bare LF' in script

Does "\n" interpolate to "\x0D" on a Mac ?

Yes, on old MacPerl. Not anymore, though. (Not since OS X in 1999?)