minishell icon indicating copy to clipboard operation
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.

Results 27 minishell issues
Sort by recently updated
recently updated
newest added

Finally the signal source file is without errors! ![image](https://github.com/user-attachments/assets/b2c71330-8e46-4e0b-95b9-c9104b7666f4) https://stackoverflow.com/questions/29201515/what-does-d-default-source-do

chore

**It would look like this:** ![Screenshot from 2024-07-24 13-53-16](https://github.com/user-attachments/assets/cac26d09-5b03-453d-8708-b2d0485b8d22) Also: - Let readline print to stderr (same as bash). Bash's behavior can be tested with `bash -i 2>/dev/null`. - Print...

enhancement

This happens when first pressing Ctrl+C and then exiting. It's because when we print a newline depends on the exit code. With a program that returns 130 we also print...

bug
high priority

[![image](https://github.com/user-attachments/assets/1015c9c0-16b0-4822-983d-55e07ad86d43)](https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html#:~:text=SCCS%20get%20program.-,LDFLAGS,-%C2%B6) I also finally understand why the order of the linker flags matters! **First the flags, then the source files which need the libraries, then the libraries.** This is because...

devops

This matters for both `export` and for local variable assignment. If a `+=` is specified instead of an `=` in shell variable assignments or in arguments to `export`, the previous...

question
lea wontfix
medium priority

### We need to decide what parts of normal assignment we want to implement, if any. **Example:** ```sh bash-5.1$ HOME=/ cd bash-5.1$ pwd / bash-5.1$ echo $HOME /nfs/homes/ldulling ``` Exceptions...

help needed
optional feature

**Definition:** > name=[value] **Test case:** ```bash bash-5.1$ export A=" a b c " bash-5.1$ export Z=$A bash-5.1$ export ``` **Result:** ```bash export Z=" a b c " ``` Reminder what...

bug

- Rename `handle_io_redirect()` to `open_io_files()`. - Rename `stdio_bind.c` to `stdio_redirect.c` because "binding" file descriptors is commonly used with sockets, not with files.

chore

- ~~`ft_lstadd_back_eff()`~~ `ft_lstadd_back_tail()` - ~~`ft_lstnew_back_eff()`~~ `ft_lstnew_back_tail()` - `ft_lstdup()` - `ft_lstsize_d()` The efficient versions of `ft_lstadd_back` expect a tail pointer of the list to avoid traversing the whole list. I made...

feature