James Youngman wrote:
> Bob Proulx wrote:
> > find . -name "foo*" -exec sh -c "file {} >{}.tmp" \;
> [...]
> >What problem should I be aware of in the above?
>
> touch '/tmp/foo; echo foo: empty; rm -rf $HOME'
Yep. That would do it.
Fortunately if this were my own data I would be able to know that I
was not out to get myself with something like that. :-}
Thanks
Bob
_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils