--- grep-2.5.1/src/grep.c.color 2004-11-16 13:23:56.679753084 +0000 +++ grep-2.5.1/src/grep.c 2004-11-16 13:23:52.400568021 +0000 @@ -608,6 +608,7 @@ beg = b + match_size; } } + fputs ("\33[K", stdout); fwrite (beg, 1, lim - beg, stdout); if (ferror (stdout)) error (0, errno, _("writing output"));