Closed saladuit closed 1 year ago
except $? everything should be invalid input when exporting as key.
Lexical analyzer should handle all invalid input including unclosed quotes, so that shouldn't be handled by expander
1:32:50 ~/repos/minishell
> echo $SHELL$SHELL
/bin/zsh/bin/zsh
1:33:00 ~/repos/minishell
> echo $SHELL$SHELL$$$$
/bin/zsh/bin/zsh37793779
1:33:12 ~/repos/minishell
> echo $SHELL$SHELL'$$'$$
/bin/zsh/bin/zsh$$3779
1:33:24 ~/repos/minishell
> echo "$SHELL$SHELL'$$'$$"
/bin/zsh/bin/zsh'3779'3779
1:33:36 ~/repos/minishell
closed by #48
This should be taken care of https://stackoverflow.com/questions/5163144/what-are-the-special-dollar-sign-shell-variables/5163260#5163260