shell.c <, > and >> bugs squashed