jzck / 42sh

:four::two: bash-like shell (school project)
7 stars 2 forks source link

Redirection: conditional jump depends on uninitialised value. #209

Closed m600x closed 7 years ago

m600x commented 7 years ago

While ls | cat doesn't trigger any error, the command ls | cat >a does this only if the file doesn't exist: screen shot 2017-03-27 at 09 22 39

jzck commented 7 years ago

@ariard yavais pas ca avant, t'as changé qque chose au parser ?

ariard commented 7 years ago

nan, je vois pas comment tu peux rentrer dans add_branch, il est appele que pour les if && case