[
https://issues.apache.org/jira/browse/GEODE-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Deppe updated GEODE-1507:
------------------------------
Description:
{noformat}
gfsh>set variable --name=foo --value=bar
Value for variable foo is now: bar.
gfsh>echo --string="Hello ${foo}"
Hello ${foo}
{noformat}
The problem has come in with spring-shell and jline replacement.
{{Gfsh.executeCommand}} was replaced with {{Gfsh.executeScriptLine}} which ends
up never being called unless a script is executed with {{run --file}}.
> gfsh variable substitution does not work
> ----------------------------------------
>
> Key: GEODE-1507
> URL: https://issues.apache.org/jira/browse/GEODE-1507
> Project: Geode
> Issue Type: Bug
> Components: gfsh
> Reporter: Jens Deppe
>
> {noformat}
> gfsh>set variable --name=foo --value=bar
> Value for variable foo is now: bar.
> gfsh>echo --string="Hello ${foo}"
> Hello ${foo}
> {noformat}
> The problem has come in with spring-shell and jline replacement.
> {{Gfsh.executeCommand}} was replaced with {{Gfsh.executeScriptLine}} which
> ends up never being called unless a script is executed with {{run --file}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)