This question already has an answer here:
- Print two files in two columns 4 answers
I have this command:
for file in file??.txt; do awk -f vypis_z_dcout.awk "$file" > "$file".csv; done
The result is a column of numbers from each file and I want to connect results from all files in one file like its columns. How to add to this command?
paste <(cat f.csv) <(cat f1.csv) <(cat f2.csv) <(cat f3.csv) <(cat f4.csv) .... insert "$file".csv ... > out.csv
Or how to get a file where in the first column will be file01.csv, in the second file02.csv and so on? Thank you