[SERVER-8554] Mongo shell has trouble parsing \" Created: 13/Feb/13  Updated: 15/Feb/13  Resolved: 14/Feb/13

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

Type: Bug Priority: Minor - P4
Reporter: bard.bloom@10gen.com Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-5809 Double quote escaping bugged Closed
Operating System: ALL
Participants:

 Description   

In the training session, we tried printing a string containing a single '"' in it from the shell. The following should have worked

printjson(" \" ")

The shell didn't understand that that string was properly terminated, and we had to cudgel it into submission in order to even get the shell to take the command

> printjson(" \" ")
... "
... )
Wed Feb 13 13:36:50 SyntaxError: unterminated string literal (shell):2



 Comments   
Comment by Tad Marshall [ 14/Feb/13 ]

Seems to be the same issue as SERVER-5809.

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