title: How to pass a newline character in Redis with Lua script
body: <p>I set records in Redis database with a Lua script.
  Some records may contain newline characters.<br>
  How can I set a new record with body containing a newline character using Lua? </p>
  
  <p>My code is:</p>
  
  <pre><code>redis.call("set", "text", "First line\nSecond line" );
  </code></pre>
  
  <p>But when I examine this record in redis-cli> get "text", I'd like it to be:</p>
  
  <pre><code>First line
  Second line
  </code></pre>
  
  <p>But I get:</p>
  
  <pre><code>First line\nSecond line
  </code></pre>