Re: non-uniform string substituion

2008-02-13 Thread 7stud
On Feb 13, 4:03 pm, Horacius ReX <[EMAIL PROTECTED]> wrote: > Hi, > > I have a file with a lot of the following ocurrences: > > denmark.handa.1-10 > denmark.handa.1-12344 > denmark.handa.1-4 > denmark.handa.1-56 > > ... > > distributed randomly in a file. I need to convert each of this > ocurrences

Re: non-uniform string substituion

2008-02-13 Thread Steve Holden
Horacius ReX wrote: > Hi, > > I have a file with a lot of the following ocurrences: > > denmark.handa.1-10 > denmark.handa.1-12344 > denmark.handa.1-4 > denmark.handa.1-56 > > ... > > distributed randomly in a file. I need to convert each of this > ocurrences to: > > denmark.handa.1-10_1 > den

non-uniform string substituion

2008-02-13 Thread Horacius ReX
Hi, I have a file with a lot of the following ocurrences: denmark.handa.1-10 denmark.handa.1-12344 denmark.handa.1-4 denmark.handa.1-56 ... distributed randomly in a file. I need to convert each of this ocurrences to: denmark.handa.1-10_1 denmark.handa.1-12344_1 denmark.handa.1-4_1 denmark.han