next up previous contents index
Next: For loop in ksh Up: Shells Previous: If-Else Statement in Korn

If-Else Statement in csh Shell

if    ( Expression1 ) then 
    block A1
  else  if  ( Expression2 )
    block A2
  else  if  ( Expression3 )
    block A3
    ...
  else  if  ( Expression i-1 )
    block Ai-1
  else 
    block Ai
  endif 


GNU slovenizacija
1/26/2000