The existence of shells is linked to the very existence of IT.
At the time, all developers agreed that communicating with a computer using aligned 1/0 switches was seriously irritating.
It was only logical that they came up with the idea of creating a software to communicate with a computer using interactive lines of commands in a language somewhat close to the human language.
Thanks to Minishell, youβll be able to travel through time and come back to problems people faced when Windows didnβt exist.
subject v.6
.
βββ LICENSE
βββ README.md
βββ _notebook
β βββ bash.ipynb
β βββ minishell.ipynb
βββ _subject
β βββ en.subject.pdf
βββ _tester
β βββ -> minishell_tester
βββ project
βββ Makefile
βββ readline.supp
βββ include
β βββ minishell.h
βββ lib
β βββ libft.a
β βββ libft.h
βββ src
βββ _lst
β βββ lst_add_back.c
β βββ lst_free.c
β βββ lst_free_last.c
β βββ lst_new.c
β βββ lst_set_to_head.c
β βββ lst_set_to_last.c
βββ main
β βββ bombfreeall.c
β βββ history.c
β βββ init.c
β βββ main.c
β βββ prompt.c
β βββ signal_handler.c
βββ parser
β βββ parsing_ext.c
β βββ parsing_system.c
β βββ variable_expand.c
β βββ wildcards.c
βββ executor
β βββ booleans.c
β βββ builtins.c
β βββ execution_system.c
β βββ fd_handler.c
β βββ heredoc.c
β βββ pipes.c
β βββ redirections.c
βββ errors
β βββ errors_handler.c
β βββ invalid_prompt.c
β βββ syntax_errors.c
βββ variables
βββ env_variables.c
βββ export_variables.c
βββ shell_variables.c
git clone https://github.com/kichkiro/minishell.git
cd minishell/project
make
./minishell
The tester minishell_tester performs more than 200 tests on the main features of the project, including:
- Parsing
- Commands
- Redirects
- Pipes
- Exit Status
- Mixed Mandatory
- Booleans
- Wildcards
The tester launches Bash and Minishell processes with the Popen method of Python's subprocess library, inputs the same test, captures the output, and compares it.
NOTE: The tester was tested on Ubuntu 20.04 LTS with Python version 3.8. Also, during development we tried to make it as generic as possible so that it can work on other minishell projects, but this does not guarantee that it will work correctly on all projects.
See LICENSE