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
I've been trying to take a crack at this mainly looking at the code in PosixParser.cpp and focusing under parse_complete_command(), but am not having much luck. Is this the right place to look? The errors get generated here I believe.
alimpfard
added a commit
to alimpfard/serenity
that referenced
this issue
Jul 31, 2023
Previously any expansion closing sequence would've caused the entire
expansion chain to be terminated, fix this by keeping track of active
expansions and running the parser in 'skip' mode.
FixesSerenityOS#19110.
Previously any expansion closing sequence would've caused the entire
expansion chain to be terminated, fix this by keeping track of active
expansions and running the parser in 'skip' mode.
Fixes#19110.
auipc
pushed a commit
to auipc/serenity
that referenced
this issue
Aug 12, 2023
Previously any expansion closing sequence would've caused the entire
expansion chain to be terminated, fix this by keeping track of active
expansions and running the parser in 'skip' mode.
FixesSerenityOS#19110.
Nested command substitution works as expected in the interactive shell.
But in
/bin/sh
scripts or withShell --posix
, it results in a syntax error.Example:
echo $(echo $(echo))
results in "Shell Syntax Error: Extra tokens after complete command"The text was updated successfully, but these errors were encountered: