what are you trying to install?
do you need the  around the option - what happens if you don't use the  ?
The command requires the square brackets.
It is a bespoke piece of software (legacy app).
can you try quoting it - like:
mycommand -x "[something]"
mycommand -x '[something]'
you can escape the property/support file reference w/ \ - like:
odd the slash didn't escape the bracket.
I'm having a similar issue. I'd like to set up a pkgadd on solaris so that it will only install if the package in question is NOT there. I could do it if I could add the following just prior to the pkgadd command:
[ ! "`pkginfo | grep package_name`" ] && pkgadd.....
The only problem is that the square brackets get eliminated by whatever is interpreting this command line.
Now, the reason that this would be a good thing to add to the pkgadd command would be that I can ALWAYS get a successful result when deploying this to a system even if it already has the package installed.
how many of the escapes did you try? open a ticket on this too :)