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 ?
#!/bin/csh
set qqq = 123
set www = 456
set jpg = ( $qqq $www )
cat $jpg[1]
Output:
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 ?
#!/bin/csh
set qqq = 123
set www = 456
set jpg = ( $qqq $www )
cat $jpg[1]
Output:
Try echo insteadof cat.
Thanks it works!