title: Set string with special character in unix variable
body: <p>I need to store in a unix variable a string that can contain special characters.</p>
  
  <p>In my case I am decrypting a text that returns to me <strong>Her$p7</strong> that I need to store. Obviously that result can be any string (example <strong>i*Fi+K'7</strong>).</p>
  
  <p>Would they know how I can save that result that I throw in a variable and use it like this</p>
  
  <p>var=<strong>Her$p7</strong></p>
  
  <p>echo var</p>
  
  <p>by example?</p>
  
  <p>I use this for retrieve the string</p>
  
  <pre><code>echo "`${FDL_HOME}/bin/cypher2 DEC ${CF_KEYPFX} ${CF_KEYLEN} ${CF_PASS}== | grep "decrypt text" | gawk -F': ' '{print $2}'`"|perl -e print
  </code></pre>