mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
parent
e6e6c0b625
commit
315439bacc
1 changed files with 1 additions and 1 deletions
|
@ -606,7 +606,7 @@ Examples:
|
||||||
<outp># Output is an empty line</outp>
|
<outp># Output is an empty line</outp>
|
||||||
\endfish
|
\endfish
|
||||||
|
|
||||||
Be careful when you try to use braces to separate variable names from text. The problem shown in the last example above can be avoided by wrapping the variable in double quotes instead of braces (`echo "$c"word`).
|
Be careful when you try to use braces to separate variable names from text. The problem shown above can be avoided by wrapping the variable in double quotes instead of braces (`echo "$c"word`).
|
||||||
|
|
||||||
Please note, that the expansion as cartesian product also happens after <a href="#expand-command-substitution">command substitution</a>. Therefore strings might be eliminated. This can be avoided by returning the empty string.
|
Please note, that the expansion as cartesian product also happens after <a href="#expand-command-substitution">command substitution</a>. Therefore strings might be eliminated. This can be avoided by returning the empty string.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue