echo
for core> echo {flags} ...rest
...rest
: the values to echoinput | output |
---|---|
nothing | any |
Put a list of numbers in the pipeline. This is the same as [1 2 3].
>echo123
╭───┬───╮
│0│1│
│1│2│
│2│3│
╰───┴───╯
Returns the piped-in value, by using the special $in variable to obtain it.
>echo$in
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.
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/echo.html