3546 add support for grep -o optionReviewed by: Andy Fiddaman <andy@omniosce.org>Reviewed by: Toomas Soome <tsoome@me.com>Approved by: Gordon Ross <gordon.w.ross@gmail.com>