janhan42 / minishell

0 stars 0 forks source link

echo hello > $NOT_EXISTS 같은거 했을때 ambiguous redirect 나와야 함. #5

Open janhan42 opened 7 months ago

janhan42 commented 7 months ago

이거는 ls $없는환경변수 넣으면 그냥 ls 처럼 나오는데 minishell$ ls $AAAA ft_convert_env-> ft_set_quote_flag check : 0 ft_convert_env-> ft_set_quote_flag check : 0 ft_convert_env-> ft_set_quote_flag check : 0 ls: : No such file or directory

========= Token1 type = WORD Token1 str = ls

Token2 type = WORD Token2 str =

=========

minishell$ 우리꺼는 No such file or directory 오류로 나오니까 이것도 ls 쪽이나 조건문 검사 한번 하면 될것 같고