You might want to read up on the <concat> task along with the <filterchain> 
nested elements.
 
One route...
Write your property out to a temp file
Use the <concant> along with <filterchain> sub-element to concat the first 3 
lines of the orginal file with the temp file (stored in another file).
Then use another <concat> (with <filterchain> sub-element) to take the 4 line 
temp file and join it to the rest of the main file (i.e. the 5th line and 
beyond).

Erik Hatcher <[EMAIL PROTECTED]> wrote:
task or the replaceregex filter reader on a 
would do the trick, I think.

Erik


On Jan 26, 2005, at 8:31 AM, Rebhan, Gilbert wrote:

>
> Hi,
>
> yet another txtfileprocessing question.
>
> File looks like that :
>
> 01 bla
> 02 bla
> 03 bla
> 04
> 05
> 06
> 07 bla
> 08 bla
> 09 bla
>
> How to put the value of a property on line 4 ?
>
> The rest of the file should remain as it is.
>
> Problem : no tokens like @...@ there, just a blank line
> The linenumber, where the value should be put in is always
> line number 04.
>
> Any hints ?
>
> Gilbert
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


                
---------------------------------
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'

Reply via email to