minishell
minishell copied to clipboard
MiniShell is a minimalistic shell interpreter, supporting features like basic command execution, environment variable handling, command chaining, redirections, pipes, subshells, and here documents.
Example: ```sh cat < Makefile out1(000) >> out2 ``` Heredoc should first execute, **only then** parser should report syntax error.
[TODO] Instead of `malloc failed`, let's print something more user-friendly like `Not enough memory`
If you go back more than one input line in the readline history and then hit `Ctrl+C`, the initial behavior is correct. However, if you then press the `DOWN` arrow...
Most of the times, the error message is: ```sh bash-5.1$ env abc env: ‘abc’: No such file or directory ``` However, if echo follows env, this happens: ```sh bash-5.1$ env...
Sorry, I should have included that in the previous Makefile PR...