title: foreach: grep backtick in for-loop
body: <p>How would one grep backtick from files in a for-loop. </p>
  
  <p>I would like to run grep for a pattern '`define'. The pattern works in standalone grep command but fails in for-loop. </p>
  
  <pre><code>foreach xxx ( `grep -r '`define' $idirectory --no-filename | sed -e 's ; //.* ; ; ' -e 's ; #.* ; ; ' -e 's ; ^\s* ; ; ' | grep -v ^$ | sort -n | awk '{print $2}' | uniq -d`)
    echo $xxx
  end
  </code></pre>
  
  <p>The backticks are conflicting in the for-loop.</p>
  
  <p>regards</p>
  
  <p>Srisurya</p>