Minimal shell taking bash as reference
-
Searches and launches the right executable based on PATH environment variable
-
Built-ins (echo, cd, pwd, export, unset, env, exit)
-
Quote functionality (’ and ")
-
Redirections (>, >>, < and <<)
-
Pipes (|)
-
Expansion of environment variables ($ followed by characters).
-
Wildcard functionality (*)
-
Management of signals ctrl-C, ctrl-D, and ctrl-\
-
Interactive (prompt) and non-interactive modes (scripts)
- GNU Compiler Collection (gcc)
- GNU make utility
- GNU readline library
make
make bonus
./minishell
make && make unit_test
make fclean
Developed alongside @hanjelito at 42 Madrid.