projects
/
BK-2020-03.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feature(user) Add legacy user scripts
[BK-2020-03.git]
/
user
/
bkrnd
diff --git a/user/bkrnd
b/user/bkrnd
new file mode 100755
(executable)
index 0000000..
a6846a7
--- /dev/null
+++ b/
user/bkrnd
@@ -0,0
+1,5
@@
+#!/bin/bash
+
+# A script that outputs a random 8-digit hexadecimal number to stdout.
+
+LC_ALL=C tr -dc "0123456789abcdef" < /dev/urandom | head -c ${1:-8}