Thanks for the bug report. I installed the attached, which is not quite the same
as the patches you suggested, but which should address the issues.
From 0269180966fe6e084b8d8af1a61a3d521ad7e081 Mon Sep 17 00:00:00 2001
From: Paul Eggert
Date: Sun, 10 Apr 2016 21:27:35 -0700
And now that I'm cleaning the patches applied to the debian package,
here is another tiny patch.
Cheers,
Santiago
>From 1c86cafdc67c157ce8744da0b32151d1e0f77545 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Santiago=20Ruano=20Rinc=C3=B3n?=
Date: Fri, 4 Mar 2016 20:01:48 +0100
Hi,
Please consider this patch to clarify the use of multiple -e and -f
options in grep. I think the current documentation is inconsistent with
grep behaviour and POSIX man page for grep.
This patch is intended to close another long-standing bug reported in
Debian: https://bugs.debian.org/356120