Dear all,
I have several files with multiple columns in each file. I want to extract the 2nd column from the first file and the 7th column from the second file and the 4th column from the third file and then put these 3 columns into a new file with format like below.
Code:
#This is to show the format of the new file with 3
#columns extracted from the 3 files
2nd 7th 4th
columns columns columns
of of of
the the the
first second third
file file file
#END of the file
How could I do this in a simple way by bash script or awk?
Thanks for your help!