-
Affiche le premier message et met la sortie d'erreur à 131.
-> photo du code envoyée dans Discord.
```
mbernard@z3r8p3:~/sgoinfre/42_minishell.c$ cat
^\Quit (core dumped)
mbernard@z3r8p3:~/sg…
-
-
-
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…
-
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…
-
```
➜ 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…
-
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
6 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
6 months ago
-
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:…