![]() |
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 |
| getting variable inside awk | subin_bala | Shell Programming and Scripting | 1 | 06-05-2008 04:21 AM |
| variable part of variable name | Smoker | Shell Programming and Scripting | 2 | 01-25-2008 01:11 PM |
| passing a variable inside a variable to a function | KingVikram | UNIX for Dummies Questions & Answers | 2 | 01-14-2008 08:28 PM |
| How to replace variable inside the variable | mani_um | Shell Programming and Scripting | 31 | 08-09-2007 10:56 PM |
| variable inside awk '{print $c}' | Tártaro | Shell Programming and Scripting | 3 | 04-13-2007 08:22 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I'm iterating through a list of test names, each has two associated variables: the number of times the test passed, and the number of times the test ran
varb would be the name of the test at the current iteration (e.g. test04) when I check if the test passed, I need to increment the corresponding count variable (for example, if at this iteration the test name is test04, the associated count variable name is test04_count) Thus, the name of the variable to be incremented is composed from the value of one variable (varb) and "_count" The question is how to increment that variable (vara) |
|
||||
|
after some adjustments, I got what I needed.
Thanks a lot. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|