The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Array Properties
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
Array Properties
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
08-16-2007
Raynon
Registered User
Join Date: Sep 2006
Location: Sg
Posts: 323
Array Properties
Hi All,
I have a code below but i have problems trying to execute "
cat $jpg[1]"
. Can anybody give me any advise? Is there something wrong with my syntax ?
Code:
#!/bin/csh set qqq = 123 set www = 456 set jpg = ( $qqq $www ) cat $jpg[1]
Output:
Remove advertisements
The UNIX and Linux Forums
!!
Forum Sponsor
Raynon
View Public Profile
Find all posts by Raynon