ubuntu-22.04.3-desktop-amd64/casper/filesystem/usr/sbin/cracklib-format

11 lines
231 B
Bash
Executable File

#!/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]' |
env LC_ALL=C sort -u