You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
syntax: support alternate command substitution of Bash 5.3 inside double quotes #1368
Thanks for putting forward this issue again! I would love to replace my "subshell" commands with their "subshell-less" ones, but shfmt currently just fails. I love shfmt, and if we could add this feature I am pretty sure it would be more consistent and lovely. It might be done with some simple patches, as seen in #1379.
Activity
amas127 commentedon Aug 13, 2026
Thanks for putting forward this issue again! I would love to replace my "subshell" commands with their "subshell-less" ones, but
shfmtcurrently just fails. I loveshfmt, and if we could add this feature I am pretty sure it would be more consistent and lovely. It might be done with some simple patches, as seen in #1379.mvdan commentedon Aug 13, 2026
Thanks, I'll take a look. Indeed it's best not to report problems on closed issues, as they are easy to miss or forget.
syntax: add regression tests for issue #1368
syntax: support ${ foo;} and ${|foo;} inside double quotes