minishell
Description
A small shell like bash.
Requirement
- gcc or Clang
- GNU Make
- readline
Build Steps for Reviewer
- Install
readline
by brew.
- 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
Features
- 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
Author
corvvs
ryo-manba
Licence
All code is released under the MIT license