On Fri, 3 Apr 2009 12:34:36 -0500, John McKown <joa...@swbell.net> wrote:
> >wget -O - http://url/file.zip |\ #get the file >jar xv |\ #unzip and list names to stdout >cut -d ':' -f 2|\ #remove prefix output >sed 's/^ //' |\ #remove extra blank at the start of the filename >while read i;do a2e "$i";done > >where you have some program (or shell script) called a2e which will convert >the contents of the file passed to it from ASCII to EBCDIC. > >-- >John Oh, I might also mention that if somebody wanted to, they could fairly easily do all the above by writing a JAVA program. There are classes distributed with Java which should make it easy to "open" a network stream as a file, "unzip" the network stream, and then convert the data from ASCII (ISO8859-1?) to EBCDIC (IBM-1047?) before writing it to the file. Not that I plan to do it, mind you <grin>. -- John ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html