issue #1045 split at either carriage return or linefeed