<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"><<a href="mailto:jmr@macports.org" target="_blank">jmr@macports.org</a>></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>
> I am working on a Portfile from which I want to call the `unifdef`<br>
> command. The manpage for `unifdef` says: "Exit status is 0 if output is<br>
> exact copy of input, 1 if not, 2 if trouble." The whole reason I am<br>
</div>> running `unifdef` is to change the output, so I /want/ it to return 1.<br>
<div class="">> However, when I put this in my Portfile, it interprets this as a<br>
> failure. Is there any way that I can get around this?<br>
<br>
</div>unifdef || [ $? -ne 2 ]<br>
</blockquote></div><br></div>