Skip to content

Correctly print subshells nested in a variable expansion #32

Merged
mgree merged 1 commit into
binpash:masterfrom
BolunThompson:master
Jan 3, 2025
Merged

Correctly print subshells nested in a variable expansion #32
mgree merged 1 commit into
binpash:masterfrom
BolunThompson:master

Conversation

@BolunThompson

Copy link
Copy Markdown
Contributor

Before, libdash was printing expressions like abc=$( (echo abc) ) as abc=$((echo abc)), an arithmetic substitution.

Triggered in the coreutils configure script (see binpash/pash#573).

Signed-off-by: Bolun Thompson <bolunthompson@ucla.edu>
@mgree mgree merged commit 3258c95 into binpash:master Jan 3, 2025
@mgree

mgree commented Jan 3, 2025

Copy link
Copy Markdown
Collaborator

Thank you!

mgree pushed a commit that referenced this pull request Apr 29, 2026
Fix: Nested shell in subshell

Signed-off-by: Bolun Thompson <bolunthompson@ucla.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants