The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Perl - New line in array elements bperl Shell Programming and Scripting 4 04-03-2008 09:56 PM
dynamically setting an array ragha81 Shell Programming and Scripting 4 02-07-2008 03:54 AM
pass each elements in array to ssytem command jaganadh Shell Programming and Scripting 0 12-14-2007 06:57 AM
To return the elements of array Sudhakar333 Shell Programming and Scripting 5 08-06-2007 02:20 PM
how to return an array of elements from oracle to shell script satyakiran Shell Programming and Scripting 3 08-02-2005 09:57 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-28-2006
haisubbu haisubbu is offline
Registered User
  
 

Join Date: Feb 2006
Posts: 6
How can i read array elements dynamically in bash?

Hi friends how can we read array elements dynamically in bash shell?
  #2 (permalink)  
Old 08-29-2006
Hitori's Avatar
Hitori Hitori is offline Forum Advisor  
Registered User
  
 

Join Date: Jun 2006
Posts: 360
What means dynamically? Look at http://www.tldp.org/LDP/abs/html/arrays.html or at this one http://www.tldp.org/LDP/abs/html/internal.html#EX36
I think read -a array is what you need (the -a option lets read get array variables).
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:26 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0