Hello
I have 200 files. Each has 2 columns. I want to copy the first column from each of the 200 files into a new file. The new file will have 200 columns. How to do this (using awk/cut/paste etc). I have tried awk, but putting it in a for loop is difficult and I have failed to do so.
Thank you for your help!!
Take inspiration from here: https://unix.stackexchange.com/questions/158408/select-certain-column-of-of-each-file-paste-to-a-new-file
It would help if you could provide a sample. Is it a plain text file, does it contain non-ascii characters? Are there headers that you want to preserve? What is the separator between columns? Are there spaces in the entries?