unsetの引数に空文字列を渡す
Closed this issue · 1 comments
tkomatsu commented
bash
bash-3.2$ unset ''
bash: unset: `': not a valid identifier
bash-3.2$ echo $?
1
bash-3.2$ unset '' ''
bash: unset: `': not a valid identifier
bash: unset: `': not a valid identifier
bash-3.2$ echo $?
1
minishell
minishell$ unset '' ''
minishell$ echo $?
0
minishell$ unset ''
minishell$ echo $?
0