Second laboratory for Sistemas Operativos Y Laboratorio.
For this practice it's necessary to create an usable simple shell named wish to do this, the project is spliced in modules and each module is in charge for a function.
These modules are:
- Shell: shell initialization and configuration.
- Prompt: there are functions for the shell IO.
- Parser: any function used for parse and format the user input.
- File: file management.
- etc...: any new module we will put on this.
To use this Shell you need to compile it first. This can be done just using make
makeonce you have the compiled binary you can use the shell with the next command:
./build/wishwish receives a script file with basic commands (no conditionary, or loop statements), you just have to use the following syntax:
./build/wish <file>