/rshell

Primary LanguageC++GNU General Public License v3.0GPL-3.0

CS100 - Assn4: RSHELL

Redirection and Piping

  • Using the UNIX functions dup and pipe to extend our rshell program so that it properly handles input redirection <, output redirection > and >>, and piping |

Known bugs

  • Can't handle multiple redirections
  • Can't handle multiple piping
  • 1 input and 1 output works for piping, but does not completely exit out of the execute function for the leaf node
  • Sometimes multiple files are created when executing redirection
  • Precedence works now!
  • Doesn't exit out of redirection

Rubric

  • 5 points for well commented code
  • 5 points for following style guidelines
  • 20 points for sufficient test cases
  • 20 points for input redirection <
  • 20 points for output redirection > and >>
  • 30 points for piping |

Authors

  • Andrew Cruz
  • Jonathan Kaneshiro

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details