772 B
772 B
-
redirection & quotes expansion
bash$ echo "hello" > "file" bash$ ls file bash$minishell$ echo "hello" > "file" minishell$ ls '"file"' minishell$ -
redirection & open
prompt$ > newfilecreate filenewfilein bash, but not in minishell -
redirection & open
ok prompt$ echo "hello" > $not_a_variable
ok does'nt create a file in bash, but does in minishell
-
redirection & variables expansion
export NEWVAR="newfile" echo hello > $NEWVARcreate file "newfile" in bash, but a file named "'$NEWVAR'" in minishell
-
redireciton & pipes
ls | < not_a_file catgives an error about "not_a_file" and stop in bash, but in minishell it continues forever (< not_a_file catworks fine in both bash and minishell)