<div dir="ltr">Works now, thanks!<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 16, 2013 at 3:50 PM, Mihael Hategan <span dir="ltr"><<a href="mailto:hategan@mcs.anl.gov" target="_blank">hategan@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Should work now (r7072).<br>
<span class="HOEnZb"><font color="#888888"><br>
Mihael<br>
</font></span><div class="im"><br>
On Mon, 2013-09-16 at 10:49 -0500, Ketan Maheshwari wrote:<br>
> Hi,<br>
><br>
> I am trying a catsn example with foreach replaced by iterate as follows:<br>
><br>
> ===<br>
> type file;<br>
><br>
> app (file o) cat (file i) {<br>
> cat @i stdout=@o;<br>
> }<br>
> file out[]<simple_mapper; location="outdir", prefix="f.",suffix=".out">;<br>
><br>
> string d=@arg("data");<br>
><br>
> #foreach j in [1:1000] {<br>
> iterate j {<br>
> file data<single_file_mapper; file=d>;<br>
> out[j] = cat(data);<br>
> } until (j==3);<br>
> ===<br>
</div>[...]<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br><font face="'courier new', monospace">Ketan</font><br><br>
</div>