On Mon, May 03, 1999 at 07:53:53AM +0200, Roland Jesse wrote:
> Marc Santhoff writes:
>
> > % find /msdos -name "*.htm" -exec grep lab {} ;
>
> % find /msdos -name "*.htm" | xargs grep lab
>
Das duerfte nicht gans das gleiche sein, da der Urspruengliche
Befehl wohl die Absicht hatte nur die Filenamen auszugeben.
Problem dabei ist, das die shell das ';` klaut, sodas man
dem ein '\' voranstellen muss:
root(at)cicely# echo . -exec ls ;
. -exec ls
root(at)cicely# echo . -exec ls \;
. -exec ls ;
Das gleiche gilt fuer den find string.
-- B.Walter To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Mon 03 May 1999 - 08:23:03 CEST