title: MongoDB shell: reading a line from the console
body: <p>Is there a way to read a line from the Mongo shell? <code>readline()</code> is not defined and neither is <code>system.stdin</code>.</p>
  
  <p>I need to do this in interactive mode, as opposed to feeding input to a script executed by the MongoDB shell.</p>