aspose file tools
The moose likes Linux / UNIX and the fly likes Bad Substitution Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Reply Bookmark "Bad Substitution" Watch "Bad Substitution" New topic
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)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Bad Substitution
 
Similar Threads
need a substitute for XYLayout class in "com.borland.jbcl.layout" package
Has anyone learned C#?
Inheritence
Regarding overriding
ksh script - (Not Java related) - Child script name