![]() |
|
|
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 |
| KSH Setting multiples variables with an array | wolfhurt | Shell Programming and Scripting | 1 | 05-20-2008 11:00 AM |
| getting value from field dynamically | finalight | Shell Programming and Scripting | 12 | 05-20-2008 05:13 AM |
| create array holding characters from sring then echo array. | rorey_breaker | Shell Programming and Scripting | 5 | 09-28-2007 09:42 AM |
| How can i read array elements dynamically in bash? | haisubbu | UNIX for Dummies Questions & Answers | 1 | 08-29-2006 03:19 AM |
| Setting values in an array? Easy one | TheCrunge | Shell Programming and Scripting | 3 | 11-29-2005 05:46 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
dynamically setting an array
Hi Gurus, How do I dynamically set up an array. Below is my code Code:
if [[ $tsk_count -gt 0 ]]
then
set ecomm_task_limit = '${ecomm_srvr[$j]}'
fi
Here, I want to set values in the array "${ecomm_srvr[$j]}" into ecomm_task_limit upon each iteration. Finally I want to display all the values in the new array "ecomm_task_limit" after all the iterations are complete. Thanks in advance |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|