gysiang / minishell

0 stars 1 forks source link

expr $?+$? expr: syntax error: unexpected argument ‘0’ #295

Closed axellee1994 closed 4 months ago

axellee1994 commented 4 months ago

minishell$ expr $?+$? expr: syntax error: unexpected argument ‘0’ minishell$ expr $? + $? 4 minishell$ exit exit axlee@axlee:~/Desktop/42_minishell$ expr $?+$? 0+0 axlee@axlee:~/Desktop/42_minishell$

expr needs to work with or without a space