nushell / nushell.github.io

Nushell's main website, blog, book, and more
https://www.nushell.sh/book/
MIT License
166 stars 408 forks source link

sample of string interpolation and evaluation inside a string for echo command #1275

Closed jordanst3wart closed 6 months ago

jordanst3wart commented 6 months ago

I thought I'll add an example of string interpolation on the echo command page, as it's a common use case coming from other shells, ie. bash/zsh.

ysthakur commented 6 months ago

The text "string interpolation" could maybe link to the docs on string interpolation in case people want more in-depth information on how it works

jordanst3wart commented 6 months ago

Yeah, that's a great idea ysthakur

I think i need to add an examplenushell/crates/nu-cmd-lang/src/core_commands/echo.rs

jordanst3wart commented 6 months ago

implied at: https://github.com/nushell/nushell/pull/12051

fdncred commented 6 months ago

Command help text isn't allowed to be changed since it's systematically generated with each release.