norbert.meissner(at)daimlerchrysler.com wrote on Fri, Jul 20, 2001 at 05:57:05PM +0200:
> >for file in `find . -name whatever*` ; do
>
> Hm, diese Loesung kann funktionieren, muss aber
> nicht. Man sollte im Auge behalten, das das was
> zwischen den Graves steht, von der Shell expandiert
> wird. Bei 10000 Dateien funktioniert das nicht mehr.
Doch. Das normale argumentlimit "arglist too long" z.B. bei `grep
"foobar" *huntertausend*` trifft hier nicht zu, weil die Arglist
keinen exec-call kreutzt.
Martin
-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer/ As far as I'm concerned, if something is so complicated that you can't ex- plain it in 10 seconds, then it's probably not worth knowing anyway -Calvin To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Sat 21 Jul 2001 - 00:41:04 CEST