about summary refs log tree commit diff
path: root/ulidgen.1
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2024-10-02 18:32:53 +0200
committerLeah Neukirchen <leah@vuxu.org>2024-10-02 18:32:53 +0200
commit945bc437108bd0bec6ffbd4e62d2eb5a4e7ba941 (patch)
tree84522a2d1fba27b4c8e6901af434c12b80fcca51 /ulidgen.1
downloadulidgen-945bc437108bd0bec6ffbd4e62d2eb5a4e7ba941.tar.gz
ulidgen-945bc437108bd0bec6ffbd4e62d2eb5a4e7ba941.tar.xz
ulidgen-945bc437108bd0bec6ffbd4e62d2eb5a4e7ba941.zip
initial import of ulidgen
Diffstat (limited to 'ulidgen.1')
-rw-r--r--ulidgen.150
1 files changed, 50 insertions, 0 deletions
diff --git a/ulidgen.1 b/ulidgen.1
new file mode 100644
index 0000000..c69f8c0
--- /dev/null
+++ b/ulidgen.1
@@ -0,0 +1,50 @@
+.Dd October 2, 2024
+.Dt ULIDGEN 1
+.Os
+.Sh NAME
+.Nm ulidgen
+.Nd generate or tag lines with ULID
+.Sh SYNOPSIS
+.Nm
+.Op Fl n Ar N
+.Op Fl t
+.Sh DESCRIPTION
+.Nm
+generates and prints one or multiple ULID
+(Universally Unique Lexicographically Sortable Identifier).
+.Pp
+The options are as follows:
+.Bl -tag -width Ds
+.It Fl n Ar N
+Print
+.Ar N
+consecutive ULID.
+.It Fl t
+Read lines from standard input, and prefix each line with a ULID.
+.El
+.Sh EXIT STATUS
+.Ex -std
+.Sh EXAMPLES
+Generating three ULID:
+.Bd -literal -offset indent
+% ulidgen -n 3
+01J970QT8Y3F9H32BHX76RRS7T
+01J970QT8Y3F9H32BHX76RRS7V
+01J970QT8Y3F9H32BHX76RRS7W
+.Ed
+.Sh SEE ALSO
+.Lk https://github.com/ulid/spec#specification
+.Pp
+.Xr uuidgen 1
+.Sh AUTHORS
+.An Leah Neukirchen Aq Mt leah@vuxu.org
+.Sh LICENSE
+.Nm
+is in the public domain.
+.Pp
+To the extent possible under law,
+the creator of this work
+has waived all copyright and related or
+neighboring rights to this work.
+.Pp
+.Lk http://creativecommons.org/publicdomain/zero/1.0/