I'm trying to find some words within my directory and created a text file containing them which is read by my shell script:
for i in $var; do
find -type f -print0 | xargs -r0 grep -F '$i'
But it searches "$i" (dollar sign with 'i'), and not the word. How to do it?
Thank you very much.