Minishell - done in collab with tbrebion
This project is from 42 school commom core. Its aim was to create a posix bash like shell.
-
- print a prompt waiting for a new command
- must have a working history
-
<
must redirect the input>
must redirect the output<<
must act as an heredoc>>
must redirect the output in append mode
-
- each pipeline's command's output must be connected to the next command's input with a pipe (
|
)
- each pipeline's command's output must be connected to the next command's input with a pipe (
-
$VAR
must be expanded
-
- must be substituted by the last pipeline's error status
-
- handle
ctrl-c
ctrl-d
ctrl-\
as bash does
- handle
-
echo
with-n
optioncd
with an absolute or relative pathpwd
without any optionexport
without any optionunset
without any optionenv
without any option nor argumentexit
without any option