Re: Finding something conatined in two lines?

2007-04-12 Thread Jürgen Krämer
Hi, [EMAIL PROTECTED] wrote: > > Suppose there is a file containing a path/filename -- in each line: > > # > a.txt > b.txt > c.txt > # > 1.txt > 2.txt > 3.txt > 4.txt > # > 1.txt > 3.txt > 4.txt > # > > Now I want to replace any combination of > 1.txt > 2,txt

Finding something conatined in two lines?

2007-04-12 Thread meino . cramer
Hi, Suppose there is a file containing a path/filename -- in each line: # a.txt b.txt c.txt # 1.txt 2.txt 3.txt 4.txt # 1.txt 3.txt 4.txt # Now I want to replace any combination of 1.txt 2,txt by - say - x.txt Is there a way to expand / of two/more lines ?