How can I read 2 CSV files (data comma seperated) as input using shell script and do operation on that?
File1.csv:
ENG_IT,P1234,Ajay,India,ajay.com
ENG_GN,A4324,Raj,England,raj.com
File2.csv:
P1234,ajay.com
A4324,raj.com
Logic: Read 1st column of File1.csv and last column of File2.csv based on common column in both files i.e. (P1234, A4324) and save them as variable like var1=ENG_IT var2=ajay.com
Thanks
file1.csv(ajay.com and raj.com)?