[pass] Provide symbol set as command line argument

Henrik Christian Grove passwordstore at 3001.dk
Fri Nov 11 11:05:00 CET 2016


Den 11-11-2016 kl. 10:41 skrev Kevin Cox:
> I'm talking about the first head, not the second. This command gives
> you 12345 when you expected 12345678.
>
> echo '12345
>
>
>
>
>
>
>
>
>
> 67890' | head | tr -dc '0-9 | head -c 8 && echo
>
> A fixed command looks like this (drop the unnecessary head)
>
> tr -dc 'A-Za-z0-9!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' </dev/random |
> head -c 32 && echo
>

You're absolutely right, I totally missed that first head which is
totally unneccessary.

.Henrik




More information about the Password-Store mailing list