#!/bin/csh set arr = (test1 test2 test3) set i = $#arr set j = 1 while ( $j <= $i ) echo $test[$j] @ j++ end
Back to top