and chomp on Unix will only remove the <LF>
This is correct, but the "on Unix" kind of implies that this would be different on Windows — which it isn't. On Windows it also only removes a linefeed. But that's ok, as on Windows the crlf layer has already translated the \r\n to \n while reading in the line.
In reply to Re^2: Strange read file behaviour
by almut
in thread Strange read file behaviour
by saintex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |