* Jari Aalto <[email protected]>, 2012-03-08, 02:23:
- $ objdump -p /path/to/libfoo-bar.so.1.2.3 | sed -n
-e's/^[[:space:]]*SONAME[[:space:]]*//p' | sed -e's/\([0-9]\)\.so\./\1-/;
s/\.so\.//'
+ $ objdump -p /path/to/libfoo-bar.so.1.2.3 |
+ awk '/SONAME/ {sub("[.]so[.]",""); sub("[.][0-9.]+",""); print $2; exit}'
This is incorrect. -- Jakub Wilk -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

