RE: Read a file line by line and do something for each line

2009-04-08 Thread Felix Dorner
Hey Jan, > list="${src}" delimiter="${line.separator}"> > > > > Yes this works too, apart from my natural dislikes against for. :-) I'll include a filter and meditate into happiness..: Thanks, Felix - To unsubsc

AW: Read a file line by line and do something for each line

2009-04-08 Thread Jan.Materne
>I'm trying to figure out a way how to read a text file line by line. >Then for each read line I'd like to invoke a macro with that >line's contents as an argument. I can't find a better whay >than using ant-contribs math+var tasks to count the number of >lines read so far. With that I can use

Read a file line by line and do something for each line

2009-04-08 Thread Felix Dorner
Hey, I'm trying to figure out a way how to read a text file line by line. Then for each read line I'd like to invoke a macro with that line's contents as an argument. I can't find a better whay than using ant-contribs math+var tasks to count the number of lines read so far. With that I can use