updated the cshell.c to match the output file that can sucessfuly extract command from input