summaryrefslogtreecommitdiff
path: root/contrib/random
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/random')
-rwxr-xr-xcontrib/random2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/random b/contrib/random
index 10ddda7..f4b28d6 100755
--- a/contrib/random
+++ b/contrib/random
@@ -9,7 +9,7 @@ NUM="0-9"
9SPECIAL='!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' 9SPECIAL='!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~'
10 10
11random() { 11random() {
12 </dev/urandom tr -dc "${ALPHA}${NUM}${SPECIAL}" | /bin/dd bs=1 count=${LEN:-32} 2>/dev/null ; echo 12 </dev/urandom tr -dc "${ALPHA}${NUM}${SPECIAL}" | dd bs=1 count=${LEN:-32} 2>/dev/null ; echo
13} 13}
14 14
15case $1 in 15case $1 in