Xymon Mailing List Archive search

Solaris 11 Zones iostat problem

list Jeremy Laidman
Fri, 3 Oct 2014 16:31:33 +1000
Message-Id: <user-ac9a09c90baa@xymon.invalid>

On 2 October 2014 02:46, Richard L. Hamilton <user-af55987f6d56@xymon.invalid> 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