On Mon, Sep 20, 2010 at 09:11:59AM -0400, Stephen Powell wrote:
> On Sat, 18 Sep 2010 08:40:31 -0400 (EDT), Adam Borowski wrote:
> > On Sat, Sep 18, 2010 at 12:01:17PM +0100, Clive Standbridge wrote:
> >> To search all files under the home directory (recursively) with an
> >> extension of .txt, you will need to use find .. | xargs or find
> >> .. -exec ... {} + as discussed previously,
> > 
> > I guess you're looking for:
> > grep -r --include='*.txt' xorg ~
> 
> Clive, you are quite correct.  I didn't think that through carefully
> enough.  Thanks for pointing that out.  And thanks to you, Adam, for
> the corrected version.

It's not "corrected", as Clive's idea would work just fine.  My version is
just simpler and faster, at the cost of using a GNU-specific extension and
thus being less portable.

-- 
1KB             // Microsoft corollary to Hanlon's razor:
                //      Never attribute to stupidity what can be
                //      adequately explained by malice.


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100920190456.ga10...@angband.pl

Reply via email to