I have a csv file with many lines and I need to find some matches and out it to a file. My data are like this:
qwerty asdfgh zxcvbn qwerty aassdd zzxxcc yyuuii tttttt
I need to match:
qwert tttttt aassdd.
As my file are big and my list for matching is long, I am doing this:
while read n ; do grep $n File_1.csv >> results.csv ; done < File_2.csv
I can't get the result I wanted.