gysiang / minishell

0 stars 1 forks source link

Echo "$PWD" delivers output but Invalid next size #125

Closed axellee1994 closed 5 months ago

axellee1994 commented 5 months ago

image

gysiang commented 5 months ago

minishell$ echo "$PWD" token: echo token type: 0 token: $PWD token type: 0 current token in process: echo /home/gyong-si/Documents/42/minishell minishell$ echo '$PWD' token: echo token type: 0 token: $PWD token type: 0 current token in process: echo /home/gyong-si/Documents/42/minishell

@axellee1994 my version does not trigger this error. echo '$PWD' still prints out the path which is wrong should print out '$PWD'