[SERVER-2836] When fed through sdtin mongo should have a better output Created: 25/Mar/11  Updated: 12/Jul/16  Resolved: 28/Nov/11

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 1.6.5
Fix Version/s: 2.1.0

Type: Improvement Priority: Major - P3
Reporter: Pierre Baillet Assignee: Tad Marshall
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

echo "show dbs" | mongo --quiet should:

  • not display anything apart from the command output result
  • optionally separate result form mongo other information (when not invoked via --quiet)

To allow easy use of the shell's output in the context of shell tools. (for db in `echo 'show dbs' | mongo --quiet`; do; mongodump $db; done ...)



 Comments   
Comment by Tad Marshall [ 28/Nov/11 ]

This is a duplicate of SERVER-2837, fixed by commit 18fb262f9e2c8ccf6da776d1208d706eb333937b .

Generated at Thu Feb 08 03:01:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.