[PATCH v4 3/4] Update file shell.c