]> git.ipfire.org Git - thirdparty/util-linux.git/commit
uuidgen: add option --count
authorKarel Zak <kzak@redhat.com>
Wed, 23 Aug 2023 09:21:22 +0000 (11:21 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 28 Aug 2023 09:26:01 +0000 (11:26 +0200)
commit06d3a851888923a44219ca0967c3050d6b25924c
treec21151cde90ef849cbc994513ded30f313498a75
parentbefe455f59de8c7bc66b85ed52aae8cbc95325fa
uuidgen: add option --count

This is mostly for testing purpose or performance tuning. The new
option allows generate multiple UUIDs using the enhanced capability of
the libuuid to cache time-based UUIDs.

 $ uuidgen --time --count 3
 638b9432-4196-11ee-bb1f-7824af891670
 638b94be-4196-11ee-bb1f-7824af891670
 638b94fa-4196-11ee-bb1f-7824af891670

Fixes: https://github.com/util-linux/util-linux/issues/2449
Signed-off-by: Karel Zak <kzak@redhat.com>
bash-completion/uuidgen
meson.build
misc-utils/Makemodule.am
misc-utils/uuidgen.1.adoc
misc-utils/uuidgen.c