fucalerro / 42-minishell

1 stars 0 forks source link

File redirection need to be done in correct order (no hack with sort_infile()) #38

Closed Lu-ni closed 6 months ago

Lu-ni commented 7 months ago
bash-3.2$ touch ol > ola < missing
bash: missing: No such file or directory
bash-3.2$ ls
dir ola
bash-3.2$ ls
dir ola
bash-3.2$ rm ola
bash-3.2$ cat < a > b
bash: a: No such file or directory
bash-3.2$ ls
dir