summaryrefslogtreecommitdiffstats
path: root/bin/uuidgen/uuidgen.1
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-03-15 02:27:10 +0000
committermarcel <marcel@FreeBSD.org>2003-03-15 02:27:10 +0000
commit349ca981e1632621b7582bf5d907d6f3b359c63c (patch)
tree6c0a642c39667a086b58ff7dbc44bb6ff521fc98 /bin/uuidgen/uuidgen.1
parent74674008392c002bfc392f0dfa365d51bcd917ee (diff)
downloadFreeBSD-src-349ca981e1632621b7582bf5d907d6f3b359c63c.zip
FreeBSD-src-349ca981e1632621b7582bf5d907d6f3b359c63c.tar.gz
Add an -o filename option to have the output written to a file.
This option is present on most uuidgen(1) implementations even though normal file redirection can be used to achieve the same. Submitted by: Hiten Pandya <hiten@unixdaemons.com>
Diffstat (limited to 'bin/uuidgen/uuidgen.1')
-rw-r--r--bin/uuidgen/uuidgen.111
1 files changed, 8 insertions, 3 deletions
diff --git a/bin/uuidgen/uuidgen.1 b/bin/uuidgen/uuidgen.1
index 58b4a59..f97c6a8 100644
--- a/bin/uuidgen/uuidgen.1
+++ b/bin/uuidgen/uuidgen.1
@@ -34,14 +34,15 @@
.Nm
.Op Fl 1
.Op Fl n Ar count
+.Op Fl o Ar filename
.Sh DESCRIPTION
The
.Nm
utility by default generates a single universally unique identifier (UUID),
also known as a globally unique identifier (GUID).
-The UUID is written to stdout.
-The following options can be used to change the number of identifiers
-and the method used:
+The UUID is written to stdout by default.
+The following options can be used to change the behaviour of
+.Nm :
.Bl -tag -width indent
.It Fl 1
This option only has effect if multiple identifiers are to be generated and
@@ -52,6 +53,10 @@ to not generate them in batch, but one at a time.
This option controls the number of identifiers generated.
By default, multiple
identifiers are generated in batch.
+.It Fl o
+Redirect output to
+.Ar filename
+instead of stdout.
.El
.Pp
Batched generation yields a dense set of identifiers in such a way that there
OpenPOWER on IntegriCloud