<div dir="ltr">I had to escape the brackets, but after that, it worked. Thanks!<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Feb 8, 2014 at 9:23 PM, Joshua Root <span dir="ltr">&lt;<a href="mailto:jmr@macports.org" target="_blank">jmr@macports.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 2014-2-9 12:22 , Eric Gallager wrote:<br>
&gt; I am working on a Portfile from which I want to call the `unifdef`<br>
&gt; command. The manpage for `unifdef` says: &quot;Exit status is 0 if output is<br>
&gt; exact copy of input, 1 if not, 2 if trouble.&quot; The whole reason I am<br>
</div>&gt; running `unifdef` is to change the output, so I /want/ it to return 1.<br>
<div class="">&gt; However, when I put this in my Portfile, it interprets this as a<br>
&gt; failure. Is there any way that I can get around this?<br>
<br>
</div>unifdef || [ $? -ne 2 ]<br>
</blockquote></div><br></div>