I want to create a new file by copying rows of each file and pasting columnwise according to their file name orders. Here is the sample input and required output files below.
file1.txt
1234
5678
9201140
file2.txt
abcged
ghigk
lmn
required output file
out.tx
1234
abcged
5678
ghigk
9201140
lmn