[
https://issues.apache.org/jira/browse/GSHELL-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Warner updated GSHELL-20:
-------------------------------
Attachment: GShell-20.patch
I was hoping to handle this purely in the parser, but I'm not sure if that is
possible. There's a little bit of code in the SetCommand.java file that parses
the input string to remove the quotes. I couldn't figure a way to remove them
using just the parser.
> `set foo="bar"` does not work as expected
> -----------------------------------------
>
> Key: GSHELL-20
> URL: https://issues.apache.org/jira/browse/GSHELL-20
> Project: GShell
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Commands, Core
> Affects Versions: 0.0.1
> Reporter: Jason Dillon
> Assignee: Jason Warner
> Priority: Critical
> Fix For: 1.0-alpha-2
>
> Attachments: GShell-20.patch
>
>
> Due to the way parsing happens, this line:
> {noformat}
> set foo="bar"
> {noformat}
> Ends up calling the command with 2 arguments: "foo=" and "bar", which is not
> what the command expects, which is one argument of: "foo=bar"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.