rm -f stage*
rm -vf CREADME CHANGELOG* readme* README* stage*
echo "Number of files:" `find . -type f | wc -l`
cat * > tmp/aio-"${PWD##*/}".lst
rm -f *.txt && mv tmp/aio-"${PWD##*/}".lst ./
cat aio-"${PWD##*/}".lst | sed 's/[^a-zA-Z0-9]//g' > stage1.1 # to remove all html ****, white space and none alphanumeric entries
cat stage1.1 | pw-inspector -m 8 -M 63 > stage1.2 # only allow words with 8 to 63 chars
tr '[:upper:]' '[:lower:]' < stage1.2 > stage2 && rm stage1.2 # trim leading and trailing whitespace
sort stage2 | uniq > "${PWD##*/}"-clean.lst
rm -f stage* #aio-"${PWD##*/}".lst
wc -l "${PWD##*/}"-clean.lst
md5sum "${PWD##*/}"-clean.lst