You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Patrick Rhomberg (JIRA)" <ji...@apache.org> on 2018/02/15 19:01:00 UTC

[jira] [Resolved] (GEODE-3635) Echo command does not behave as documented

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

Patrick Rhomberg resolved GEODE-3635.
-------------------------------------
    Resolution: Duplicate

> Echo 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
>            Priority: Major
>
> 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
(v7.6.3#76005)