Programming Assignment for CS 537
In this assignment, we implmented a shell program based on Unix System. The main functions including command line execution, background running, stdout/stderror redirection and jobs managing, and it involves two modes, interactive mode and batch mode.
make
# interactive mode
./awon
# batch mode
./awon <batch-shell-file>
# example
./awon test.sh
- For those "string" you need to store and the original variable may be changed
later, we may need to
malloc
and put them in toheap
space. - Maybe this is a good idea to
refactor
the project if it is getting too large.