This is our final branch project at epitech, an UNIX shell with several POSIX builtins.
Add make test
for linux
usage: ./42sh
make re
./42sh
-
Builtins
- cd [-L|-P] [directory]
- echo [string...]
- exit [n]
- env [-i] [name=value]... [utility [argument...]]
- setenv
- unsetenv
- unset [-fv] name...
-
Execution
- Execution of commands with their parameters and PATH management.
- Management of errors and the return value of commands.
- The following redirects: ">", "<<", ">>", "<".
- Pipes “|”.
- The logical operators "&&" and "||".
- Back quotes "'".
- The ";" separator.
-
Signals
- ctrl+D
- ctrl+C
-
Bonuses
- The "<<" heredoc.
- Colours.
- Variables.
- Aliases.
- Wich/Where.
- History.
-
Structure
- init
- edit input
- break input
- parse input
- word expansion
- redirect
- execution
- wait