Quantcast
Channel: Merging 2 csv files - Ask Ubuntu
Browsing all 3 articles
Browse latest View live

Answer by arupgsh for Merging 2 csv files

The same results can also be obtained with bash commands. paste a.csv b.csv |awk -F",||\t" '{print $1","$2","$3","$6}' The code gives following output: 12,34,56,98 11,23,67,43

View Article



Answer by Sergiy Kolodyazhnyy for Merging 2 csv files

The perl script below reads the two files simultaneously and joins each line from file a.csv to last item in b.csv.Files are given as arguments on the command-line. Order of the files is important....

View Article

Merging 2 csv files

I have two files: a.csv 12,34,56 11,23,67 b.csv 12,34,98 11,23,43 I want to merge them into final.csv: 12,34,56,98 11,23,67,43 and file size is 10gb I have used csvtool but it doesn't work when file...

View Article
Browsing all 3 articles
Browse latest View live


Latest Images