grep/grep-2.5.1-color.patch
2004-11-16 16:49:04 +00:00

11 lines
313 B
Diff

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