On Thu, 14 Apr 2011 11:16:53 +0200, Gilles Espinasse <[email protected]>
wrote:
>for dir in /{bin,sbin} /lib/{,iptables,udev} /usr/{bin,lib,libexec,local,sbin};
>do scanelf -nR $dir; done

Weird: It doesn't return anything when using the /{bin,sbin} syntax:

> for dir in /{bin,sbin}; do /var/tmp/scanelf -nR $dir; done
for dir in /{bin,sbin}; do /var/tmp/scanelf -nR $dir; done

So I just ran the command several times, once for each top-level
directory.

>another way with
>find <same-top-level-dir-list> -maxdepth 0 -type f -exec scanelf -nR {} \;

Busybox just returns its "Usage: find [PATH...] [EXPRESSION". Maybe it
doesn't support either maxdepth or exec.

Thank you.

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to