Seeking a grep-like script

Timothy Murphy gayleard at eircom.net
Thu Jun 10 12:36:07 UTC 2010


I'm looking for a grep-like script that searches for a given word,
and returns the paragraphs in which it appears (rather than the lines),
where a paragraph is defined as the material between 2 blank lines.

All suggestions gratefully received.

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland



More information about the users mailing list