how to append a new line into texts?
i got full of codes at file1.txt
test abcdefg a1
nmjkloi
ddkkkoll
and i want to auto generate 1000 files, the file name increase by +1 and the number after a (a1) also increase by +1
so i have
file2.txt (a2)
file3.txt (a3)
....file1000.txt (a1000)