Hello I have 2 csv files
File1.csv (4 columns)
3 T;3.0 T;269.8 M;/path1/
3 T;3.0 T;3.4 G;/path2/
File2.csv (5 columns)
10000;9459;206;335;/path1/
10000;8543;205;1252;/path2/
I want to produce an output.csv file from File1.csv and File2.csv only if path in File1.csv and File2.csv are equal
The output file produced should be :
10000;9459;3 T;3.0 T;206;335;269.8 M;/path1/
10000;8543;3 T;3.0 T;205;1252;3.4 G;/path2/
--> The condition is "value of Col4 in File1" = "value of col5 in File2" (f1_col4 = f2_col5)
--> The output.csv file produced should have 8 columns : f2_col1;f2_col2;f1_col1;f1_col2;f2_col3;f2_col4;f1_col3;f1_col4
How can i do this with awk please ?