title: How to use grep in csh script
body: <p>Below is a simple csh script I wrote. But the set does not work. Can anyone please help me with the error.</p>
  
  <pre><code>#!/bin/csh
  echo "hello"
  set ans ='grep -r hello ./'
  echo ans
  </code></pre>
  
  <p>Tried back quotes still not working:</p>
  
  <pre><code>   #!/bin/csh
  echo "hello"
  set ans =`grep -r hello .`
  echo $ans
  </code></pre>