pass — copy input values to output
pass
The pass
operator outputs a copy of each input value. It is typically used
with operators that handle multiple branches of the pipeline such as
fork
and join
.
Copy input to output
echo '1 2 3' | super -z -c pass -
=>
1
2
3
Copy each input value to three parallel pipeline branches and leave the values unmodified on one of them
echo '"HeLlo, WoRlD!"' | super -z -c '
fork (
=> pass
=> upper(this)
=> lower(this)
) |> sort' -
=>
"HELLO, WORLD!"
"HeLlo, WoRlD!"
"hello, world!"