NataliaMedeiros / minishell

0 stars 0 forks source link

Pipe edge cases 1 #22

Closed NataliaMedeiros closed 1 month ago

NataliaMedeiros commented 1 month ago

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.