diff options
author | EuAndreh <eu@euandre.org> | 2024-05-08 06:18:17 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-05-08 08:24:02 -0300 |
commit | 807361bbb8460ab9a6d5acbb38010465835a7aee (patch) | |
tree | 2acef0d3a5da1cbd0536831ea4c8a930786db936 /src | |
parent | Add basic Makefile (diff) | |
download | eut-807361bbb8460ab9a6d5acbb38010465835a7aee.tar.gz eut-807361bbb8460ab9a6d5acbb38010465835a7aee.tar.xz |
src/uuid: Add working utility
Diffstat (limited to 'src')
-rwxr-xr-x | src/uuid | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/uuid b/src/uuid new file mode 100755 index 0000000..9f181a5 --- /dev/null +++ b/src/uuid @@ -0,0 +1,5 @@ +#!/bin/sh +set -eu + +od -xN20 /dev/urandom | + awk 'NR == 1 { OFS="-"; print $2$3,$4,$5,$6,$7$8$9; exit }' |