sophiakoulen / minishell

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

env variable is over matched #108

Closed znichola closed 1 year ago

znichola commented 1 year ago
minishell$ export v="this that"
minishell$ <$vv
minishell: $vv: ambiguous redirect

should be amtching as there is no vv varaible, looks like a bad length calc on the a ft_strncmp

sophiakoulen commented 1 year ago

It was not a bug! Variable vv is the empty string, and redirections do not like empty strings