grep by paragraph
by Timothy Murphy
Is there an option for grep, or some similar program,
that will print out a whole paragraph -
defined as the section between two blank lines -
containing a given word or phrase?
Such as the above 4 lines.
If not, can anyone suggest a simple script that will do this?
--
Timothy Murphy
e-mail: gayleard /at/ eircom.net
School of Mathematics, Trinity College, Dublin 2, Ireland
10 years, 8 months