title: Replacing a word by another with sed - issue
body: <p>On a redhat server, </p>
  
  <p>I have multiple files named <code>PO*******</code>
  Inside them i have a line like this : </p>
  
  <pre><code>NODE PO******* TCPblahblah blah
  </code></pre>
  
  <p>On the other hand i have a csv file containing multiple line like : </p>
  
  <pre><code>PO*******,XXXXXXX
  </code></pre>
  
  <p>i want to replace in files <code>PO*******</code><br>
  the <code>NODE PO******* TCPblahblah blah</code><br>
  by 
  <code>NODE XXXXXX TCPblahblah blah</code></p>
  
  <p>See my code for what i did to have this output on line with NODE  : 
  TCPblahblXXX</p>
  
  <pre><code>for i in $(ls def)
  do 
  new= $(grep $i list.csv | cut -d ',' -f2)
  sed "/NODE/ s/$i/$new/g" def/$i
  done
  </code></pre>