Closed Arcterus closed 6 years ago
For some reason the parser accepts echo hi | echo hello (echo hi; cat) | cat, which causes hello to be displayed on stdout. Based on testing, it seems to stop parsing when it sees the (echo hi; cat) part.
echo hi | echo hello (echo hi; cat) | cat
hello
stdout
(echo hi; cat)
This was fixed by rewriting the parser to not use nom.
nom
For some reason the parser accepts
echo hi | echo hello (echo hi; cat) | cat
, which causeshello
to be displayed onstdout
. Based on testing, it seems to stop parsing when it sees the(echo hi; cat)
part.