mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 18:21:16 -03:00
docs: Make some code lines shorter
For code, we need to limit the length because it can't be reflowed automatically
This commit is contained in:
@@ -60,7 +60,8 @@ And here is fish::
|
||||
|
||||
> set foo "bar baz"
|
||||
> printf '"%s"\n' $foo
|
||||
# foo was set as one element, so it will be passed as one element, so this is one line
|
||||
# foo was set as one element,
|
||||
# so it will be passed as one element, so this is one line
|
||||
"bar baz"
|
||||
|
||||
All variables are "arrays" (we use the term "lists"), and expanding a variable expands to all its elements, with each element as its own argument (like bash's ``"${var[@]}"``::
|
||||
|
||||
Reference in New Issue
Block a user