K 10 svn:author V 6 brooks K 8 svn:date V 27 2022-08-12T22:32:45.036440Z K 7 svn:log V 613 installworld: improve portability of ldd use b3b462229f97 added a case statement to ignore lines containing strings in square brackets such as "[vdso]" and "[preloaded]". On MacOS Monterey where /bin/sh may be zsh, this fails with: /bin/sh: -c: line 0: syntax error near unexpected token `;;' Invoke grep in the pipeline to remove such lines instead. Reviewed by: emaste Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D35618 (cherry picked from commit bda5d2a45c8dcc9bbeb71cddeef930ffa6a47f23) Git Hash: fe89e1a629db8a4ad42d0ecb5b85b1d2b87dbf5a Git Author: brooks@FreeBSD.org END