[Xymon] Solaris 11 Zones iostat problem

Jeremy Laidman jlaidman at rebel-it.com.au
Fri Oct 3 08:31:33 CEST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20141003/2b984f91/attachment.html>


More information about the Xymon mailing list