bash? - combining files into CSVs
问题 I know (see here) that you can use paste to combine multiple files into a .csv file if each file holds a column i.e.. paste -d "," column1.dat column2.dat column3.dat ... > myDat.csv will result in myDat.csv column1, column2, column3, ... c1-1, c2-1, c3-1, ... c1-2, c2-2, c3-2, ... ... ... ... (without the tabs. just inserted them to make it more readable) What if I have multiple measurements, instead? e.g. file1.dat has format <xvalue> <y1value> file2.dat has format <xvalue> <y2avlue> file3