I'm running into an odd issue I can't figure out with a script I'm working on. You know how you can assign parameters in a policy (or Casper Remote) to $4 through $11 to pass back to the script? Well, it seems anything past $9 does not get properly assigned, no matter what I do or try.
I started running into strange behavior with the script and set up a 'debug' version that echoed back the assignments. What I see is that $4 through $9 are perfectly assigned, and $10 $11 echo back as /0 /1. In other words, its ignoring the double digit and using the 0 and 1 last characters from the parameter. This fouls up the script since its assigning bad information into the variables for the script.
Does anyone know how to get around this? Is this just a bug in Casper or an issue with bash scripts in general? I've never seen this before because honestly I've never had a need to assign more than one or two parameters in a script, but in this case I want to use all of them, if possible.
Any insights would be welcome.