shell.c > and >> working