The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
using array
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
using array
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
02-06-2007
Glenn Arndt
Anomalous Lurker
Join Date: Feb 2006
Location: Indianapolis, IN
Posts: 255
You can loop through the array you created with this:
Code:
for x in ${myarray[*]}; do print $x done
Glenn Arndt
View Public Profile
Visit Glenn Arndt's homepage!
Find all posts by Glenn Arndt
Find Glenn Arndt's past nominations received
Find Glenn Arndt's present nominations given