You could try the below, I am sure there are prettier ways of doing it, but should work.
Code:
for i in $(cat danish.txt) ; do seq -f $i%02.0f 0 99 ; done > danish_numbers.txt
If you want the numeric values to go from 0 - 99 instead of 00 - 99 then change as follows
Code:
for i in $(cat danish.txt) ; do seq -f $i%01.0f 0 99 ; done > danish_numbers.txt
It worked OK for me on a small text file, might take a wee while to go through your entire wordlist though.
To suffix 3 digits (000 - 999) in the same way ;
Code:
for i in $(cat danish.txt) ; do seq -f $i%03.0f 0 999 ; done > danish_numbers.txt
Or just 1 digit (0 - 9) ;
Code:
for i in $(cat danish.txt) ; do seq -f $i%01.0f 0 9 ; done > danish_numbers.txt
I am in the process of creating a blogpost with some info on general one-liners for wordlist manipulation which you
may find handy to go through ;
(shameless plug
)
A day with Tape: Wordlist manipulation revisited