Implement $(cmd) subcommand syntax in commands (issue #27)

Add $() for inline subcommand substitution that runs a command and
inserts its stdout (trailing newlines stripped) into the outer command
string. Supports nesting, and mixing with ${expr} and $NAME.
This commit is contained in:
Cormac Shannon committed 2026-03-18 09:29:51 +00:00
1 parent 42baabde34
commit 1766e40a68
8 files changed
+143 -7

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
# 27 — Subcommand syntax in commands
**Status:** open
**Status:** done
## Problem