3 Oct
2014
3 Oct
'14
6:31 a.m.
On 2 October 2014 02:46, Richard L. Hamilton <rlhamil2 at gmail.com> wrote:
if [ -x /usr/bin/zonename ] && [ x”
/usr/bin/zonename” = x”global” ]
(the x in front of the strings being compared is just paranoia against one of them having a syntactically confusing value, like a dash option or an = sign)
I could be wrong, but I don't know of any shell that would misinterpret a dash or equals when inside double quotes.
J