Fix unix shell behavior