Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site ucla-cs.ARPA
Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdcrdcf!trwrba!cepu!ucla-cs!matt
From: matt@ucla-cs.UUCP
Newsgroups: net.bugs.4bsd,net.unix
Subject: Re: Bug in find(1) in 4.2BSD?
Message-ID: <1506@ucla-cs.ARPA>
Date: Fri, 5-Oct-84 18:25:07 EDT
Article-I.D.: ucla-cs.1506
Posted: Fri Oct  5 18:25:07 1984
Date-Received: Mon, 8-Oct-84 03:10:27 EDT
References: <2343@ucbvax.ARPA>
Distribution: net
Organization: UCLA CS Dept.
Lines: 29
Xref: 1109 2642

#endif bug

>From: wall@ucbvax.ARPA (Steve Wall)
>
>I've run into the following bug in find(1) in 4.2BSD. I know that there
>was some talk on the USENET about 4 months ago regarding find, but
>I'm not sure if this is what was being discussed. I'm pretty sure that
>I'm using the command correctly, at least as far as the manual page goes.
>
>...
>arpa % find . -name file_find -exec ls -l {}\;
>...

The find command is being issued incorrectly.  Since you are using
Csh, the sequence {}\; is being ``expanded'' to `;', and you
are really doing an `ls -l' each time a file is found (prove this
to yourself with `echo {}\;').

Try:

	find . -name file_find -exec ls -l "{}" \;

which should work correctly.

					- Matt

-------
UUCP:	{ucbvax,ihnp4}!ucla-cs!locus.matt
ARPA:	matt@ucla-locus