![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multiple substitution | MrityunjayKUMAR | Shell Programming and Scripting | 2 | 05-23-2008 10:24 AM |
| sed substitution and multiple lines | manouche | Shell Programming and Scripting | 1 | 03-06-2008 01:21 AM |
| AWK substitution | klut | Shell Programming and Scripting | 4 | 01-15-2008 11:26 AM |
| Bad Substitution | D_Redd74 | Shell Programming and Scripting | 3 | 02-07-2007 05:48 PM |
| sed substitution | jo_aze | UNIX for Dummies Questions & Answers | 3 | 06-23-2002 10:32 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hello Guys,
I have some variables declared as below VARIABLE1=Table VARIABLE2=VARIABLE1 Now when I do an echo $VARIABLE2 it gives me below atrcus303{root} #: echo $VARIABLE2 VARIABLE1 I want to echo the value of VARIABLE1 using the VARIABLE2. So I tried to the below atrcus303{root} #: echo ${$VARIABLE2} bash: ${$VARIABLE2}: bad substitution Is there any way the Shell allows you to multiple substitute a variable? ![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|