<div class="gmail_quote">On Wed, Feb 18, 2009 at 6:29 AM, Phillip Warner <span dir="ltr">&lt;<a href="mailto:phillip.c.warner@gmail.com">phillip.c.warner@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">
[...]</div>
Did y&#39;all mean that you don&#39;t want the Local/Original/Diff Dialog to<br>
show up if the files are the same? &nbsp;</blockquote><div><br>Exactly. Sorry if I used a bad wording.<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If that is the case, then instead<br>
of using a tmp file why not have a statement similar to this<br>
<br>
if [ -n &quot;$(diff -q file1 file2 2&gt;/dev/null)&quot; ]; then<br>
 &nbsp;# do_dialog_code<br>
fi<br>
<br>
This would keep y&#39;all from having to manage even more tmp files.</blockquote><div><br>But this would to the diff twice...<br>I really think it&#39;s a matter of taste here. Frankly, I&#39;m not worried about temp files whose lifespan doesn&#39;t exceed that of a single function -- after all, it&#39;s rather easy to manage them correctly.<br>
</div></div><br>-- <br>Mauro Giachero<br><br>
--~--~---------~--~----~------------~-------~--~----~<br>
You received this message because you are subscribed to the Google Groups &quot;sbopkg-discuss&quot; group. <br> To post to this group, send email to sbopkg-discuss@googlegroups.com <br> To unsubscribe from this group, send email to sbopkg-discuss+unsubscribe@googlegroups.com <br> For more options, visit this group at http://groups.google.com/group/sbopkg-discuss?hl=en<br>
-~----------~----~----~----~------~----~------~--~---<br>
<br>