aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2018-05-23 11:54:59 +0200
committerDennis Eriksen <d@ennis.no>2018-05-23 11:54:59 +0200
commit8b4423b5851ff89a68225e1ce2a4a087d77569fe (patch)
treed52253d343c9d0233395783a6fe4b1b8b7893929
parentswitching to bash, since zsh did not preserve PATH correctly in the subshell ... (diff)
downloadmakepass-8b4423b5851ff89a68225e1ce2a4a087d77569fe.tar.gz
no more quotes in passwords
-rwxr-xr-xbin/bin/makepass2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bin/makepass b/bin/bin/makepass
index c7ec5d6..2b48456 100755
--- a/bin/bin/makepass
+++ b/bin/bin/makepass
@@ -28,7 +28,7 @@ function makepass {
done;
for i in {1..5}; do
[ "$1" = "" ] && l=$(shuf -i 16-64 -n 1)
- < /dev/urandom tr -dc '!"#$%&/()=?+-_,.;:<>[]{}|\@*^A-Z-a-z-0-9' | head -c${1:-$l};echo;
+ < /dev/urandom tr -dc '!#$%&/()=?+-_,.;:<>[]{}|\@*^A-Z-a-z-0-9' | head -c${1:-$l};echo;
done;
}