September 26th, 2012, 11:54 AM
Unable to pass complete string to the shell script
this may be a basic question.
I managed to generate a random password using SAP application and passing this pwd to a unix script on SunOS.
original string passing from SAP: X/ULnaStM~c=Rzv<)WoGWY%giw7K+Us+aTbs\5E}
however when I echo this string it's showing upto X/ULnaStM~c
it's not able to show rest of the word starting with = sign.
is there any way you can help me how do we let the compiler know this is a string but not a value. Please advise.
September 26th, 2012, 12:30 PM
Are there any restrictions on the characters that can be in the password?
A single quote character is usually needed in these cases.
$ echo '"hello$=world!"'