in reply to Re: Re: All files in dir to Storable.pm data
in thread All files in dir to Storable.pm data

You won't get the filename prefix if xargs happens to hand grep only one item though. Always throw an extra /dev/null in there, which will be opened and bypassed, but is enough to ensure more than one filename at all times:
find . -type f -print | xargs grep "whatever you want" /dev/null

-- Randal L. Schwartz, Perl hacker