Closed Alicia-bites closed 2 years ago
I do not have the same behavior as you
BASH:
➜ 42_minishell git:(main) ✗ bash
abarrier@e1r4p1:~/42_minishell$ echo test.c | cat -e| cat -e| cat -e| cat -e| cat -e| cat -e| cat -e| cat -e|cat -e|cat -e|cat -e
test.c$$$$$$$$$$$
abarrier@e1r4p1:~/42_minishell$
MINISHELL
➜ 42_minishell git:(main) ✗ ./minishell
$: echo test.c | cat -e| cat -e| cat -e| cat -e| cat -e| cat -e| cat -e| cat -e|cat -e|cat -e|cat -e
/usr/bin/cat: invalid option -- '|'
Try '/usr/bin/cat --help' for more information.
$:
echo test.c | cat -e| cat -e| cat -e| cat -e| cat -e| cat -e| cat -e| cat -e|cat -e|cat -e|cat -e
bash: test.c$$$$$$$$$$$
minishell: Error: Permission denied: cat