Skip to content

Instantly share code, notes, and snippets.

@dalehamel

dalehamel/lddwalk

Created Mar 10, 2014
Embed
What would you like to do?
#!/bin/bash
lddwalk ()
{
files=`ldd $1 | awk '{print $3'} | grep -v "^$"`
for file in $files; do
echo $file
lddwalk $file
done
}
lddwalk $1 | sort | uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment