3 # note this works for both a.out and ELF executables
7 filelist=`| sed "s/['\"]/\\\&/g" | xargs -r file | fgrep executable | cut -d: -f1 `
10 ldd $f | awk '/=>/ { print $1 }'
11 done | sort -u | sed "s/['\"]/\\\&/g" | xargs -r -n 1 basename | sort -u