echo for core

Returns its arguments, ignoring the piped-in value.


> echo


  • the values to echo


When given no arguments, it returns an empty string. When given one argument, it returns it. Otherwise, it returns a list of the arguments. There is usually little reason to use this over just writing the values as-is.


Put a list of numbers in the pipeline. This is the same as [1 2 3].

> echo 1 2 3
│ 01 │
│ 12 │
│ 23 │

Returns the piped-in value, by using the special $in variable to obtain it.

> echo $in