docs: update
This commit is contained in:
parent
8e6ad80c4d
commit
92501d9f64
2
pash
2
pash
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user