Closed Alicia-bites closed 2 years ago
What is the issue ? I have the following result
BASH:
➜ 42_minishell git:(main) ✗ bash abarrier@e1r4p1:~/42_minishell$ export HOLA="cat Makefile | grep NAME" abarrier@e1r4p1:~/42_minishell$ export | grep -iE 'HOLA|cat|Makefile|\||grep' declare -x GNOME_DESKTOP_SESSION_ID="this-is-deprecated" declare -x HOLA="cat Makefile | grep NAME" declare -x INVOCATION_ID="09d3614f82794fe9bd9d041a656461f1" abarrier@e1r4p1:~/42_minishell$
MINISHELL:
➜ 42_minishell git:(main) ✗ ./minishell $: export HOLA="cat Makefile | grep NAME" $: export | grep -iE 'HOLA' declare -x HOLA="cat Makefile | grep NAME" $:
:warning: I can not use the same grep expression because there is an issue with minishell's parsing then I will open a new issue
➜ 42_minishell git:(main) ✗ ./minishell $: export HOLA="cat Makefile | grep NAME" $: export | grep -iE 'HOLA|cat|Makefile|\||grep' smbash: syntax error. Please check pipes. $:
What is the issue ? I have the following result
BASH:
MINISHELL:
:warning: I can not use the same grep expression because there is an issue with minishell's parsing then I will open a new issue