• File: cracklib-format
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/sbin/cracklib-format
  • Date Modified: 09/11/2014 11:47 PM
  • File size: 246 bytes
  • MIME-type: text/x-shellscript
  • Charset: utf-8
#!/bin/sh
#
# This preprocesses a set of word lists into a suitable form for input
# into cracklib-packer
#
LC_ALL=C
export LC_ALL
gzip -cdf "$@" |
    grep -v '^\(#\|$\)' |
    tr '[:upper:]' '[:lower:]' |
    tr -cd '\n[:graph:]' |
    sort -u