The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
I need help with arrays in C Shell
.
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
:
I need help with arrays in C Shell
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
11-18-2008
npatwardhan
Registered User
Join Date: Nov 2008
Posts: 135
i am using arrays in a loop. how do i assign values?
i have the following code which works in bash..
Code:
set i=0 while ($i < 11) master_array[i]=${ARRAY[i]} i++ done
it gives me error at line 3: Variable syntax
npatwardhan
View Public Profile
Find all posts by npatwardhan
Find npatwardhan's past nominations received
Find npatwardhan's present nominations given