如何在 Mac OSX Mavericks 中正确运行字符串工具?

jro*_*z66 5 linux macos

如何在 Mac OSX Mavericks 中正确运行字符串工具?

我正在尝试按照我在网上找到的示例来运行它:

strings -a UserParser.class
Run Code Online (Sandbox Code Playgroud)

但我收到此错误:

错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strings: fat file: UserParser.class truncated or malformed (offset plus size of cputype (11078144) cpusubtype (17415)文件结尾)

bha*_*nki 6

我通过使用 just-而不是-a.

strings - UserParser.class
Run Code Online (Sandbox Code Playgroud)