-
-
-
Après la sortie de `ls`, l'entrée standard doit rester ouverte.
```
mbernard@z3r8p3:~/sgoinfre/42_minishell.c$ cat | cat | ls
bash_2 ignore_leaks.supp includes info.txt libft Makefile
minis…
-
En prévision du futur codage de cette fonction (et pour savoir si elle a besoin de savoir quels sont les arguments qui suivent : la réponse est oui), des tests sur la vraie fonction env.
-> Si plus…
-
@axellee1994 try this to see if it still leaks. before exit it will show a lot of leaks but upon exit, all the leaks are cleared and only 3 fd left.
int redirect_input(t_shell *minishell, t_token *…
-
```
➜ 42_minishell.c git:(builtins) ✗ valgrind --track-fds=yes ./minishell -c "< oui | ls | wc -l"
==30136== Memcheck, a memory error detector
==30136== Copyright (C) 2002-2017, and GNU GPL'd, by …
-
a student told me that -e of echo could be managed to do it perfectly
-e is a silent argument
what we have :
```bash
┌─[ilkayyanar] [SHLVL 3]
└─[~/travail/repo_github/minishell-42] [0]-❥ ec…
-
Minishell gère `ls|ls|ls` mais pas `ls | ls |ls` ou `ls |ls|ls`
## MINISHELL
```
>>> Minishell>$ ls | ls |ls
ls: cannot access '|ls': No such file or directory
>>> Minishell>$ ls |ls|ls|ls
ls:…
-
cd builtin not working with - argument anymore
```bash
adminrpdjf:~/42-minishell [0]-❥ cd -
minishell: cd: OLDPWD not set
adminrpdjf:~/42-minishell [1]-❥ cd ..
adminrpdjf:~ [0]-❥ cd -
minishel…
RPDJF updated
7 months ago
-
Exit builtin not handling operators
```bash
ruipa@NB-Ideapad:~/42-minishell [0]-❥ exit +100
exit
minishell: exit: +100: numeric argument required
ruipa@NB-Ideapad:~/42-minishell$ bash
ruipa@NB…
RPDJF updated
7 months ago