title: can't use foreach right in csh
body: <p>I am kinda new to c shell and it seems I can't use a <code>foreach</code> loop for something that returns an array. </p>
  
  <p>I get an error message citing <code>missing }</code>and I know the problem is in this following line:</p>
  
  <pre><code>foreach line ( `grep if "$f"`)
  </code></pre>
  
  <p>Here's the full code: </p>
  
  <pre><code>set f = $&lt;
  echo $f
  if (-f $f) then
      echo $f
      foreach line (  ` grep if "$f" ` )
          echo ${line}
          if (${line[0-]}=~/(\d)+/) then
              echo "wow ${line} is an amazing arithmetic condition"
          endif
      end
  endif
  </code></pre>