For loops in csh/tcsh
To count from 1 up to 20 in steps of 5
#!/bin/csh
foreach x (`seq 1 5 20`)
echo $x
end
Command Line
Programming
Linux
]
To count from 1 up to 20 in steps of 5
#!/bin/csh
foreach x (`seq 1 5 20`)
echo $x
end
Command Line
Programming
Linux
]