Tim Waugh 8c440d
--- grep-2.5.1/src/grep.c.color	2004-11-16 16:46:22.845505847 +0000
Tim Waugh 8c440d
+++ grep-2.5.1/src/grep.c	2004-11-16 16:46:27.961530537 +0000
Tim Waugh 8c440d
@@ -607,6 +607,7 @@
Tim Waugh 8c440d
 	  fputs ("\33[00m", stdout);
Tim Waugh 2c381e
 	  beg = b + match_size;
Tim Waugh 2c381e
 	}
Tim Waugh 8c440d
+      fputs ("\33[K", stdout);
Tim Waugh 2c381e
     }
Tim Waugh 2c381e
   fwrite (beg, 1, lim - beg, stdout);
Tim Waugh 2c381e
   if (ferror (stdout))