![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| use variable for sed print line | atchleykl | UNIX for Dummies Questions & Answers | 3 | 02-23-2009 01:49 PM |
| How to print a value in the variable using awk ? | jisha | Shell Programming and Scripting | 1 | 01-14-2008 07:45 AM |
| can awk print column using a variable ?? | jambesh | Shell Programming and Scripting | 36 | 09-26-2006 07:39 AM |
| print the name of variable | sun-guy | Shell Programming and Scripting | 1 | 08-06-2006 05:03 PM |
| print variable in awk | kazanoova2 | Shell Programming and Scripting | 8 | 05-17-2004 06:30 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi,
I'm trying the following: Code:
code_0_0=1001 code_0_1=Test1 code_1_0=1002 code_1_1=Test1 x=1001 while [ $i -le 1 && $x -ne $code_$i_0 ] do i=`expr i + 1` done echo The Value Matched at $i variable and has value $code_$i_1 Regards, Aravind. C |
![]() |
| Bookmarks |
| Tags |
| bash, bash eval, eval |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|