minishell
minishell copied to clipboard
[BUG] Heredoc should execute before parser detects syntax error
Example:
cat < Makefile << eof > out1(000) >> out2
Heredoc should first execute, only then parser should report syntax error.
I think if syntax error happened we should not going to do heredoc, in my opinion I would say this is not bash feature but bug :p