set i =1
set n =
while($i <= $n)
if($i < $argv[1])
mv $argv[2].$i.iff $argv[3].$i.iff
@ i ++
end
set files = ( 'ls' )
echo $files
# ls test.1.iff test.2.iff test.3.iff test.4.iff test.5.iff # csh kadai1.sh test tmp set: Variable name must begin with a letter. # ls test.1.iff test.2.iff test.3.iff test.4.iff test.5.iff
# ls xyz.1.iff xyz.2.iff xyz.3.iff xyz.4.iff xyz.5.iff # csh kadai1.sh 3 test tmp set: Variable name must begin with a letter. # ls xyz.1.iff xyz.2.iff xyz.3.iff xyz.4.iff xyz.5.iff