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/ ... or was I dreaming it ... Cheers, Jonathan Kelly. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug