Try it - it seems to give you an archive with no files in it.   After
all, what would the file name in the zip directory be?


On Mon, Jun 15, 2009 at 6:30 PM, Bob Woodside<[email protected]> wrote:
> On Monday 15 June 2009, Kirk Wolf wrote:
>> I could be wrong, but I don't believe that zip allows input from
>> stdin. If info-zip uses fopen() to open files, then it might be
>> possible to read mvs datasets directly as input files.
>
>    I've never tried it, but here's a quote from the zip man page:
>
>>        zip  also  accepts a single dash ("-") as the name of a file
>> to be compressed, in which case it will  read  the  file  from
>> standard  input, allowing zip to take input from another program.
>> For  example:
>>
>>               tar cf - . | zip backup -
>
>
> Cheers,
> Bob
>
> ----
> Bob Woodside
> Woodsway Consulting, Inc.
> [email protected]
> http://www.woodsway.com
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to