[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
locate (1): conjunction of the patterns instead of (default) disjunction
From: |
Hraban Luyat |
Subject: |
locate (1): conjunction of the patterns instead of (default) disjunction? |
Date: |
Sat, 14 Mar 2009 22:26:03 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hello everybody,
Is it possible to perform a search for the conjunction of paths matching
the patterns? By default, locate displays paths that match any result,
but, more often than not, actually, I would like to search for paths
that match several patterns. Right now I just pipe it through grep a few
times, but that gets tedious quickly :)
Unfortunately, a Google search for "locate and" does not turn up too
many useful results.
Come to think of it, I suppose a simple shell script could do the
trick.. oh well, just wondering if there is a cleaner way.
Thanks!
Hraban Luyat
P.S.: There is an error on <http://www.gnu.org/software/findutils/> in
the last sentence of the second paragraph under the "How to Get Help"
heading. It says that the word "subscribe" should be put in the body of
the e-mail instead of the subject (as the mailto: in the href of that
particular piece of text suggests).
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- locate (1): conjunction of the patterns instead of (default) disjunction?,
Hraban Luyat <=