aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ldd
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2008-05-15 10:43:11 +0000
committerBruce M Simpson <bms@FreeBSD.org>2008-05-15 10:43:11 +0000
commitb65a4e880e9ef4dbe058695a897a793fd917b806 (patch)
treec8f84f7af7ae903777364e694ab685944b166f5a /usr.bin/ldd
parentebe306f11c04f23b52b6a1f5816566f97b12a947 (diff)
Notes
Diffstat (limited to 'usr.bin/ldd')
-rw-r--r--usr.bin/ldd/ldd.19
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.bin/ldd/ldd.1 b/usr.bin/ldd/ldd.1
index 9dd7902fae03..c857e4ece00d 100644
--- a/usr.bin/ldd/ldd.1
+++ b/usr.bin/ldd/ldd.1
@@ -1,6 +1,6 @@
.\" $FreeBSD$
.\"
-.Dd October 22, 1993
+.Dd May 15, 2008
.Dt LDD 1
.Os
.Sh NAME
@@ -57,6 +57,13 @@ option displays a verbose listing of the dynamic linking headers
encoded in the executable.
See the source code and include
files for the definitive meaning of all the fields.
+.Sh EXAMPLES
+The following is an example of a shell pipeline which uses the
+.Fl f
+option.
+It will print a report of all ELF binaries in the current directory,
+which link against libc.so.6:
+.Dl "find . -type f | xargs -n1 file -F " " | grep ELF | cut -f1 -d' ' | xargs ldd '%A %o\en' | grep libc.so.6"
.Sh SEE ALSO
.Xr ld 1 ,
.Xr nm 1 ,