Re-implemented a simple shell.
It partially behaves like GNU Bash version 4.4.0.
make readline
make
./minishell
Shell Syntax
'
"
Shell Commands
|
&&
, ||
(
, )
Shell Parameters
$?
Shell Expansions
*
Redirections
<
>
>>
<<
Executing Commands
^C
), SIGQUIT(^\
)Shell Builtin Commands
Shell Variables
Command Line Editing : EOF(^D
)
History
More detail : minishell's specification
readline, rl_clear_history, rl_on_new_line, rl_replace_line, rl_redisplay, add_history, malloc, free, write, access, open, read, close, fork, wait, waitpid, sigaction, exit, getcwd, chdir, stat, unlink, execve, dup, dup2, pipe, opendir, readdir, closedir, strerror, perror, isatty