in reply to Re^4: Counting Data in two columns?in thread Counting Data in two columns?
perl has its own build-in grep, that is independent to your OS. http://perldoc.perl.org/functions/grep.html