"For loops in csh/tcsh" To count from 1 up to 20 in steps of 5 1 2 3 4#!/bin/csh foreach x (`seq 1 5 20`) echo $x end