<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div>Greetings all</div><div><br></div><div>Following a few questions/emails from Glynn and Antonio regarding GRASS Scripting I have the following question:</div>
What is the main difference between Temporary files creation mentioned in Glynn emails:</span><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><pre>
<b>tmp=tmp.myscript.$$</b></pre><pre><b><br></b></pre><pre><b><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; font-weight: normal; white-space: normal; ">And the one used in r.centroid script:</span></b></pre>
<pre><font class="Apple-style-span" face="arial, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: normal;">TMP=$$ </span></font></pre><pre><font class="Apple-style-span" face="arial, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: normal;">TMPFILE=`g.tempfile pid=$TMP`</span></font></pre>
<pre><font class="Apple-style-span" face="arial, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: normal;"><br></span></font></pre><pre><font class="Apple-style-span" face="arial, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: normal;">Thanks</span></font></pre>
<pre><font class="Apple-style-span" face="arial, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: normal;"><br></span></font></pre><pre><font class="Apple-style-span" face="arial, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: normal;">Best regards,</span></font></pre>
<pre><font class="Apple-style-span" face="arial, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: normal;">Nikos</span></font></pre></span></font></div>