Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2857

command/operation substitution enclosed with `

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 8.1.0.CR1, 8.1.0.Final
    • None
    • CLI
    • None

    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

      Attachments

        Activity

          People

            olubyans@redhat.com Alexey Loubyansky
            olubyans@redhat.com Alexey Loubyansky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: