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
Wed Oct 10 19:43:43 UTC 2007
Stephen Harris <lists at spuddy.org>
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