shell.c variable name improvement