[SERVER-10569] Reading from stdin Created: 19/Aug/13  Updated: 10/Dec/14  Resolved: 23/Sep/14

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

Type: Improvement Priority: Minor - P4
Reporter: Andreas Bexell Assignee: Ramon Fernandez Marina
Resolution: Incomplete Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

From a scripting perspective, it would be very useful to be able to read from stdin from the mongo shell.



 Comments   
Comment by Ramon Fernandez Marina [ 04/Sep/14 ]

Hi bex, apologies for the late reply. One can already create scripts to be executed from the shell, as in

mongo < my_script.js

Is this functionality you're referring to? If you are asking about something different, could you please provide more details and at least a use case?

Thanks,
Ramón.

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