Re: help in deletion part of a line

2007-10-23 Thread Benjamin M. A'Lee
On Mon, Oct 22, 2007 at 03:41:40PM -0700, Gary Kline wrote: Is there an easier way by sed or ed to remove strings (caight by grep) of the sort: part5.chapter2.text- where 5 and 2 can be any integer below 10? (I know how to delete the *entire* line using

Re: help in deletion part of a line

2007-10-23 Thread Shantanoo Mahajan
On 23-Oct-07, at 4:11 AM, Gary Kline wrote: Is there an easier way by sed or ed to remove strings (caight by grep) of the sort: part5.chapter2.text- where 5 and 2 can be any integer below 10? (I know how to delete the *entire* line using ed, but not

Re: help in deletion part of a line

2007-10-23 Thread Gary Kline
On Tue, Oct 23, 2007 at 03:37:13AM +0100, Benjamin M. A'Lee wrote: On Mon, Oct 22, 2007 at 03:41:40PM -0700, Gary Kline wrote: Is there an easier way by sed or ed to remove strings (caight by grep) of the sort: part5.chapter2.text- where 5 and 2 can be any

Re: help in deletion part of a line

2007-10-23 Thread Gary Kline
On Tue, Oct 23, 2007 at 08:13:49AM +0530, Shantanoo Mahajan wrote: On 23-Oct-07, at 4:11 AM, Gary Kline wrote: Is there an easier way by sed or ed to remove strings (caight by grep) of the sort: part5.chapter2.text- where 5 and 2 can be any integer below 10?

help in deletion part of a line

2007-10-22 Thread Gary Kline
Is there an easier way by sed or ed to remove strings (caight by grep) of the sort: part5.chapter2.text- where 5 and 2 can be any integer below 10? (I know how to delete the *entire* line using ed, but not just the first part? thanks,