find -name \*.aff -type f -print0|perl -0ne 's%\.[^.]+$%%;if(-s"$_.dic"&&!-s"$_.text"){print"echo $_\nunmunch $_.dic $_.aff 2>/dev/null>$_.text\n\n"}'>wordlist_generator.sh