diff options
author | Dennis Eriksen <d@ennis.no> | 2018-05-23 11:54:59 +0200 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2018-05-23 11:54:59 +0200 |
commit | 8b4423b5851ff89a68225e1ce2a4a087d77569fe (patch) | |
tree | d52253d343c9d0233395783a6fe4b1b8b7893929 | |
parent | switching to bash, since zsh did not preserve PATH correctly in the subshell ... (diff) | |
download | makepass-8b4423b5851ff89a68225e1ce2a4a087d77569fe.tar.gz |
no more quotes in passwords
-rwxr-xr-x | bin/bin/makepass | 2 |
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; } |