Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2836

When fed through sdtin mongo should have a better output

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.0
    • Affects Version/s: 1.6.5
    • Component/s: Shell
    • Labels:
      None

      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 ...)

            Assignee:
            tad Tad Marshall
            Reporter:
            octplane Pierre Baillet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: