The second project of the Unix branch at 42. Basic requirements are to recreate a basic working shell, with a few required builtins. History was implemented as a bonus builtin. Enviromental variables need to be set up and maintained. In the event that a command is input that is not a builtin, an attempt is made to execute it as is, followed by checking all paths for a valid matching executable.
cd
echo
env
exit
history
setenv
unsetenv
The official ls on macs, at the time of this writing, utilizes 38 flags. Adding more flags for a more complete recreation would be the next step.
125/100
Compiler:
clang-6.0
Dependencies:
libft
readline
How to run:
./minishell
./minishell
minishell > echo "Hello"
Hello
minishell >
This project is coded in accordance with the school's norms. A full copy of the norm can be found here.