Red Hat Training

A Red Hat training course is available for Red Hat Fuse

2.3. shell:each, each

Abstract

execute a closure on a list of arguments

Synopsis

shell:each [ --help ] { values } { function }

Arguments

Table 2.3, “shell:each Arguments” describes the command's arguments.

Table 2.3. shell:each Arguments

ArgumentInterpretation
--help Displays the online help for this command
values The collection of arguments to iterate over.
functionThe function to execute.