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'm not sure we should support backtick-style command substitutions, because it's too error prone as a user.
The $(command) substitution should create a new AST node.
command substitution can happen as a parameter, inside of a string literal (?) and the command's program name to be executed could be a command substitution itself, too.
examples
$(echo -n ls) -h -l -a
echo$(ps -ef)echo"Hello, $(whoami)"
The text was updated successfully, but these errors were encountered:
christianparpart
changed the title
support command substitution $(cmd)
support command substitution $(cmd) (and maybe (cmd)Dec 18, 2023
christianparpart
changed the title
support command substitution $(cmd) (and maybe (cmd)
support command substitution $(cmd) (and maybe (cmd)?)
Dec 18, 2023
Support command substitution.
I'm not sure we should support backtick-style command substitutions, because it's too error prone as a user.
The
$(command)
substitution should create a new AST node.command substitution can happen as a parameter, inside of a string literal (?) and the command's program name to be executed could be a command substitution itself, too.
examples
The text was updated successfully, but these errors were encountered: