[bug #18466] -execdir {} + broken in new find

2006-12-05 Thread Eric Blake
Follow-up Comment #1, bug #18466 (project findutils): This patch is a quick hack; it won't work on systems like mingw that lack fchdir (although this is not much of a loss, since gnulib's fts currently requires fchdir, and will be resolved once someone contributes a gnulib fchdir module), or wher

[bug #18466] -execdir {} + broken in new find

2006-12-05 Thread Eric Blake
URL: Summary: -execdir {} + broken in new find Project: findutils Submitted by: ericb Submitted on: Tuesday 12/05/2006 at 21:29 Category: find Severity: 4 - Important

Re: [bug #18430] Problem with solving '{}' brackets

2006-12-05 Thread Bob Proulx
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