[SERVER-3787] 'edit' command in shell Created: 08/Sep/11  Updated: 11/Jul/16  Resolved: 14/Sep/11

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

Type: New Feature Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-3998 It's trivial to make the new "edit" f... Closed
is related to DOCS-328 A (malicious) JS script can set EDITO... Closed
is related to SERVER-6325 using the `edit` command on undeclare... Closed
is related to SERVER-6329 Syntax errors saved from `edit` could... Closed
Participants:

 Description   

fires up $EDITOR to edit functions, objects, etc.



 Comments   
Comment by auto [ 15/Sep/11 ]

Author:

{u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'redbeard0531@gmail.com'}

Message: Delete temp file SERVER-3787
Branch: master
https://github.com/mongodb/mongo/commit/153d07439baab7c12a7d682503e99b286db1b278

Comment by auto [ 15/Sep/11 ]

Author:

{u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'redbeard0531@gmail.com'}

Message: Don't use mkstemps as it isn't available everywhere SERVER-3787
Branch: master
https://github.com/mongodb/mongo/commit/8f8c64bef11bc4c9943830ab88fd5137943b2fb2

Comment by Mathias Stearn [ 14/Sep/11 ]

http://www.mongodb.org/display/DOCS/Overview+-+The+MongoDB+Interactive+Shell#Overview-TheMongoDBInteractiveShell-Usingarealeditor

Comment by auto [ 14/Sep/11 ]

Author:

{u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: Handle editor failure and error exit status SERVER-3787
Branch: master
https://github.com/mongodb/mongo/commit/9f4f53c3c781fb2d71511620f213ef43b32f1720

Comment by auto [ 14/Sep/11 ]

Author:

{u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: Add support for 'edit' magic in shell SERVER-3787
Branch: master
https://github.com/mongodb/mongo/commit/411236f3abe2663d62e5e3100dd3e6b286c2ac6d

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