[Info-vax] ZIP SYS$INPUT

Steven Schweda sms.antinode at gmail.com
Sun Dec 6 00:02:44 EST 2009


>    Back to the actual problem, however.  Supposedly, ZipNote
> can be used to change the name of an archive member, but I've
> never tried it until now, and it didn't so so well when I did:
>
> alp $ zipnote3l -w BMT_C2_ZN.ZIP
> zipnote error: bad file number
> zipnote error: Temporary file failure (ALP$DKA0:[SMS.ITRC]
> ZI20204E27.;)

   A recent pre-release ("BETA") kit seems to do better:

alp $ copy BMT_C2.ZIP BMT_C2_ZN.ZIP

alp $ unzip6l -l BMT_C2_ZN.ZIP
Archive:  ALP$DKA0:[SMS.ITRC]BMT_C2_ZN.ZIP;1
  Length      Date    Time    Name
---------  ---------- -----   ----
      323  12-04-2009 11:39   -
---------                     -------
      323                     1 file

alp $ zipnote31bl :== $ ALP$DKA0:[UTILITY.SOURCE.ZIP.ZIP31B.ALPHAL]
ZIPNOTE.EXE

alp $ pipe zipnote31bl BMT_C2_ZN.ZIP > BMT_C2.ZN

alp $ type BMT_C2.ZN
@ -
@ (comment above this line)
@ (zip file comment below this line)
alp $

A little editing, and:

alp $ type BMT_C2.ZN_MOD
@ -
@=new_member_name
@ (comment above this line)
@ (zip file comment below this line)
alp $

alp $ pipe zipnote31bl -w BMT_C2_ZN.ZIP < BMT_C2.ZN_MOD

alp $ unzip6l -l BMT_C2_ZN.ZIP
Archive:  ALP$DKA0:[SMS.ITRC]BMT_C2_ZN.ZIP;1
  Length      Date    Time    Name
---------  ---------- -----   ----
      323  12-04-2009 11:39   new_member_name
---------                     -------
      323                     1 file

   What could go wrong?

      ftp://ftp.info-zip.org/pub/infozip/beta/zip31b.zip

alp $ zipnote31bl -v
Copyright (c) 1990-2009 Info-ZIP - Type 'zipnote "-L"' for software
license.
This is ZipNote 3.1b BETA (Apr 9th 2009), by Info-ZIP.
[...]



More information about the Info-vax mailing list