geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dillon (JIRA)" <>
Subject [jira] Commented: (GSHELL-20) `set foo="bar"` does not work as expected
Date Thu, 29 Nov 2007 03:02:43 GMT


Jason Dillon commented on GSHELL-20:

Yes and no ;-)  The expansion of "" strings happens internally with a wee bandaid using jexl
in the executing visitor.  So by the time it gets to the command "" and '' are basically the
same.  And really there should be no quotes on anything anymore at this point.

Basically, it should work like BASH does eventually... one day... ;-)

Anyways, this is not a big deal, there are larger fish to fry.... feel like cooking?

> `set foo="bar"` does not work as expected
> -----------------------------------------
>                 Key: GSHELL-20
>                 URL:
>             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.

View raw message