Hi All, I though grep could do it, as BBEdit's version can, but got disappointed. Grep can't find over multi-lines... So, is there any CLI solutions out there that can return a match on text over multi lines??? I would like to do something like: echo 'my very long text from a email body' | myRegexCmd 'regex expression' Any help appreciated! ____________________________________________ Jakob Peterhänsel Network Consultant Tel: +45 7022 1014 Fax: +45 7022 1013 Mob: +45 22 68 49 61 jp at netpoint.com www.NetPoint.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1078 bytes Desc: not available Url : http://listserver.themacintoshguy.com/pipermail/x-unix/attachments/20041027/01b2d89f/attachment.bin