title: Tcsh shell script "syntax error unexpected end of file" for if statement
body: <p>I saw a similar problem in bash but couldn't solve it for my case. 
  I'm running a simple script: </p>
  
  <pre><code>#!/bin/bash
  
  set mystring=0
  
  if ( "$mystring" == "0" )    
    echo "true"     
  elseif    
    echo "wrong"    
  endif
  </code></pre>
  
  <p>my output is "line 12: syntax error: unexpected end of file". Can you help? </p>