➜ minishell echo $USER"$"$PWD'$$$$$$$$$$$'USER"$PWD"
wlahyani/Users/wlahyani/Desktop/ex$$$$$$$$$$$USER/Users/wlahyani/Desktop/ex
➜ minishell ' "$PWD" '
minishell: syntax error unexpected token \n' ➜ minishell echo ' "$PWD" ' minishell: syntax error unexpected token \n'
➜ minishell echo ' "$PWD" ' '
minishell: syntax error unexpected token \n' ➜ minishell echo ' "$PWD" ' ' minishell: syntax error unexpected token \n'
➜ minishell echo ' "$PWD"
minishell: syntax error unexpected token \n' ➜ minishell echo "$PWD" /Users/wlahyani/Desktop/ex ➜ minishell echo '"$PWD"' "$PWD" ➜ minishell echo ' "$PWD"' minishell: syntax error unexpected token \n'
➜ minishell echo ' "$PWD" '
minishell: syntax error unexpected token `\n'
➜ minishell echo ' ›"$PWD" '
bash-3.2$ export a="ls -la"
bash-3.2$
echo oui | echo non | echo something | grep something ==> oui expect something
=> expand inside heredoc ✅ => signlas ✅ ➜ minishell exit 288 ✅ [1] 18412 segmentation fault ./minishell ✅ => multiple pipes ✅ => heredoc parse delimeter ✅ => $? ✅ => cat < l ✅
=> string parser "\0"
=>export =>env =>builtins
=>➜ minishell ➜ minishell ctrl + c => ➜ minishell < scat segv << l ls | < Makefile cat > file401 | << h ls >> file401 || << q open the heredocs before the syntax error ls > file401 | cat file401 >> file401 hanging ls > file1 | cat file1 ➜ minishell export | grep ads adsvdv=(null) ➜ minishell export test== bash-3.2$ export unset
=> exit status