I would like to create a file with every combination of letters out to 10 characters.
For example, the first few lines
a
b
c
then eventually
aa
ab
ac
then eventually
aaa
aab
aac
and so on. Finally, it will end with
zzzzzzzzzz
This will create 26^10 lines. Is there a simple way to create a file like this with some kind of loop?
Thanks in advance.
For example, the first few lines
a
b
c
then eventually
aa
ab
ac
then eventually
aaa
aab
aac
and so on. Finally, it will end with
zzzzzzzzzz
This will create 26^10 lines. Is there a simple way to create a file like this with some kind of loop?
Thanks in advance.
Comment