rask24 / minishell

3 stars 0 forks source link

parse pipeline cannot recognize erroneous syntax <command>|<blank>|<command>. #62

Closed alex216 closed 1 month ago

alex216 commented 1 month ago
minishell$ /bin/ls | | /bin/ls
minishell: execve: Bad address
Makefile        codecov.yml     googletest      minishell       tests
README.md       coverage.mk     include         readline        unit_test.mk
build           docs            libft           src             unit_tester
rask24 commented 1 month ago

Current implementation handle it properly.

minishell$ echo Hello  | |
minishell: syntax error near unexpected token `|'