docs: update

This commit is contained in:
Dylan Araps 2019-02-24 23:56:33 +02:00
parent 8e6ad80c4d
commit 92501d9f64

2
pash
View File

@ -61,7 +61,7 @@ pw_gen() {
mapfile -tn "${length:=50}" rand </dev/urandom mapfile -tn "${length:=50}" rand </dev/urandom
[[ $plain ]] && [[ $plain ]] &&
glob=[:alnum:] glob='[:alnum:]'
password=${rand[*]//[^${glob:-[:graph:]}]} password=${rand[*]//[^${glob:-[:graph:]}]}
password=${password:0:$length} password=${password:0:$length}