[CentOS] script question

Jerry Geis

geisj at pagestation.com
Fri Jun 11 14:04:47 UTC 2010


Hi all,


in a script if I have:
VERSION="3.2.0"

I can do:
echo jj-$VERSION-jj
and get jj-3.2.0-jj

however if I do:
echo jj_$VERSION_jj
I get jj_

How do I get the $VERSION to work with the underscores like the dashes do.

Thanks,

Jerry



More information about the CentOS mailing list