title: Cat not writing special variables in file
body: <p>I am using cat to write into file with script shell.</p>
  
  <pre><code> cat &lt;&lt;EOF &gt;/home/test.txt
   set $value1 $value2;
   EOF
  </code></pre>
  
  <p>My file containts just this string "set ;" but i need to find "set $value1 $value2;". I guess cat thinks "$value1" is a shell variable but it is just a string that i need to write into a file.</p>