Owner manual

--order-with <function>
Sort the output, extracting the key with this function.
Example:
{$1 method}
--unique Remove duplicates from the results.
--where
or -w <function>
Filter by a function.
--where-not or -wn <function>
Keep where this function is false.
(See
help –-all for details on all other options.)
Arguments
values Collection of arguments to iterate on
function Function to execute
Examples
> each (seq 5) { echo $1 }
This loops over the numbers 1 through 5, printing each of them.
> each (drives) --where { $1 starts_with fi } { (drive:get $1) uuid }
This lists the IDs of drives whose ID starts with fi, and prints their
UUIDs.
> each (volumes -o) --where {($1 id) sw vol}
This lists volumes whose IDs start with vol.
shell:echo
Echoes or prints arguments, or sends them to the log.
Syntax
shell:echo [options] argument(s)
Options
--stderr Sends the output to the error stream.
--n Do not print the trailing newline character.
--log Send to the log.
130