diff options
author | Sami Kerola | 2017-06-18 19:16:35 +0200 |
---|---|---|
committer | Karel Zak | 2017-06-26 14:46:35 +0200 |
commit | 83893f26789d4ffe11146a7c0ee9d34a92a0aaf7 (patch) | |
tree | 230e18f58443edabcd9314cc0ec990c514b5b86a /misc-utils/uuidparse.1 | |
parent | misc: consolidate usage() "Available columns" (diff) | |
download | kernel-qcow2-util-linux-83893f26789d4ffe11146a7c0ee9d34a92a0aaf7.tar.gz kernel-qcow2-util-linux-83893f26789d4ffe11146a7c0ee9d34a92a0aaf7.tar.xz kernel-qcow2-util-linux-83893f26789d4ffe11146a7c0ee9d34a92a0aaf7.zip |
uuidparse: add new command
This command will analyze and print information about UUID's. The command
is based on libuuid/src/uuid_time.c but modified to use libsmartcol.
[kzak@redhat.com: - minor coding style changes]
Reference: http://marc.info/?l=util-linux-ng&m=149735980715600&w=2
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/uuidparse.1')
-rw-r--r-- | misc-utils/uuidparse.1 | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/misc-utils/uuidparse.1 b/misc-utils/uuidparse.1 new file mode 100644 index 000000000..9afa6b071 --- /dev/null +++ b/misc-utils/uuidparse.1 @@ -0,0 +1,69 @@ +.\" Copyright (c) 2017 Sami Kerola +.\" The 3-Clause BSD License +.TH UUIDPARSE "1" "2017-06-18" "util-linux" "User Commands" +.SH NAME +uuidparse \- an utility to parse unique identifiers +.SH SYNOPSIS +.B uuidparse +[options] +.I uuid +.SH DESCRIPTION +This command will parse unique identifier inputs from either command line +arguments or standard input. The inputs are white-space separated. +.SH OUTPUT +.SS Variants +.TS +tab(:); +left l l. +NCS:Network Computing System identifier. These were the original UUIDs. +DCE:The Open Software Foundation's (OSF) Distributed Computing Environment UUIDs. +Microsoft:Microsoft Windows platform globally unique identifier (GUID). +other:Unknown variant. Usually invalid input data. +.TE +.SS Types +.TS +tab(:); +left l l. +nil:Special type for zero in type file. +time-based:The DCE time based. +DCE:The DCE time and MAC Address. +name-based:RFC 4122 md5sum hash. +random:RFC 4122 random. +sha1-based:RFC 4122 sha-1 hash. +unknown:Unknown type. Usually invalid input data. +.TE +.SH OPTIONS +.TP +\fB\-J\fR, \fB\-\-json\fR +Use JSON output format. +.TP +\fB\-n\fR, \fB\-\-noheadings\fR +Do not print a header line. +.TP +\fB\-o\fR, \fB\-\-output\fR +Specify which output columns to print. Use \-\-help to get a list of all +supported columns. +.TP +\fB\-r\fR, \fB\-\-raw\fR +Use the raw output format. +.TP +\fB\-V\fR, \fB\-\-version\fR +Display version information and exit. +.TP +\fB\-h\fR, \fB\-\-help\fR +Display help text and exit. +.SH AUTHORS +.MT kerolasa@iki.fi +Sami Kerola +.ME +.SH "SEE ALSO" +.BR uuidgen (1), +.BR libuuid (3), +.UR https://\:tools.ietf.org\:/html\:/rfc4122 +RFC 4122 +.UE +.SH AVAILABILITY +The example command is part of the util-linux package and is available from +.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ +Linux Kernel Archive +.UE . |