All you need to do is to generate a so called brute-force rule. This is just all possible rules required to generate all possible combinations.
That is useful if you want to do Hybrid attack in hashcat or oclHashcat-plus. All you need it to add the ”-r bf.rule”.
This appends 0000 - 9999 to each words from your dictionary:
$ ./mp64.bin -o bf.rule '$?d $?d $?d $?d'
This prepends aa - zz to each words from your dictionary:
$ ./mp64.bin -o bf.rule '^?l ^?l'