Help for this page
grep BLOCK LIST grep EXPR,LIST
grep ': FAIL' $logFile
open my $fh, '<', $logFile or die $!; my $status = grep /: FAIL/, <$fh>; # or my $status = grep { -1 != index $_, ': FAIL' } <$fh>;
my $status = system 'grep', ': FAIL', $logFile;