title: extract a line from a file using csh
body: <p>I am writing a csh script that will extract a line from a file xyz.
  the xyz file contains a no. of lines of code and the line  in which I am interested appears after 2-3 lines of the file.
  I tried the following code</p>
  
  <pre><code>set product1 = `grep -e '&lt;product_version_info.*/&gt;' xyz`
  </code></pre>
  
  <p>I want it to be in a way so that as the script find out that line it should save that line in some variable as a string &amp; terminate reading the file immediately ie. it should not read furthermore aftr extracting the line.</p>
  
  <p>Please help !!</p>