| Author |
Bad Substitution
|
Dinesh Tomar
Greenhorn
Joined: Jan 25, 2012
Posts: 1
|
|
I have a key name suppose my.real.name and i want to display its value as
echo ${my.real.name}
it gives me an error Bad Substitution. Please tell me what to do?
|
 |
Anayonkar Shivalkar
Bartender
Joined: Dec 08, 2010
Posts: 1295
|
|
Which shell are you using? Dot (.) is not allowed in variable name on bash (I guess ksh supports it).
I hope this helps.
|
Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD)
|
 |
 |
|
|
subject: Bad Substitution
|
|
|