This 42 group project is about creating a simple shell, just like bash. Thanks to Minishell, we were able to travel through time and come back to problems people faced when Windows didn't exist.
Coded in C with edrouot @42Berlin
Warning: Makefile is configured for Linux use only.
- Compile with
make- Run with
./minishell- Try out any command you would use in bash
- Close with
ctrl + dor theexitcommand
This project is written in C and 42 norm compliant:
- All variables have to be declared and aligned at the top of each function
- One function cannot have more than 25 lines
- One file cannot have more than 5 functions
- It is considering cheating to use functions that are forbidden in the subject
- Writing your own shell: https://www.cs.purdue.edu/homes/grr/SystemsProgrammingBook/Book/Chapter5-WritingYourOwnShell.pdf
- Excellent tutorial: https://brennan.io/2015/01/16/write-a-shell-in-c/
- For the parser: https://mywiki.wooledge.org/BashParser
