[CentOS] question on grep

Stephen Harris lists at spuddy.org
Wed Oct 10 19:43:43 UTC 2007


On Wed, Oct 10, 2007 at 04:32:30PM -0300, mups.cp wrote:
> A simple one
> # echo "jerry jerry" | tr " " "\n" | grep -c jerry
> 2

But what about jerry.jerry or jerry/jerry or jerry,jerry or....

(and please don't top post!)

-- 

rgds
Stephen



More information about the CentOS mailing list