Path: utzoo!news-server.csri.toronto.edu!rutgers!bellcore!uunet!mixcom!oovvoo From: oovvoo@mixcom.COM (Mike Shawaluk) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: string search through files in ZIP-archives possible ? Message-ID: <355@mixcom.COM> Date: 7 Mar 91 14:17:36 GMT References: <9103050935.IUL@DACTH51.BITNET> Distribution: usa Organization: Milwaukee Information eXchange (Public access Usenet, Email) Lines: 17 IUL@DACTH51.BITNET writes: >Does anybody know a program to find occurences of text strings in a >ZIP-archive containing text files ? I am looking for a utility which >gives the whole line of text (the line containing the search string), >and which scans through all text files contained in the archive. If you have a program that can "grep" for text via standard input, you could do a "PKUNZIP -c zipfile", which would extract the contents of the file to the console, and then pipe the data to your stdin-grepper. Unfortunately, because of the way that MS-DOS treats pipes (i.e., they are temporary files on the disk), this might not work the way you'd like. Does this approach (or something similar to it) make sense? - Mike -- - Mike Shawaluk (oovvoo@mixcom.com) "It is a good day to live."