File: cracklib-format

package info (click to toggle)
cracklib2 2.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,148 kB
  • ctags: 411
  • sloc: sh: 11,875; ansic: 2,632; xml: 365; python: 288; makefile: 207; sed: 16
file content (10 lines) | stat: -rw-r--r-- 218 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
#
# This preprocesses a set of word lists into a suitable form for input
# into cracklib-packer
#
gzip -cdf "$@" |
    grep -v '^\(#\|$\)' |
    tr '[A-Z]' '[a-z]' |
    tr -cd '\012[a-z][0-9]' |
    sort -u