Re: script question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



 

> -----Original Message-----
> From: centos-bounces@xxxxxxxxxx 
> [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of John Doe
> Sent: Friday, June 11, 2010 10:50 AM
> To: CentOS mailing list
> Subject: Re:  script question
> 
> From: "m.roth@xxxxxxxxx" <m.roth@xxxxxxxxx>
> >> 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**

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux