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 ? Keep editing! mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.