<quote who="Lindsay Holmwood">

> Not a bug at all! grep -c only counts the number of matching lines, not
> the number of occurances of a pattern in a line.

But when you stick -o in there... Hrrrmmm... I even switched their position
on the command line to see if that changed the output. Total cargo cult and
voodoo, but anyway. ;-)

- Jeff

-- 
GNOME.conf.au 2008: Melbourne, Australia http://live.gnome.org/Melbourne2008
 
  "Everything I knew about TCP/IP I had downloaded the same day I started
                     hacking the net code." - Alan Cox
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to