🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.misc
Article #4114

. simtel/msdos/ zgrep

#4114
From: Al Aab
Date: Mon, 22 Mar 1999 00:00
81 lines
3390 bytes
			........
				zgrep         
			........


		-------------------------------

		http://oak.oakland.edu/simtel.net/


		arcutils/
ZGREP30    19409  930107  search/extract zip files w/regular expressions


		-------------------------------



	the autor kindly includes a regular expressions tutorial
				---------



			PARTIAL QUOTE OF ZGREP.TXT
				---------


                           ZGREP version 3.0
                                   by
                           Douglas E. MacLean
                         2200 Ocean Ave. Apt 6B
                        Brooklyn, New York 11229

...... ZGrep uses these regular
expressions to search ZIP and self extracting EXE files for exactly the
files you want.  The zip program is limited to the use of DOS wildcards
to perform its operations.  Now with ZGrep you can expand the
usefulness of this powerful tool.

The use of Zgrep is very easy.  People familiar with the uniz grep
program will be abile to use it right away.  The command line is as
follows.

        zgrep <-flags> regexp<,regexp...>|#refile 
<zipfile{.zip|.exe}|@filelist

Where flags are the various options to produce different style
listings, regexp are the regular expression and filelist is the list of
files to search.  Multiple regular expressions are separated by a
comma.

The options are:

usage:zgrep [-<lzfinv021hau:path] regexp|#refile 
<zipfile[.zip|.exe]|@listfile...>

-l:         full listing
-z:         list only zip file name
-f:         list only file name
-i:         list only files/zips that do not match
-v:         verbose mode: show stats
-0:         check for version 0.92 exe files
-1:         check for version 1.02 exe files
-2:         check for version 1.10 exe files
-h:         help with regular expressions
-n:         the name of zip and matching files
-u<path>    unzip files to path, use '.' for current dir
-a:         ask before unzipping file

@listfile may be used to specify a list of files to search
#refile may contain a list of regular expressions to use
zgrep returns an errorlevel of 0 if files are found
                           and 1 if no files are located



-- 
=-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
al aab, seders moderator                                      sed u soon 
               it is not zat we do not see the  s o l u t i o n          
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
Technical Details
Message-ID: <F8znF3.HxB.0.queen@torfree.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10f6aa,ffa5b6358367b9db,start
X-Google-Attributes: gid10f6aa,public
X-Google-Thread: 10f688,ffa5b6358367b9db,start
X-Google-Attributes: gid10f688,public
X-Google-Thread: 16ea23,ffa5b6358367b9db,start
X-Google-Attributes: gid16ea23,public
X-Google-Thread: f71eb,ffa5b6358367b9db,start
X-Google-Attributes: gidf71eb,public
X-Google-Thread: ff2c9,ffa5b6358367b9db,start
X-Google-Attributes: gidff2c9,public
X-Google-Thread: 10c853,ffa5b6358367b9db,start
X-Google-Attributes: gid10c853,public
From: af137@torfree.net (Al Aab)
Subject: .  simtel/msdos/  zgrep
Date: 1999/03/22
Message-ID: <F8znF3.HxB.0.queen@torfree.net>
X-Deja-AN: 457493346
Organization: Toronto Free-Net
Newsgroups: comp.os.msdos.misc,comp.os.msdos.programmer,de.alt.binaries.msdos.d,alt.comp.editors.batch,fr.comp.os.msdos,fj.os.msdos