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 _______________________________________________ Password-Store mailing list [email protected] http://lists.zx2c4.com/mailman/listinfo/password-store
