Trying to use curl:
user@OS/390.25.00: ls -lTHE /team/rocket/cURL/bin/curl
- untagged T=off -rwxr-xr-x --s- ---- 1 OMVSKERN SYS1 17735680 Feb 11
2016 /team/rocket/cURL/bin/curl
user@OS/390.25.00: /team/rocket/cURL/bin/curl --version
curl 7.42.1 (i370-ibm-openedition) libcurl/7.42.1 OpenSSL/1.0.2c zlib/1.2.8
iconv libssh2/1.4.3 nghttp2/1.0.1
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp
sftp smb smbs smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz CharConv TLS-SRP HTTP2
UnixSockets Metalink
... to download an IBM fixtest, I got junk:
user@OS/390.25.00: cat AA51501.HIF7P02 | od -tx1 | head
0000000000 EF EF 85 AB 85 8D EB 85 85 77 C9 77 2C C9 B8 4F
... but with *two* successive EBCDIC-to-ASCII translations, success:
user@OS/390.25.00: cat AA51501.HIF7P02 | e2a | e2a | od -tx1 | head
0000000000 4E 4E C1 D7 C1 D9 4D C1 C1 F5 F1 F5 F0 F1 5D 40
+ + A P A R ( A A 5 1 5 0 1 )
WTF!? Surely this isn't working as designed.
I hate EBCDIC!
-- gil
:q!
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN