Updated to support heredocs

This commit is contained in:
Maieul BOYER 2024-09-04 16:43:14 +00:00
parent 92823aff80
commit 980cae5597
5 changed files with 42 additions and 202 deletions

8
test_heredoc.sh Executable file
View file

@ -0,0 +1,8 @@
make
valgrind --leak-check=full --show-leak-kinds=none --track-origins=yes --track-fds=yes --trace-children=yes ./minishell <<<'cat <<EOF
bonjour je suis un heredoc
le saviez tu je dois finir par EOF mais qui est sur la ligne
donc par example si j ai cette ligne qui fini avec EOF
rien ne se passe
mais la ligne d en dessous fini le heredoc :D
EOF'