title: grep pipe with sed
body: <p>This is my bash command</p>
  
  <pre><code>grep -rl "System.out.print" Project1/ | 
      xargs -I{} grep -H -n "System.out.print" {} |
      cut -f-2 -d: |
      sed "s/\(.*\):\(.*\)/filename is \1 and line number is \2/
  </code></pre>
  
  <p>What I'm trying to do here is,I'm trying to iterate through sub folders and check what files contains "System.out.print" (using grep)
  using 2nd grep trying to get file names and line numbers
  using sed command I display those to console.
  from here I want to remove "System.out.print" with "XXXXX" how I can pipe sed command to this?
  pls help me
  thanxx </p>