+45
−4
+32
−0
+79
−8
+4
−0
Loading
- a function defined inside if/while/case: its "{" (after "name()") is
counted like its "}", so the enclosing construct no longer ends early
- heredoc delimiters quoted with a backslash ("<< \EOF") or partly quoted
- "${#name}", "${#}"
- "v=$(cmd)" returns cmd's exit status ("if v=$(git write-tree)")
- "$({ ...; } | sort)" inside a function body: the substitution's braces
are its own
- comments inside "cmd | { ...; }" groups: an apostrophe in them is no
quote
- "type" builtin; "command -v/-V" know shell functions
Co-Authored-By:
Claude Opus 5.5 <noreply@anthropic.com>