#!/bin/ksh for f in /tmp/satemp/* do cat /tmp/sa/tt.txt| while read line do awk -vLIT="$line" '$0 ~ LIT { print LIT,"Found in ",FILENAME; }' $f done done
awk -v LIT="$line" ' tolower($0) ~ tolower(LIT) { print LIT,"Found in ",FILENAME; }' $f
#!/bin/ksh egrep -i -f /tmp/sa/tt.txt /tmp/satemp/*
egrep -i -o -f /tmp/sa/tt.txt /tmp/satemp/*