Expand description
Word expansion in the session. Word expansion in the session.
Expansion runs inside crate::core::ShellCore, because parameter operators and
command substitution need the session: $(...) and backticks execute
the inner command through this shell and capture its output, and
${VAR:=word} mutates the session environment. Quoting semantics
('...', "...", backslash, tilde) match the sh family.
Arithmetic ($(( )), and (( )) commands) shares this machinery: the
expression text may contain parameter and command substitutions, which
expand first; the surviving identifiers are then evaluated as references
into the session environment by one evaluator shared with case-free
compound commands.