I have a file where I want to extract two columns and add at a specific location to another file that is already full of columns.
Could I cat file 1 and make it a variable and then cat file 2 and make it a variable and then combine variables with export and awk? Someone helped me before with single lines of text in this manner, but I don't know if it applies to whole files.
Input file 1
Group F3D0 F3D1 F3D9 F3D Otu01 1627 1935 8335 241
Input file 2
oi1 oi2 lk8 po8
oi1 oi2 Group F3D0 F3D1 F3D9 F3D lk8 po8 Otu01 1627 1935 8335 241