🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.msdos.misc
1 messages
1 total messages Started by Al Aab Mon, 22 Mar 1999 00:00
. simtel/msdos/ zgrep
#4114
Author: 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          
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads