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 _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos