A small shell like bash.
- gcc or Clang
- GNU Make
- readline
- Install
readline
by brew.brew install readline
- cd to minishell root
- build with readline
make RL_PATH="$HOME/.brew/opt/readline"
- or edit Makefile at repository-root and simply
make
RL_PATH :=$(HOME)/.brew/opt/readline
- Simple command
- Relative path command
- Absolute path command
- Environment variables
- Redirection
- Pipe
- &&, ||, ;
- subshell
- wildcard(*)
Implement a series of builtins:
- cd
- echo [-n]
- env
- exit
- export
- pwd
- unset
All code is released under the MIT license