New extension: Redirection (Shell)

The next extension for the Shell challenge is now live: Redirection.

Redirection allows you to redirect the output of a command to a file or another command.

Once you complete this extension, your shell implementation will be able to handle commands like:

echo 'Hello World' > hello.md
ls nonexistent 2> error.log
cat foo.txt >> bar.txt
cat nonexistent 2>> error.log

Here’s the stage breakdown:

Please give this a try and let us know how it can be improved! @ryan-gang (author of this extension) and I will be available here to help out!