Closed axellee1994 closed 2 months ago
This seems like a wrong example, the single quoted $HOME should not expand at all. I copied into bash and it was not a single quote which is not required in the pdf.
@gysiang Did you click edit and then copy it into bash?
yes, i got the same result as your picture. That is not single quote.
The single quote I can understand but we will still need to resolve the "USER9999" issue.
Selvam Testcases: axlee@axlee:~/Desktop/42_minishell$ echo $USER+’$HOME’+”$USER9999” axlee+’/home/axlee’+””
Ours: axlee@axlee:~/Desktop/42_minishell$ ./minishell minishell$ echo $USER+echo $USER+’$HOME’+”$USER9999” axlee +’$HOME’+”$USER9999”