stupid shit with EOF errors in read-command.c