I have a file :
aaa
bbb
ccc
and another one:
111
222
333
444
.
.
999
My desired output after appending should be :
aaa 111
bbb 222
ccc 333
aaa 444
bbb 555
ccc 666
.
.
.
aaa nnn
I can append fixed strings with awk and sed, but I'm not able to figure out the looping over a fixed number of lines with different strings. While the second long file exists as a file, the strings to append don't have to be in a file, but since it is 11 lines of looping in the real case, I assume another file is the right ay to read them in.
awk
andsed
Areas, @Rajib?