-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
builtin
のToDo
#73
Comments
referenceに書いてないってことは、bash書いてる人も把握できてない不具合だ。 |
Merged
|
Merged
$ env | grep PWD
PWD=/Users/kazuma/Desktop/42Cursus/minishell
$ cd ..
$ env | grep PWD
PWD=/Users/kazuma/Desktop/42Cursus
OLDPWD=/Users/kazuma/Desktop/42Cursus/minishell
$ unset PWD
$ cd ..
$ env | grep PWD
$ unset PWD
$ env | grep PWD
OLDPWD=/Users/kazuma/Desktop/42Cursus |
$ export APPEND_NONE=1 && export APPEND_NONE+= && export | grep APPEND_NONE
exit status: minishell=1 bash=0
0a1
> declare -x APPEND="1"
1d0
< minishell: export: `APPEND+=': not a valid identifier |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Todo及びDiscussionスレッド
- [ ]
exit aaa
が成功- [ ]
exit 0 aaa || echo hello
失敗するがecho hello
が実行されないexport
,unset
の引数のエラー処理が甘い(export &**%#=test
->ko,export TEST=" ~!@#"
->ok,unset TEST
->ok,unset TEST="f 13#Q$!"->ko)
ft_isalnum`とかで判断するのが無難か?exit
でのfree()
処理The text was updated successfully, but these errors were encountered: