Hi,
I am trying to print the results from a find command. It just displays the file name and not the line in which the pattern was found.
my $findCmd = qq{find $vpath -name "*" -print | xargs grep \Q$pattern\E 2>/dev/null};
my
@results = `$findCmd`;
print $findCmd;
Can anyone please help?
Thanks in advance...