> "grepmail -h foo" gets pretty close. Except that it doesn't use sgrep, which was the point of the question: I was asking how to do that *kind* of thing with sgrep (search only one one sub-pattern but display a larger containing pattern), not how to do that specific thing with any tool...