Open ak0327 opened 1 year ago
minishell $> echo $? $$ $$? $?? $SHELL $SHELL$hoge$USER
input :[echo $? $$ $$? $?? $SHELL $SHELL$hoge$USER]
pipe_splitted :{"echo", "$?", "$$", "$$?", "$??", "$SHELL", "$SHELL$hoge$USER"}
update cmds :{"echo", "$?", "$$", "$$?", "$??", "$SHELL", "$SHELL$hoge$USER"}
#DEBUG[print_stack : check tree]
[root]
|
[shell]
|
[cmd]--{"echo", "$?", "$$", "$$?", "$??", "$SHELL", "$SHELL$hoge$USER"}
#DEBUG[print_stack : check tree after expansion]
[root]
|
[shell]
|
[cmd]--{"echo", "0", "65550", "65550?", "0?", "/bin/zsh", "/bin/zshakira"}
vvvvv Execution vvvvv
0 65550 65550? 0? /bin/zsh /bin/zshakira
^^^^^ Execution ^^^^^
残課題は以下の通り
新鮮な気持ちでコードを再確認したいため、一旦中断。 [#12]arrangementを進める
expansion variables