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
    Affects Versions: 1.0-alpha-1, 1.0-alpha-2, 1.0-alpha-3, 1.0-beta-1
            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