The 42 curriculum asks us to code according to the Norme
, this standard forbids us certain control structures (like do while
, for
, ...), a limit of 25 lines and 5 variables per function, 5 function max per .c
and and other constraints.
This project has been coded according to the NormeV3
standard.
NormeV3 PDF used in this projetc
git clone --recurse-submodules [email protected]:fluffy-willa-42-team/minishell.git
or if you have Oh-My-Zsh
gcl [email protected]:fluffy-willa-42-team/minishell.git
First install Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
For the 42 mac
rm -rf $HOME/.brew && git clone --depth=1 https://github.com/Homebrew/brew $HOME/.brew && echo 'export PATH=$HOME/.brew/bin:$PATH' >> $HOME/.zshrc && source $HOME/.zshrc && brew update
Install GNU readline lib
brew install readline
Install readline lib
apt install libreadline-dev
To compile
make
Compile and run
make exe
Compile with fsanitize=address
make SANI=1
This work is published under the terms of 42 Unlicense.