geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Rhomberg (JIRA)" <>
Subject [jira] [Created] (GEODE-3635) Set Variable command does not behave as documented
Date Fri, 15 Sep 2017 21:22:00 GMT
Patrick Rhomberg created GEODE-3635:

             Summary: Set Variable command does not behave as documented
                 Key: GEODE-3635
             Project: Geode
          Issue Type: Bug
          Components: docs, gfsh
            Reporter: Patrick Rhomberg

The Set Variable command does appear to set gfsh environment properties, but these values
are only accessible by Java methods that use them.  They do not parse in the bash style. 
For instance:

gfsh> set variable --name=FOO --value=bar
Value for variable FOO is now: bar.

gfsh> echo --string=${FOO}

Examining the implementation, there is an explicit special case of

gfsh> echo --string=$*

which will describe the current gfsh environment.  Rather than this special case, this may
be better suited to a Describe Environment command.

This message was sent by Atlassian JIRA

View raw message