That's not what grep -il is doing, it outputs the filenames of the files whose content contains the string. So IMHO it's easier to use grep, unless there's more to this problem that we know about.
In reply to Re^2: To get file names from the search string
by RichardK
in thread To get file names from the search string
by tousifp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |