Is there a way to write to STDOUT without a trailing newline from the Mongo shell? I can’t seem to find anything other than print() available.
Is there a way to write to STDOUT without a trailing newline from the
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is related to my SO question on reading a line from the console. Per @Stennie’s comment, it is not possible in the current (2.0.6) version of the Mongo shell.