Am Freitag 20 November 2009 13:15:50 schrieb John McKown: > I'm trying to figure out a better way to do this. Given: I have some > EBCDIC text files on Linux. Instead of being delimited with 0x25 > (NewLine) instead of 0x15 (linefeed). This is how z/OS UNIX does text > files and I cannot change it. When run through iconv the 0x25 is > translated to 0x85, but I need 0x0a. I end up doing a "tr '\205' '\n' in > order to end up with 0x0a in the ASCII file. Note that when I do an What codepage do you use for EBCDIC? I think iconv -f IBM-1047 -t <whatever Lnux code page, e.g. ASCII> should work for z/OS files. (untested)
---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
