<quote who="Scott Ragen"> > grep -o ',' input.txt |wc -l
Oh nice, grep -o! Clever! :-) - Jeff -- GNOME.conf.au 2008: Melbourne, Australia http://live.gnome.org/Melbourne2008 "People keep asking me why we aren't married, and he says, 'Every time I am about to ask you, you do something annoying'." - Kate Beckinsale -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html