?? zipgrep.1
字號:
.\" Copyright (c) 1990-2002 Info-ZIP. All rights reserved..\".\" See the accompanying file LICENSE, version 2000-Apr-09 or later.\" (the contents of which are also included in unzip.h) for terms of use..\" If, for some reason, all these files are missing, the Info-ZIP license.\" also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html.\".\" zipgrep.1 by Greg Roelofs..\".\" =========================================================================.TH ZIPGREP 1L "17 February 2002" "Info-ZIP".SH NAMEzipgrep \- search files in a ZIP archive for lines matching a pattern.PD.SH SYNOPSIS\fBzipgrep\fP [\fBegrep_options\fP] \fIpattern\fP\fIfile\fP[\fI.zip\fP] [\fIfile(s)\fP\ .\|.\|.][\fB\-x\fP\ \fIxfile(s)\fP\ .\|.\|.].PD.\" =========================================================================.SH DESCRIPTION\fIzipgrep\fP will search files within a ZIP archive for lines matchingthe given string or pattern. \fIzipgrep\fP is a shell script and requires\fIegrep\fP(1) and \fIunzip\fP(1L) to function. Its output is identical tothat of \fIegrep\fP(1)..PD.\" =========================================================================.SH ARGUMENTS.TP.IP \fIpattern\fPThe pattern to be located within a ZIP archive. Any string or regularexpression accepted by \fIegrep\fP(1) may be used..IR file [ .zip ]Path of the ZIP archive. (Wildcard expressions for the ZIP archive name arenot supported.) If the literal filename is not found, the suffix \fC.zip\fRis appended. Note that self-extracting ZIP files are supported, as with anyother ZIP archive; just specify the \fC.exe\fR suffix (if any) explicitly..IP [\fIfile(s)\fP]An optional list of archive members to be processed, separated by spaces.If no member files are specified, all members of the ZIP archive are searched.Regular expressions (wildcards) may be used to match multiple members:.RS.IP *matches a sequence of 0 or more characters.IP ?matches exactly 1 character.IP [.\|.\|.]matches any single character found inside the brackets; ranges are specifiedby a beginning character, a hyphen, and an ending character. If an exclamationpoint or a caret (`!' or `^') follows the left bracket, then the range ofcharacters within the brackets is complemented (that is, anything \fIexcept\fPthe characters inside the brackets is considered a match)..RE.IP(Be sure to quote any character that might otherwise be interpreted ormodified by the operating system.).IP [\fB\-x\fP\ \fIxfile(s)\fP]An optional list of archive members to be excluded from processing.Since wildcard characters match directory separators (`/'), this optionmay be used to exclude any files that are in subdirectories. Forexample, ``\fCzipgrep grumpy foo *.[ch] -x */*\fR'' would search for thestring ``grumpy'' in all C source files in the main directory of the ``foo''archive, but none in any subdirectories. Without the \fB\-x\fPoption, all C source files in all directories within the zipfile would besearched..\" =========================================================================.SH OPTIONSAll options prior to the ZIP archive filename are passed to \fIegrep\fP(1)..PD.\" =========================================================================.SH "SEE ALSO"\fIegrep\fP(1), \fIunzip\fP(1L), \fIzip\fP(1L), \fIfunzip\fP(1L),\fIzipcloak\fP(1L), \fIzipinfo\fP(1L), \fIzipnote\fP(1L), \fIzipsplit\fP(1L).PD.\" =========================================================================.SH URLThe Info-ZIP home page is currently at.EX\fChttp://www.info-zip.org/pub/infozip/\fR.EEor.EX\fCftp://ftp.info-zip.org/pub/infozip/\fR ..EE.PD.\" =========================================================================.SH AUTHORS\fIzipgrep\fP was written by Jean-loup Gailly..PD
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -