<div class="gmail_quote"><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>Thanks for the feedback.  I tried replacing == by = on Mac OS X and it<br>
still works fine, so I've put a patch on the repository.  I guess the<br>
Mac OS X /bin/sh has an extension which allows == in addition to the<br>
(older?) = .<br>
</blockquote></div><br>Indeed.<br><br>String equality<br>[ "foo" = "foo" ] && echo ok<br><br>Number equality<br>[ 1 -eq 1 ] && echo ok<br><br><br>I think there is no reason to have "==", especially as a alias of "=".<br>
Should I be an OSX dev, I'd demonstrate for the removal of this from the default shell.<br>Default behaviors must be portable or must not be.</war->.<br><br>P!<br clear="all"><br>-- <br>Français, English, 日本語, 한국어<br>
<br>