Are you removing the \n from the ascii lines with chomp? If yes, don't do that and presumably the EBCDIC lines should have the EBCDIC equivalent of \n at the end.
If this isn't the answer, could you tell us why there should be an \n at the end of a line even though the source file doesn't have one?
In reply to Re: Add new line character to and ebcdic file
by jethro
in thread Add new line character to and ebcdic file
by gkol0279
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |