View Code? Open in Web Editor
NEW
The objective of this project is for you to create a simple shell. Yes, your own little bash or zsh. You will learn a lot about processes and file descriptors.
License: GNU General Public License v3.0
minishell's Issues
export builtin
command (bash) prints all environmental variables in ascending order and after '=' character adds double quote ("")
export
builtin command can accept multiple parameters and set it to environmental variables but here export
function only accept one parameter.
After using commands 3-4 times minishell
throw a memory error
$?
must represent exit status of the last process but it is not working properly
unset
builtin command should remove environmental variable from the process->envp
list but it only works with export
command (override old value)
Using export
builtin command without arguments cause segmentation fault
Example:
export TEST="1234"
- works fine
export
- crashes