Re: forgetting my DCL: what am I missing?



In article <43E801DA.1703687F@xxxxxxxxxxx>, David J Dachtera
<djesys.nospam@xxxxxxxxxxx> writes:

Phillip Helbig---remove CLOTHES to reply wrote:

In article <43E2C60F.DA49B746@xxxxxxxxxxx>, David J Dachtera
<djesys.nospam@xxxxxxxxxxx> writes:

Of course, there is a version of ZIP with a real VMS CLI and one
without.

The CLI version supports the UN*X-like syntax as well.

Almost. It does if the first character is "-". However, as the help
screen says, this is not necessarily the case with the unix syntax. In
that case, it gives an error.

Hhmmm... Don't see any options that don't begin with "-".

What am I missing?

As I said in another post, I meant UNZIP.

Usage: unzip [-Z] [-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]
Default action is to extract files in list, except those in xlist, to exdir;
file[.zip] may be a wildcard. "-Z" => ZipInfo mode (`unzip "-Z"' for usage).
=> define foreign command symbol in LOGIN.COM: $ unzip :== $dev:[dir]unzip.exe

-p extract files to pipe, no messages -l list files (short format)
-f freshen existing files, create none -t test compressed archive data
-u update files, create if necessary -z display archive comment
-x exclude files that follow (in xlist) -d extract files into exdir

modifiers: -q quiet mode (-qq => quieter)
-n never overwrite existing files -a auto-convert any text files
-o overwrite files WITHOUT prompting -aa treat ALL files as text
-j junk paths (don't make directories) -v be verbose/print version info
"-C" match filenames case-insensitively "-L" make (some) names lowercase
"-X" restore owner/protection info "-V" retain VMS version numbers
"-M" pipe through "more" pager
Examples (see unzip.doc for more info):
unzip data1 -x joe => extract all files except joe from zipfile data1.zip
unzip "-V" foo "Bar" => must quote uppercase options and filenames in VMS
unzip -fo foo vms.c => quietly replace existing vms.c if archive file newer

So with unzip test.zip testa.txt -dsomedir one has the unix-style syntax
but it does not work. The undocumented unzip -dsomedir test.zip
test1.txt will work, though.

.



Relevant Pages

  • Re: forgetting my DCL: what am I missing?
    ... In article, David J Dachtera ... The CLI version supports the UN*X-like syntax as well. ... As I said in another post, I meant UNZIP. ...
    (comp.os.vms)
  • Re: VMSINSTAL Message
    ... On Feb 8, 8:32 pm, David J Dachtera ... Alpha VMS and COPYed things together as specified on ... That's a very old UNZIP - I've not updated it in years. ...
    (comp.os.vms)
  • RE: Need better string methods
    ... this is tooo complex for a non-programmer to expect ... > So redefine the problem, or look at it from a 90 degree angle. ... > redefine the syntax. ... Even though you (David) are ostensibly providing coding ...
    (comp.lang.python)
  • Re: Why not adopt "Python Style" indentation for Ruby?
    ... I read the article, David. ... My intention of syntax improvement on "END" is more like to make less ... Robert and most others suggest me to use ruby ... Mats has the final decision which I ...
    (comp.lang.ruby)
  • Re: A97: Cant import a text file to an Access 97 table?
    ... David, I appreciate the input. ... That's certainly not the syntax you were talking about and you'll find ... If you are correct, and I am ignorant of NT's CMD syntax, how about ... MS not hiding the file. ...
    (comp.databases.ms-access)