cracklib-format 218 B

12345678910
  1. #!/bin/sh
  2. #
  3. # This preprocesses a set of word lists into a suitable form for input
  4. # into cracklib-packer
  5. #
  6. gzip -cdf "$@" |
  7. grep -v '^\(#\|$\)' |
  8. tr '[A-Z]' '[a-z]' |
  9. tr -cd '\012[a-z][0-9]' |
  10. sort -u