title: Node.js REPL funny behavior with custom eval function
body: <p>It seems that Node.js (version v0.10.13) returns the command wrapped between <code>(</code> and <code>\n)</code>, here's a minimal example:</p>
  
  <pre><code>require('repl').start({
      'eval': function (cmd, context, filename, callback) {
          callback(null, cmd);
      }
  });
  </code></pre>
  
  <p>The behavior is the following:</p>
  
  <pre><code>$ node repl.js
  &gt; asd
  '(asd\n)'
  &gt;
  </code></pre>
  
  <p>Why is that? If this <em>feature</em> is <a href="http://nodejs.org/api/repl.html" rel="noreferrer">documented</a> then I was not able to find it.</p>
  
  <p>Also, if this is the intended behavior, is there a better solution than doing <code>cmd = cmd.slice(1, -2);</code>?</p>