title: find and then grep and then iterate through list of files
body: <p>I have following script to replace text.</p>
  
  <pre><code>grep -l -r "originaltext" . |  
  while read fname  
  do  
  sed 's/originaltext/replacementText/g' $fname &gt; tmp.tmp  
  mv tmp.tmp $fname  
  done
  </code></pre>
  
  <p>Now in the first statement of this script , I want to do something like this.</p>
  
  <pre><code>find . -name '*.properties' -exec grep "originaltext" {} \;
  </code></pre>
  
  <p>How do I do that?<br>
  I work on AIX, So --include-file wouldn't work .</p>