on Mon, Nov 26, 2001 at 12:53:07PM +1100, Jonathan Kelly <[EMAIL PROTECTED]> wrote:
> Hi all you sed-heads,
> 
> I was sure it was possible to get sed to match a line
> containing a re "and the next n lines" by doing something
> like
> 
> /find text/,+3s/old text/new string/

The seder's grab-bag may help
http://spazioweb.inwind.it/seders/

BB

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to