> I have an ebcdic file that I need to add crlf to each line.

How about this?

while (<>) {
 chomp;
 s/$/\x0D\x0A/;
 print;
}


Reply via email to