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