Updated to support heredocs
This commit is contained in:
parent
92823aff80
commit
980cae5597
5 changed files with 42 additions and 202 deletions
8
test_heredoc.sh
Executable file
8
test_heredoc.sh
Executable 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'
|
||||
Loading…
Add table
Add a link
Reference in a new issue