<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jun 6, 2014 at 3:06 AM, Vincent <span dir="ltr"><<a href="mailto:vince@macports.org" target="_blank">vince@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="">>> The way to fix this is to use "$@" instead of $*. See the wine port, for example, which does this.<br>
<br>
</div>Is it “$@” with the double quotes or without? I guess it’s without, but I’d like you to confirm.<br></blockquote></div><div class="gmail_extra"><br></div>With the quotes. Pedantically ${1+"$@"} is most correct, but (a) I suspect the case that protects against would fail anyway, and (b) on OS X /bin/sh is bash which handles "$@" as if it were ${1+"$@"}. (I do wonder how long before Apple abandons bash though....)<br clear="all">
<div><br></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div>