Review and fix the following case:
ls | > bla
echo hello | > bla2
Both examples should create an empty file, one called bla an other called bla 2.
Currently the parser is placing an syntax error message to this case, what shouldn't happen. So to fix this, I need to redo the is_valid_input function, removing this case of the syntax error and check how the struct will behavior, and than check which are the possible changes.
Review and fix the following case: ls | > bla echo hello | > bla2 Both examples should create an empty file, one called bla an other called bla 2.
Currently the parser is placing an syntax error message to this case, what shouldn't happen. So to fix this, I need to redo the is_valid_input function, removing this case of the syntax error and check how the struct will behavior, and than check which are the possible changes.