title: emacs find-grep grep
body: <p>I try to do a grep on the result of emacs' find-grep, so I use the following command:</p>
  
  <p>find ... | xargs ... | grep -v "include"</p>
  
  <p>The result does show up i the <em>grep</em> buffer, but when I press enter on each entry trying to go to that file, emacs says that file does not exist. On the minibuffer, before the full path of the file, there is a ^[[K character. That basically make the the whole file name unrecognizable. I looked through grep's manual, still no sure what I can do about it. </p>
  
  <p>I probably don't have to do this, but I'm just not sure how to pass two pattern, one is for grep and the other one is to inverse grep. (May be regular expression?)</p>
  
  <p>Anyone has any suggestions on this?</p>
  
  <p><strong>Solution:</strong></p>
  
  <p>I was doing this on a Cento 5.5 machine. It turns out to be a issue due to the old version of grep. I installed a latest version of grep in my home directory, and everything's good now.</p>