> -----Original Message----- > From: centos-bounces at centos.org > [mailto:centos-bounces at centos.org] On Behalf Of John Doe > Sent: Friday, June 11, 2010 10:50 AM > To: CentOS mailing list > Subject: Re: [CentOS] script question > > From: "m.roth at 5-cent.us" <m.roth at 5-cent.us> > >> On Fri, Jun 11, 2010 at 10:04 AM, Jerry Geis < if I do: echo > >> jj_$VERSION_jj I get jj_ How do I get the $VERSION to work > with the > >> underscores like the dashes > > echo \_$VERSION\_ > > Or:echo jj_${VERSION}_jj ? Parenthesis didn't work for me... Braces and escape work. I gave the escape example, but I think the braces solution is the pedantically most proper. ******************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. www.Hubbell.com - Hubbell Incorporated**