projects
/
platform
/
upstream
/
rpm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f4914aca808259a9aa98c716a06f48a30090268d
[platform/upstream/rpm.git]
/
autodeps
/
solaris.req
1
#!/bin/sh
2
3
# note this works for both a.out and ELF executables
4
5
ulimit -c 0
6
7
filelist=`xargs -r file | fgrep executable | cut -d: -f1 `
8
9
for f in $filelist; do
10
ldd $f | awk '/=>/ { print $1 }'
11
done | sort -u | | sed "s/['\"]/\\\&/g" | xargs -r -n 1 basename | sort -u
12