This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Portability of find(1)
- To: Akim Demaille <akim at epita dot fr>
- Subject: Re: Portability of find(1)
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Tue, 18 Sep 2001 08:42:53 -0400
- CC: Autoconf List <autoconf at gnu dot org>, Libtool List <libtool at gnu dot org>, Automake List <automake at gnu dot org>
- List-Id: Discussion list for automake <automake.gnu.org>
- References: <mv48zfclnf9.fsf@nostromo.lrde.epita.fr>
- Reply-To: Automake List <automake at gnu dot org>
Akim Demaille wrote:
>
> Hi People!
>
> I'm looking for information on the portability of find(1). Please,
> send me everything you know. In particular, I think I'm understanding
> that `{}' is portably replaced by the argument only when alone, i.e.,
> exactly
>
> find ... {} ...
>
> and not
>
> find ... "foo: \{\}" ...
>
> At least on DU.
find . -name \*foo -exec echo "\{\} {}" \;
gives
\{\} somefile-foo
on Cygwin and
\{\} {}
on HP-UX 10.20 and HP-UX 11.
Earnie.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com