[jboss-jira] [JBoss JIRA] (WFLY-2857) command/operation substitution enclosed with `
Alexey Loubyansky (JIRA)
issues at jboss.org
Fri Feb 14 05:53:28 EST 2014
[ https://issues.jboss.org/browse/WFLY-2857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Loubyansky updated WFLY-2857:
------------------------------------
Description:
Command/operation substitution (following linux style back quoting an expression) would be a useful feature. Among other things, it would be useful to be able to initialize an environment variable to a result of a command or an operation, e.g.
set value=`:read-attribute(name=release-version)`
or
set value=$(:read-attribute(name=release-version))
and
echo $value
8.0.0.Final-SNAPSHOT
was:
It would be useful to be able to initialize an environment variable to a result of a command or an operation, e.g. (following the linux style)
set value=`:read-attribute(name=release-version)`
or
set value=$(:read-attribute(name=release-version))
and
echo $value
8.0.0.Final-SNAPSHOT
> command/operation substitution enclosed with `
> ----------------------------------------------
>
> Key: WFLY-2857
> URL: https://issues.jboss.org/browse/WFLY-2857
> Project: WildFly
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: CLI
> Reporter: Alexey Loubyansky
> Assignee: Alexey Loubyansky
>
> Command/operation substitution (following linux style back quoting an expression) would be a useful feature. Among other things, it would be useful to be able to initialize an environment variable to a result of a command or an operation, e.g.
> set value=`:read-attribute(name=release-version)`
> or
> set value=$(:read-attribute(name=release-version))
> and
> echo $value
> 8.0.0.Final-SNAPSHOT
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list