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.
Related Posts with loop to increment a string variable
Monte Carlo Simulation to generate garch processCan anyone tell what's wrong with my simulation: ////////////////////////////////////////the Code: c…
Continuos selection variable, switching modeI wish to estimate the following model: y=b0+b1*x1+b2*X2+mu if X2>= f(x1) and y=a0+a1*x1+epsilon …
Help with line graphsHello, Could someone kindly help with plotting a graph showing trends of time. This is a study look…
Continuos selection variable, switching modeI wish to estimate the following model: y=b0+b1*x1+b2*X2+mu if X2>= f(x1) and y=a0+a1*x1+epsilon …
Help with line graphsHello, Could someone kindly help with plotting a graph showing trends of time. This is a study look…
Subscribe to:
Post Comments (Atom)
0 Response to loop to increment a string variable
Post a Comment