On Fri, Jul 9, 2010 at 3:25 PM, Mark Pace <[email protected]> wrote: > and it does not create the file. change it to console and it works again. > Am I missing something obvious?
As Alan points out, you need to append rather than replace the file. But since it is Friday, you might learn a bit of mult-stream plumbing instead... Rather than calling the pipeline in a loop, you could make a single pipe do all the files: 'PIPE (end \)', '\ stem files.', '| o: fanout', '| pad 25', '| j: juxtapose', '| > test data a', '\ o:', '| getfiles', '| locate anycase /'LookFor'/', '| j:' Depending on the number of files you're handling, you might even notice the speedup. But more important is that it makes it much easier to extend the process and do other things with the data. Rob
