title: Escape sequence in yaml
body: <p>What are the characters that need to be escaped in yaml and how can I do that?</p>
  
  <p>For example how can I escape characters in the following code</p>
  
  <pre><code>command : [ "perl", "-e", " '$mb = 2000; $b = $mb * 1024 * 1024; open MEM, '\''&gt;'\'', \$memfile; seek MEM, $b - 1, 0; print MEM '\''A'\''; close MEM; printf "$mb MB memory is occupied, press ENTER to release: "; &lt;STDIN&gt;; undef $memfile; printf "Memory released";' " ]
  </code></pre>