Kuninoto / 42_minishell

Small implementation of a shell, truly hell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

minishell (42Porto - 42Cursus) Linux Logo  C Logo 

Project done in collaboration with ramos21rodrigo

Grade: 101/100

Demonstration:

Installing and running the project:

1- Installing minishell dependencies:

sudo apt-get install make libreadline-dev

2- Clone this repository:

git clone https://github.com/Kuninoto/42_minishell

3- Navigate to lvl_3_minishell and run make

cd 42_minishell/lvl_3_minishell
make

4- make clean so that you don't keep those object files that you won't need anymore

make clean

5- Run minishell

./minishell

Makefile Available Targets:

make or make all - compiles minishell
make clean - wipes all object files
make fclean - deletes minishell and all object files
make re - fclean + all

Useful links

Understanding Bash/Shell behavior:

Parsing:

AST:

Parsing/AST/Interpreter:

Disclaimer

At 42School, almost every project must be written in accordance to the Norm, the schools' coding standard. As a result, the implementation of certain parts may appear strange and for sure had room for improvement.


Made by Nuno Carvalho (Kuninoto) | nnuno-ca@student.42porto.com

About

Small implementation of a shell, truly hell


Languages

Language:C 97.1%Language:Makefile 2.9%