You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2026/04/19 20:20:00 UTC

[jira] [Closed] (GROOVY-11742) posix commands should support variable assignment

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

Paul King closed GROOVY-11742.
------------------------------

> posix commands should support variable assignment
> -------------------------------------------------
>
>                 Key: GROOVY-11742
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11742
>             Project: Groovy
>          Issue Type: Improvement
>          Components: Groovysh
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 5.0.1
>
>
> to support commands like:
> {code}
> groovy> gFiles=/ls --1 *.groovy
> groovy> mlFiles=/ls --1 *ml
> groovy> [gFiles, mlFiles]*.size()
> [4, 7]
> groovy> /grep -H answers.* $gFiles $mlFiles
> answers.groovy
> answers.toml
> answers.xml
> answers.yaml
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)