Messages in this thread | | | Date | Fri, 3 Sep 2004 00:23:50 +0100 | From | Jamie Lokier <> | Subject | Re: silent semantic changes with reiser4 |
| |
Horst von Brand wrote: > > > You really need archive support in find. At the very least you need > > > option "enter archives" vs. "do not enter archives". Entering archives > > > automagically is seriously wrong. > > I have used find(1) for quite some time now, and have never (or very > rarely) missed this.
I've occasionally had the need to search all files on my system for the one file which contains a particular phrase -- all I remember is the phrase.
Just doing "grep -R" was a tedious job: at least half an hour.
Sometimes, I want to search all source files on my system for a particular word, for example to search for uses of a particular system call or library function.
That would require something that could search through all the .tar.gz files and .zip files (nested if necessary) as well as plain files. It would take so long -- hours at least, maybe more than a day -- that I've never bothered doing such a thing.
"find "that entered archives really wouldn't help (although sometimes "locate" that entered archives would be nice).
In other words, I'd use that capability if it was magically fast, but as we expect it to be insanely slow (just grepping gigabytes is slow) that makes it not so useful.
However, if we ever see that search engine index thing happen, it would be a most excellent capability if it searched inside archive files too. I would definitely use that. Not often, but occasionally I would.
-- Jamie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |