The next simple script shows only
while I would expect it to crawl through all three numbers saved in array. Am I doing something wrong?
Code:
0 - 7
Code:
#!/bin/csh
set servers = (7 25 160)
set i = 0
foreach server ($servers)
echo "$i - $server"
set i=$i+1
end
Code:
[root@FLOCK ~]# /bin/csh --version
tcsh 6.17.00 (Astron) 2009-07-10 (i386-intel-FreeBSD) options wide,nls,dl,al,kan,sm,rh,color,filec