Alicia-bites / minishell

This project is about creating a simple shell.
1 stars 0 forks source link

cd ~/ | echo $? #29

Closed Alicia-bites closed 2 years ago

Alicia-bites commented 2 years ago

WHAT WE HAVE index = 0 token = cd toktype = 1

index = 1 token = ~/ toktype = 4

index = 2 token = | toktype = 5

index = 3 token = echo toktype = 1

index = 4 token = 0 toktype = 4

Error: file: srcs/built-in/do_cd/do_cd_change_dir.c message: No 0 such file or directory Error: file: srcs/pipe/pipe_cmd.c message: command not found

EXPECTED: l'expansion de $?