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:File 1qwertyasdfghzxcvbnqwertyaassddzzxxccyyuuiittttttI need to match: File 2qwertttttttaassdd.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.csvI can't get the result I wanted. Please help!
While read loop with grep
grep