I've got another problem with strings. I was reading a file using the read command like this:
while read offNormalStatus
do
....
done
Then I executed the command like this:
pcms ac $ChangeRequestID /STATUS="$offNormalStatus"
where $ChangeRequestID was always a single String and...
The problem was not in the command level, it was how I set the value for the variable I used.
When setting the variable like:
nextStatus="INTEGRATION TEST"
and using the command
pcms ac $ChangeRequestID /STATUS="$nextStatus"
the error occurs as described.
But when...
I try to execute the following command in a kornshell:
pcms ac $ChangeRequestID /STATUS=$nextStatus
where "pcms" is a programm of an API I use, "ac" the method of this API-function.
Now, when korn shell is gathering the variable "$nextStatus" it seems to stop with...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.