<div class="gmail_quote"><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Thank you, Bruce.</div>
<div>The official document &quot;rtrmgr.pdf&quot;(Chapter 2.3.2) gave one example:<br>foo {<br>%set: program &quot;/bin/echo -n ’$(@)&#39; &gt;&gt; /tmp/file.txt&quot;;<br>}</div>
<div>What I wrote in <a href="http://test.tp/" target="_blank">test.tp</a> was mostly like this.</div>
<div>If I did not use &quot;save&quot; after &quot;commit&quot;, everything is OK.</div>
<div>What does &quot;These command strings aren&#39;t guaranteed to be executed by a shell&quot; mean?</div>
<div>Does that mean Template Tree program Action can not support this?</div>
<div> </div>
<div>Best</div>
<div>Robin</div>
<div> </div>
<div><br> </div>
<div class="gmail_quote">2009/11/29 Bruce Simpson <span dir="ltr">&lt;<a href="mailto:bms@incunabulum.net" target="_blank">bms@incunabulum.net</a>&gt;</span> 
<div>
<div></div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>You seem to be using shell redirection operators (&#39;&gt;&gt;&#39;) inside a XORP template file.<br>
<br>These command strings aren&#39;t guaranteed to be executed by a shell, you are probably better off using some other means of telling your external program(s) which files to use (e.g. command line arguments).<br><br>cheers,<br>
BMS<br></blockquote></div></div></div><br></blockquote></div><br>