In the list.txt I have:
Lucas
Viny
Froid
In current directory, I have a lot csv files containing names.
I need to know how many times each word of my list appears on these csv files.
I tried:
grep -riohf list.txt . | wc -lw
But it return only the counts. I need to know which word each count refers to.
I just need something like that:
Lucas 353453
Viny 9234
Froid 934586