join all lines inside pattern that occurs more than once

2007-04-26 Thread Nikolaos A. Patsopoulos
Hi, I want to join all lines that are inside a given pattern and occurs more than once in the text, ie: PatternStart text1 text2 ...text3 ..text4 PatternEnd ... ... PatternStart text1 text2 ...text3 ..text4 ... ...textn PatternEnd ... PatternStart

Re: join all lines inside pattern that occurs more than once

2007-04-26 Thread Jürgen Krämer
Hi, Nikolaos A. Patsopoulos wrote: I want to join all lines that are inside a given pattern and occurs more than once in the text, ie: PatternStart text1 text2 ...text3 ..text4 PatternEnd ... ... PatternStart text1 text2 ...text3 ..text4

Re: join all lines inside pattern that occurs more than once

2007-04-26 Thread Peter Palm
Op donderdag 26 april 2007, schreef Nikolaos A. Patsopoulos: Hi, Hi I want to join all lines that are inside a given pattern and occurs more than once in the text, ie: PatternStart text1 text2 ...text3 ..text4 PatternEnd ... ... PatternStart text1