Files
tldr/pages.zh/linux/uuidparse.md

33 lines
621 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# uuidparse
> 解析通用唯一标识符。
> 另见: `uuidgen`。
> 更多信息: <https://manned.org/uuidparse.1>。
- 解析指定的 UUID使用表格输出格式
`uuidparse {{uuid1 uuid2 ...}}`
-`stdin` 解析 UUID
`{{command}} | uuidparse`
- 使用 JSON 输出格式:
`uuidparse --json {{uuid1 uuid2 ...}}`
- 不打印标题行:
`uuidparse --noheadings {{uuid1 uuid2 ...}}`
- 使用原始输出格式:
`uuidparse --raw {{uuid1 uuid2 ...}}`
- 指定要打印的四个输出列中的哪一列:
`uuidparse --output {{UUID,VARIANT,TYPE,TIME}}`
- 显示帮助信息:
`uuidparse -h`