Xref: utzoo comp.sys.mac.misc:1769 comp.sys.mac.apps:960 Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!husc6!frooz!cfa250!cliff From: cliff@cfa250.harvard.edu (Cliff Stoll) Newsgroups: comp.sys.mac.misc,comp.sys.mac.apps Subject: Re: Mac equivalent of "grep" needed ... answer: On-Location! Message-ID: <2006@cfa253.cfa250.harvard.edu> Date: 29 Jul 90 15:00:47 GMT References: <3397@leah.Albany.Edu> Organization: Harvard/Smithsonian Center for Astrophysics Lines: 29 From article <3397@leah.Albany.Edu>, by derek@leah.Albany.Edu (Derek L. / MacLover): > From cliff@cfa250.harvard.edu (Cliff Stoll) come these immortal words: >>From article <1990Jul19.185505.16535@ecn.purdue.edu>, by jmoore@cidmac.ecn. > purdue.edu (James D Moore): > >>> Is there a Mac Application that works something like "grep" in unix [...]? > >>Hey - try On-Location. It will search your whole hard disk for a particular >>word. You can then immedaitely open each file or search through it. > > I just read about On-Location and it sounds neat. I understand > that it creates a semi-permenant index to all the files on your hard-drive. > How big does this index get for, say, an 80 MB HD? How does the program > update it (i.e. is there an INIT that runs concurrently which updates the > index when new files are created, or checks the disk on bootup)? > Hi Derek, Yes, there's an init ... and it's big. about 120K of code, I think. And it's delicate -- has to be loaded after Suitcase II or else I get a boot-hang. The On=Location Init updates its indexes when the mac isn't doing anything else. So if you let your mac sit around for an hour, it'll start scanning the disk after 10 or 20 minutes of inactivity. On my nearly full 80 MB disk, On-Location uses about 1.5 Mbytes for its indexes. So about 2 percent of your disk is wasted. Oh well.