mirgro said:
TheRealMafoo said:
mirgro said:
I've had to use it before, and I know that it has the same functionality. Maybe you just aren't familiar with grep and how it works. Though applications isn't one of its sstrengths unless you know the name of the file.
|
I stated using Grep in 1992 or 93.. I forget...
Grep does a search though whatever you pipe into it.. a file, a directory, whatever, but it does a search when you run it against the file system. Spotlight indexes everything ahead of time, so it's instant results. Plus, Spotlight is smart. If I use something more times then others, it bubbles to the top. If I put my sisters name in, her contact info is the first result, and 99% of the time, what I want is what it defaults to.
Grep is like search in XP, slow and painful to use. Spotlight is like hitting the Windows key in Windows 7, and typing, although Spotlight is slightly better in its results.
|
I am well aware that Spotlight indexes ahead of time. However it is still grep with storage and a string matcher.
|
Also, can you do me a favor.
With spotlight, I can hit two keys and type "photo", and get all the apps that have the word photo in it, all my contacts (I have a photolab in there), and my word docs that have that word in them, or are named that, and any emails I have with that word in it, or from the photolab.
Can you please write me the grep command line that will do this, being it's just the same thing but faster. Oh, and use awk if you want. It can be your "string matcher".
Good luck.