Stefan Monnier <[EMAIL PROTECTED]> writes:

> It's not just speed.  In many cases you can use find|xargs to get a similar
> result, but there are cases where he ** thingy is difficult to emulate with
> other tools.  One example I've used releatedly is
>
>       for f in **/CVS/Root; do ... done
>
> if you havedirectories named "CVS" that don't have a "Root" fine in them,
> the above code is difficult to simulate with find.

Unless you have GNU find.

$ find -path "*/CVS/Root" | ...

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to