Closed znichola closed 1 year ago
pretty sure it leaks like crazy for the trunk struct, but will have a look later.
Still need to fixup the print cmd but it's looks good.
minishell$ minitree '(echo hello world | <in shout >out ) && (ls | pwd | echo sdff >>this || git commit -m "this") && (printf "this %s" "that" || echo 1)'
.——— echo hello world | shout | < in > out
.———&&
| | .——— ls | pwd | echo sdff | >> this
| `———||
| `——— git commit -m "this" |
———&&
| .——— printf "this %s" "that" |
`———||
`——— echo 1 |
minishell$
discussion moved to #145 pull request