C Shell Scripting

From Rizzo_Lab
Revision as of 14:34, 1 April 2009 by Sudipto (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Foreach loop

foreach chunk (00 01 02)
  echo $chunk
end

While loop

set count = 1
  echo $count
  while ($count <= 10)
  echo Count = $count
  @ count ++
end