Re: script question

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



> On Fri, Jun 11, 2010 at 10:04 AM, Jerry Geis <geisj@xxxxxxxxxxxxxxx>
> wrote:
>> 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

echo \_$VERSION\_

       mark

_______________________________________________
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