[H-GEN] replacing text between 2 strings

Shaun Nykvist shaun at kangawallafox.com.au
Wed Jan 8 16:47:30 EST 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

Hi all

I have about 200 text files where I need to delete the text between 
multiple occurrences of 2 constant strings.  For example
Return-Path

various text here

Date

Can someone suggest a suitable quick method of deleting this text between 
Return-Path and Date across multiple files.  I have been playing with Ed 
but have not come  up with a suitable solution yet.

Cheers
Shaun


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list