# perl -le'$cnt+=@{[m/\bhello\b/g]}for"aahello hello hello","bb heelo +hello phello";print$cnt' 3 [download]
In reply to Re: grep command by Tux in thread grep command by sanku