[busybox] BUG with find -exec

Bernhard Fischer rep.nop at aon.at
Fri Dec 22 09:41:47 UTC 2006


Hi,

Just noticed this little glitch:

$ (/tmp/busybox/busybox find /usr/lib/ -name '*.pyc' -o -name '*.pyo'
-exec ls {} \; ;echo ret=$?)2>&1 >&1 | tail  -n 7
/usr/lib/python2.3/site-packages/twisted/manhole/explorer.pyo
find: ls: No such file or directory
/usr/lib/python2.3/site-packages/twisted/manhole/_inspectro.pyo
find: ls: No such file or directory
/usr/lib/python2.3/site-packages/antlr.pyo
find: ls: No such file or directory
ret=0


Didn't look, but giving the absolute path to the command to be run
via -exec makes the error output go away..

Any takers?



More information about the busybox mailing list