[ 
https://issues.apache.org/jira/browse/GSHELL-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Dillon closed GSHELL-119.
-------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.0-alpha-3)
                   1.0-alpha-2

Set syntax is now:

{noformat}
set <name> <value>
{noformat}

> The "set" command doesn't work if there is white space beside the equal mark
> ----------------------------------------------------------------------------
>
>                 Key: GSHELL-119
>                 URL: https://issues.apache.org/jira/browse/GSHELL-119
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Commands - Builtins, Parser
>    Affects Versions: 1.0-alpha-1, 1.0-alpha-2
>            Reporter: YunFeng Ma
>            Assignee: Jason Dillon
>             Fix For: 1.0-alpha-2
>
>
> Run the following command, notice that there is a white space at the left of 
> the equal mark.
> {noformat}
> [EMAIL PROTECTED]:/> set password =manager
> ERROR RuntimeException: Invalid identifer name:
> {noformat}
> Run the following command, notice that there is a white space at the right of 
> the equal mark, the value of variable "password" is not set correctly.
> {noformat}
> [EMAIL PROTECTED]:/> set password= manager
> [EMAIL PROTECTED]:/> echo $password
> [EMAIL PROTECTED]:/>
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to