Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道使用-p可以以普通的 hexdump 样式输出,但我想将字符编码保留在右侧列中并分离输出。xxp有什么选择吗?
-p
xxp
它没有,但您可以使用其他工具:
xxd file | cut -d' ' -f 2-
用于cut按空格分割并跳过第一个字段。
cut