title: Unix HP-UX ksh recursive find and replace
body: <p>I am trying to do a recursive find and replace in HP-UX and am missing something.</p>
  
  <p>What I have at the moment:</p>
  
  <pre><code>find . -name "*.java" | xargs sed 's/foo/bar/g'
  </code></pre>
  
  <p>know the problem is that it's not replacing the file inline. I believe on other OS's there is a -i flag, but it seems in my HP-UX version, there isn't.</p>
  
  <p>Any suggestions?</p>