grncdr / js-shell-parse

parse bash, with javascript (UNMAINTAINED)
MIT License
90 stars 13 forks source link

`>|` redirection fails #10

Closed piranna closed 8 years ago

piranna commented 8 years ago

The >| redirection is not correctly parsed, js-shell-parse believes that's a pipe and that the > is part of the first command and raising a SyntaxisError, since it thinks that's a redirection of stdout to some not defined place.

piranna commented 8 years ago

Cool, thank you! :-D