Re: [CentOS] Help using ed [OT]

2008-09-01 Thread William L. Maltby
On Sun, 2008-08-31 at 19:45 +0200, Thomas Johansson wrote: Hi Perhaps omeone might answer this tricky problem. I can do this other ways, but i really want to understand how to solve it using ed. I have one solution using g/re/s/re//txt/ , but I want to understand how or if i can solve

Re: [CentOS] Help using ed [OT]

2008-09-01 Thread Bill Campbell
On Mon, Sep 01, 2008, William L. Maltby wrote: On Sun, 2008-08-31 at 19:45 +0200, Thomas Johansson wrote: Hi Perhaps omeone might answer this tricky problem. I can do this other ways, but i really want to understand how to solve it using ed. I have one solution using g/re/s/re//txt/ , but

Re: [CentOS] Help using ed [OT]

2008-09-01 Thread William L. Maltby
On Mon, 2008-09-01 at 10:26 -0700, Bill Campbell wrote: On Mon, Sep 01, 2008, William L. Maltby wrote: On Sun, 2008-08-31 at 19:45 +0200, Thomas Johansson wrote: Hi Perhaps omeone might answer this tricky problem. I can do this other ways, but i really want to understand how to

[CentOS] Help using ed [OT]

2008-08-31 Thread Thomas Johansson
Hi Perhaps omeone might answer this tricky problem. I can do this other ways, but i really want to understand how to solve it using ed. I have one solution using g/re/s/re//txt/ , but I want to understand how or if i can solve it using the ed (.)a command. A script i have parse several