need join two file side by side in unix shell script
₹1500-1600 INR
Dalam Kemajuan
Disiarkan hampir 12 tahun yang lalu
₹1500-1600 INR
Dibayar semasa penghantaran
Hi ,
i need join two file side by side in unix shell script.
when using : paste file1 file 2
getting the error :Argument list too long
as file2 contains data which has long column value.
please suggest an alternative to join the two file i.e
file1 contains value as below:
JOB_GRM_1868,a,b,c,d,e,f (where JOB_GRM_1868 is job id)
JOB_GRM_15269,f,n,g,h,k,m
file2 contains value as below:
JOB_GRM_1868,abjjknmcwebbb jkkl sdjksdghdudfjk dkkdkldl
JOB_GRM_15269,sadfdg rgfhggfhj rgrhrth bhtrhyjh trhtjyhkj egfrgfgh ergtryt5u rgtgr
(where JOB_GRM_1868 is job id)
want to join with job_id(JOB_GRM_1868)
result will be in file3 as:
JOB_GRM_1868,a,b,c,d,e,f ,abjjknmcwebbb jkkl sdjksdghdudfjk dkkdkldl
JOB_GRM_15269,f,n,g,h,k,m, sadfdg rgfhggfhj rgrhrth bhtrhyjh trhtjyhkj egfrgfgh gtryt5u
the above is just an example the two file is very large.
Hi,
I have excellent expertise in working on these kind of tasks and I will do a perfect "Side by side - matching line ID" file merge exactly as per your requirements.
Please let me know if you have any questions.
Thanks and regards.