📄 unzip_def.rnh
字号:
.!.! File: UNZIP_DEF.RNH.!.! Author: Hunter Goatley.!.! Date: October 23, 1991.!.! Description:.!.! RUNOFF source file for VMS on-line help for portable UnZip..! Adapted from UNZIP.MAN (now UNZIP.DOC)..!.! To build: $ REN UNZIP_DEF.RNH UNZIP.RNH.! $ RUNOFF UNZIP.RNH.! $ LIBR/HELP/INSERT libr UNZIP.!.! Modification history:.!.! 01-001 Hunter Goatley 23-OCT-1991 09:21.! Genesis..! 01-002 Cave Newt 16-MAR-1992 22:37.! Updated for UnZip 4.2..! 01-003 Igor Mandrichenko 23-MAY-1992 22:14.! Added -X option to command syntax..! 01-004 Cave Newt 24-MAY-1992 13:30.! Added UNZIP_OPTS environment variable help..! 01-005 Igor Mandrichenko 14-DEC-1993 18:55.! Modified for UnZip V5.1.! 01-006 Cave Newt 21-DEC-1993 12:38.! Added -x option and cleaned up..! 01-007 Cave Newt 14-JUL-1994 09:45.! Added -Z, -C and -L options, removed -U, minor clean-up..! 01-008 Cave Newt 28-JUL-1994 08:57.! Removed semi-colons from comments..!.noflags.lm4 .rm72.indent -41 UNZIP.brUnZip is used to extract files compressed and packaged by Zip (see HELP ZIPfor information on ZIP)..skFor a brief help on Zip and Unzip, run each without specifying anyparameters on the command line..skUNZIP will list, test, or extract from a ZIP archive. ZIP archives are commonlyfound on MS-DOS systems; a VMS version of ZIP can also be found here..skArchive member extraction is implied by the absence of the -c, -p, -t, -l, -v or-z options. All archive members are processed unless a filespec is provided tospecify a subset of the archive members.Format:.sk;.lm+1;.literalUNZIP [-cflptuvxz[ajnoqCLVX]] file[.zip] [list] [-x xlist] [-d out_dir].end literal;.lm-1.!------------------------------------------------------------------------------.indent -42 Parameters.sk;.indent -4file[.zip].skFile specification for the ZIP archive(s) with optional wildcards. UnZip willperform actions specified for every zipfile matching the specification.Default file specification is SYS$DISK:[].ZIP.Note that self-extracting ZIP files are supported; just specify the .EXEsuffix yourself..sk;.indent -4[list].skAn optional list of archive members to be processed; if no list is given, allarchive members are processed. Expressions may beused to match multiple members. Expressions should be enclosed in double-quotesto prevent interpretation by DCL. Multiple filenames should be separated byblanks. Each file specification is similar to a Unix egrep expression and maycontain:.sk.literal * matches a sequence of 0 or more characters ? matches exactly 1 character [...] matches any single character found inside the brackets; ranges are specified by a beginning character, a hyphen, and an ending character. If a '!' or '^' immediately follows the left bracket, then any character not in the given range is matched..end literal.sk.sk;.indent -4[-x xlist].skAn optional list of archive members to be excluded from processing. The xlistoverrides any files included in the normal list..sk;.indent -4[-d out_dir].skOptional directory specification to be used as target root directoryfor files to be extracted. Directory should be specified in "[.foo]"format rather than "foo.dir" or "foo/" format..!------------------------------------------------------------------------------.indent -42 Options.brThe default action of UnZip is to extract all zipfile entries. The followingoptions and modifiers can be provided:.sk;.literal -Z ZipInfo mode -c extract files to SYS$OUTPUT (terminal) -f freshen existing files (replace if newer); create none -l list archive files (short format) -p extract files to SYS$OUTPUT; no informational messages -t test archive files -u update existing files; create new ones if needed -v list archive files (verbose format) -z display only the archive comment.end literal;.sk;.literal MODIFIERS -a extract text files in standard VMS text file format -aa extract all files as text -j junk paths (don't recreate archive's directory structure) -n never overwrite existing files; don't prompt -o OK to overwrite files without prompting -q perform operations quietly (-qq => even quieter) -C match filenames case-insensitively -L convert filenames to lowercase if created under DOS, VMS, etc. -V retain (VMS) file version numbers -X restore owner/protection info (may require privileges).end literal;.skNote that uppercase options (-C, -L, -V and -X) must be specified in quotes.For example:.sk;.literal unzip "-VX" -a zipfile.end literal;.sk.![this should probably be a separate section]:In addition, default options may be specified via the UNZIP_OPTS logical.For example, the following will cause UnZip to restore owner/protectioninformation and perform all operations at quiet-level 1 by default:.sk;.literal define UNZIP_OPTS "-qX".end literal;.skNote that the quotation marks here are required to preserve lowercase options(opposite of the command-line behavior).To negate a default option on the command line, add one or more minus signs before the option letter, in addition to the leading switch character`-':.sk;.literal unzip --ql zipfile.end literalor.literal unzip -l-q zipfile.end literal;.skAt present it is not possible to decrement an option below zero--that is,more than a few minuses have no effect..skUNZIP_OPTS may be defined as a symbol rather than a logical, but if bothare defined, the logical is used..!-----------------------------------------------------------------------------.indent -42 Authors.brInfo-ZIP; currently maintained by Greg Roelofs. VMS support maintainedby Igor Mandrichenko and Hunter Goatley. Originally based on a programby Samuel H. Smith..skVMS on-line help ported from UNZIP.DOC by Hunter Goatley.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -