This project was about creating a simple shell.
Like your own little bash.
Project was made with MSX646 aka kezekiel
Environment variables ($ followed by a sequence of characters) which expand to their values.
Minishell implement the following builtins:
◦ echo with option -n
◦ cd with only a relative or absolute path
◦ pwd with no options
◦ export with no options
◦ unset with no options
◦ env with no options or arguments
◦ exit with no options
ls | sort
◦ < redirect input.
◦ > redirect output.
◦ << be given a delimiter, then read the input until a line containing the
delimiter is seen.
◦ >> redirect output in append mode
ctrl-C, ctrl-D and ctrl-\ which behave like in bash.
• In interactive mode:
◦ ctrl-C displays a new prompt on a new line.
◦ ctrl-D exits the shell.
◦ ctrl-\ does nothing.
Have a working history.
curl -fsSL https://rawgit.com/kube/42homebrew/master/install.sh | zsh
brew install readline
Replace USER with your username
RDLN = -L /Users/USER/.brew/Cellar/readline/8.1.2/lib -I /Users/USER/.brew/Cellar/readline/8.1.2/include/ -lreadline
make
make re
make fclean