Patrick Rhomberg created GEODE-3635:
---------------------------------------
Summary: Set Variable command does not behave as documented
Key: GEODE-3635
URL: https://issues.apache.org/jira/browse/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:
{noformat}
gfsh> set variable --name=FOO --value=bar
Value for variable FOO is now: bar.
gfsh> echo --string=${FOO}
${FOO}
{noformat}
Examining the implementation, there is an explicit special case of
{noformat}
gfsh> echo --string=$*
{noformat}
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
(v6.4.14#64029)