Shell: Parse a pipe sequence inside $(...)

This commit is contained in:
AnotherTest 2020-06-22 00:30:14 +04:30 committed by Andreas Kling
commit 42304d7bf1
Notes: sideshowbarker 2024-07-19 05:09:16 +09:00
4 changed files with 36 additions and 25 deletions

View file

@ -125,7 +125,8 @@ expression :: evaluate expression?
| comment expession?
| '(' list_expression ')' expression?
evaluate :: '$' expression {eval / dynamic resolve}
evaluate :: '$' '(' pipe_sequence ')'
| '$' expression {eval / dynamic resolve}
string_composite :: string string_composite?
| variable string_composite?