/shell

shell project for purdue CS252, fall 2018

Primary LanguageC++

Specified Features

Working

  1. Parsing and Executing Commands a. complex commands b. executing commands
    1. simple command process creation and execution
    2. file redirection
    3. pipes
    4. isatty
  2. Signal Handling, More Parsing, and Subshells
  3. ctrl+C
  4. zombie elimination
  5. exit
  6. quotes
  7. escaping
  8. builtin functions
  9. default source file .shellrc
  10. subshells
  11. Expansions, Wildcards, and Line Editing
  12. environment variable expansion
  13. tilde expansion
  14. wildcarding
  15. variable prompt

Not Working

  1. Expansions, Wildcards, and Line Editing
  2. edit mode
  3. history

Extra features

  • cd - returns to previous directory
  • support ON_ERROR environment variable