Closed JOAOVIEG closed 8 months ago
To build AST accordingly:
To bare in mind the examples
file2 cmd2 should work as cmd2 > file2.
cmd2 > file2 -option (or cmd2 argument) also should work.
example
ls > out inlcudes
does ls to includes and redirects to out.
Tree structure does not change but this is related to the arguments parsed to the arg variable of cmd node
To build AST accordingly:
To bare in mind the examples
cmd2 > file2 -option (or cmd2 argument) also should work.
example
does ls to includes and redirects to out.
Tree structure does not change but this is related to the arguments parsed to the arg variable of cmd node