Re: how to copy and edit a section of a text file

2008-10-09 Thread ca_iancu
> > to the following: > > > > > > ..a number of lines of properties here (irrelevant, unchanged) > > > > ..a number of lines of properties here (irrelevant, unchanged) > > > Gilb

Re: how to copy and edit a section of a text file

2008-10-09 Thread ca_iancu
#x27;t seem like it's something I could use for text processing. Gilbert Rebhan wrote: > > ca_iancu schrieb: >> This is a commercial library. I want to use existing functionality from >> Ant >> to accomplish this task. I am certain it is possible, I just do not kno

RE: how to copy and edit a section of a text file

2008-10-09 Thread ca_iancu
encountered. I can copy and edit the teaxt once I have it in a variable. Rebhan, Gilbert wrote: > > -Original Message- > From: ca_iancu [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 09, 2008 3:22 PM > To: user@ant.apache.org > Subject: how to copy and edit a sect

how to copy and edit a section of a text file

2008-10-09 Thread ca_iancu
Hello, I'm trying to edit an XML file by searching with regular expressions. Once found, the text will be copied, changed and appended at the end (or beginning) of the aforementioned found text.The lines I am looking for have the following format: .. "some_device" is a varia