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