Vishal Kapoor wrote:
> 
> I want to read a few files and search for a particular word. I want to then
> print a list of all the files with that word.
> Any ideas ??

perl -lne'/\bparticular\b/&&print($ARGV)&&close(ARGV)' yourfiles*


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to