Closed axellee1994 closed 5 months ago
@axellee1994 What is this supposed to output?
@gysiang
Testcase: echo "> >> < ? [ ] | ; [ ] || && ( ) & # $ \ <<" Bash Output: > >> < ? [ ] | ; [ ] || && ( ) & # $ \ <<
@gysiang Can check the echo issues to test and see what the other outputs are for other testcases.
Easier to visualise:
gyong-si@gyong-si:~/Documents/42/minishell$ echo "> >> < * ? [ ] | ; [ ] || && ( ) & # $ \ <<"
< ? [ ] | ; [ ] || && ( ) & # $ \ << gyong-si@gyong-si:~/Documents/42/minishell$ ./minishell minishell$ echo "> >> < ?"> >> < ? [ ] | ; [ ] || && ( ) & # $ \ <<" token: echo token type: 0 token: > >> < ? [ ] | ; [ ] || && ( ) & # $ \ << token type: 0 current token in process: echo < * ? [ ] | ; [ ] || && ( ) & # $ \ << No difference in output for the echo symbols
@gysiang