我正在寻找tool/ commandon Unix平台来检测和文件的library依赖关系..so.o
tool
command
Unix
library
.so
.o
我已经使用过ldd/ nm/ truss,但我不知道检测库依赖关系的正确方法.
ldd
nm
truss
unix solaris shared-libraries ldd nm
我被困在 Windows 批处理(cmd)模式搜索中。我需要在文件中搜索模式并需要返回行号。我使用了FINDSTRwith/X选项,但它也将模式匹配的行附加到行号。
FINDSTR
/X
此外,我没有安装任何实用程序(如 unix-utilities)的特权,以便我可以cut用来提取行号。
cut
windows cmd batch-file pattern-matching findstr
batch-file ×1
cmd ×1
findstr ×1
ldd ×1
nm ×1
pattern-matching ×1
shared-libraries ×1
solaris ×1
unix ×1
windows ×1