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:
Fabian Boehm
2023-02-15 18:45:00 +01:00
parent 811dbf0f9a
commit 9c8b50cb8f
2 changed files with 17 additions and 9 deletions

View File

@@ -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[@]}"``::