title: sed with multiple word string initialized with read command
body: <p>I 've got a file named file.conf containing: </p>
  
  <p>this is the configuration text and this is the WORD to change. </p>
  
  <p>Running:  </p>
  
  <pre><code>sed -i 's/WORD/"ONE TWO"/g' file.conf 
  </code></pre>
  
  <p>I will have file.conf modified: </p>
  
  <p>this is the configuration text and this is the "ONE TWO" to change. </p>
  
  <p>now if I make a script, using read: </p>
  
  <pre><code>read -p 'word to change' TEXT -&gt; "ONE TWO"
  echo $TEXT -&gt; "ONE TWO" 
  sed -i 's/WORD/'$TEXT'/g' file.conf
  </code></pre>
  
  <p>it does not work  with error message: </p>
  
  <pre><code>sed: -e expression #1, char 11: unterminated `s' command
  </code></pre>
  
  <p>file.conf is not modified in this case.</p>
  
  <p>but it works if I read $TEXT with only one word without spaces: "ONE" for instance. </p>
  
  <p>Thanx folks.</p>