automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Portability of find(1)


From: Earnie Boyd
Subject: Re: Portability of find(1)
Date: Tue, 18 Sep 2001 08:42:53 -0400

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]