nixpulvis / oursh

Your comrade through the perilous world of UNIX.
http://nixpulvis.com/oursh/oursh
MIT License
67 stars 6 forks source link

IO Redirection #26

Open nixpulvis opened 5 years ago

nixpulvis commented 5 years ago

Support the standard POSIX redirection syntax

Input

Output

Input / Output

nixpulvis commented 5 years ago

Waiting on #22, and #4.

nixpulvis commented 5 years ago

Possibly needed pipe, pipe2 or something like dup(2).

nixpulvis commented 3 years ago

Current implementation doesn't cleanup properly, so a command like echo 1 > foo.txt will leave further commands writing to foo.txt.