grep/grep-2.5.1-color.patch

11 lines
313 B
Diff
Raw Normal View History

2004-11-16 16:49:04 +00:00
--- 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;
}
2004-11-16 16:49:04 +00:00
+ fputs ("\33[K", stdout);
}
fwrite (beg, 1, lim - beg, stdout);
if (ferror (stdout))