Posted By

noah on 12/11/10


Tagged

data human Shell Bash password random generator String key commandline filter unique security Processing word gnu one-liners pwgen nonsense pronounceable humane human-readable memorable


Versions (?)

test that pwgen does not produce duplicate words


 / Published in: Bash
 

  1. WORD_COUNT=9999; pwgen -01AB -N $WORD_COUNT > set1; pwgen -01AB -N $WORD_COUNT > set2; cat set1 set2 | uniq -c | sort -rn | grep -v 1

Report this snippet  

You need to login to post a comment.