#!/bin/csh # # a demonstation of use of while in the C shell # cavram, 29/8/2000 # # set the counter to the number of repeats required # set count=3 # # for each repeat, do it # while ( $count > 0 ) echo "$count" @ count = $count - 1 end # # ends the while #