<div class="gmail_quote">On Wed, Feb 18, 2009 at 6:29 AM, Phillip Warner <span dir="ltr"><<a href="mailto:phillip.c.warner@gmail.com">phillip.c.warner@gmail.com</a>></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'all mean that you don't want the Local/Original/Diff Dialog to<br>
show up if the files are the same? </blockquote><div><br>Exactly. Sorry if I used a bad wording.<br> </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 "$(diff -q file1 file2 2>/dev/null)" ]; then<br>
# do_dialog_code<br>
fi<br>
<br>
This would keep y'all from having to manage even more tmp files.</blockquote><div><br>But this would to the diff twice...<br>I really think it's a matter of taste here. Frankly, I'm not worried about temp files whose lifespan doesn't exceed that of a single function -- after all, it'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 "sbopkg-discuss" 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>