Im doing program in linux shell that search a text within a file and display the result of a text including the filename of a file where it exists. This is a sample program I made..
for filename in $list
if [`cat $filename | grep $1`]
if [`cat $filename | grep $1`], im not sure with this line. TY