sophiakoulen / minishell

A simplified bash-like shell, with pipes, redirections and variable expansion.
3 stars 1 forks source link

echo -n -n -n -n #61

Closed sophiakoulen closed 1 year ago

sophiakoulen commented 1 year ago
echo -n -n -n hello

should not print any "-n".

What we have:

minishell$ echo -n -n -n hello
-n -n hellominishell$ 

What is expected:

bash-3.2$ echo -n -n -n hello
hellobash-3.2$