- compile like this: gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o yourShell
- 'yourShell' is any name you wish
- functions that creates malloced string starts with m_*
Sources in this folder contain code that
- Displays the prompt
- Reads and validate the input
- Sorts them into words and cmd tokens
- checks is a command exists, otherwise return
- screen input and make them ready for the executor
- passes input to # The Executor
sources in this folder contains code that
- executes binarty files
- create new processes
- kill and replace processes
- execute shell scripts
No form of validation of data occurs here, all validations, are to be handles by # The Parser