42 | minishell This project has been created as part of the 42 curriculum by amartel, jdessoli
Minishell is a simplified Unix shell inspired by Bash.
The goal is to understand how a shell works by implementing parsing, tokenization, process execution, pipes, and environment handling under strict constraints.
The project focuses on reproducing core Bash behavior while maintaining a clean and modular architecture.
- make
- meson
-
peer to peer with other really sweet 42 students, in order to get what's expected and what to be careful of.
-
Online documents to understand how to structure a group project properly, and how bash works
-
AI usage: helping with core concept understanding and unit testing
If libreadline is not found in pkg-config, at first check if it's already installed with this command:
pkg-config --libs readlineIf it returns something like -L/opt/homebrew/Cellar/readline/8.3.3/lib -lreadline then you can add libreadline to your PKG_CONFIG_PATH:
echo 'export PKG_CONFIG_PATH="/opt/homebrew/opt/readline/lib/pkgconfig:$PKG_CONFIG_PATH"' >> ~/.zshrc
echo 'export PKG_CONFIG_PATH="/opt/homebrew/opt/readline/lib/pkgconfig:$PKG_CONFIG_PATH"' >> ~/.bashrc
source ~/.bashrc
source ~/.zshrcotherwise, you can install it with Homebrew:
brew install readline