This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Portability of find(1)


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]