Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!timbuk!shamash!rrr From: rrr@u02.svl.cdc.com (Rich Ragan) Newsgroups: comp.sys.mac.wanted Subject: Re: "grep"-like utility for Mac? Message-ID: <29544@shamash.cdc.com> Date: 1 Jan 91 23:38:27 GMT References: <3772@ns-mx.uiowa.edu> Sender: usenet@shamash.cdc.com Reply-To: rrr@svl.cdc.com Organization: Control Data Corporation, Silicon Valley Operations Lines: 23 In <3772@ns-mx.uiowa.edu> jlhaferman@l_eld09.icaen.uiowa.edu (Jeff Haferman) writes: >I would like to find a utility (maybe a DA) for the Mac which can >search through a series of text files searching for a given string >or pattern. I believe a version of grep exists that runs under Apple's MPW programming shell. Unfortunately, unless you are already an MPW user this is probably not of much good to you. The only other product I know of is On Location which indexes all files on your hard disk by name and content and allows you to list all files with a certain string in them. In some ways this is better than grep because you get everything on your disk handled. In other ways it is worse because you may see more than you want and you must bear overhead for storing the indexes and the time to index everything. This is normally done in the background but if you haven't let it run in a while your search may be incomplete so you have to run it before searching. -- Richard R. Ragan rrr@svl.cdc.com (408) 496-4340 Control Data Corporation - Silicon Valley Operations 5101 Patrick Henry Drive, Santa Clara, CA 95054-1111