libgo patch committed: redirect mkrsysinfo.sh grep output to /dev/null

Ian Lance Taylor iant@golang.org
Fri Nov 19 17:46:46 GMT 2021


On Fri, Nov 19, 2021 at 3:47 AM Bernhard Reutner-Fischer via
Gcc-patches <gcc-patches@gcc.gnu.org> wrote:
>
> On Fri, 28 Oct 2016 10:55:18 -0700
> Ian Lance Taylor <iant@golang.org> wrote:
>
> > This patch to libgo redirects the output of a grep command in
> > mkrsysinfo.sh to /dev/null.  The output otherwise appears in the
>
> grep -q exists since at least SUSv2, fwiw.

There has traditionally been confusion between grep -q and grep -s.
Older grep programs supported -s but not -q.  Perhaps that confusion
is all cleared up now on all systems that GCC supports.  I don't know.
I do know that the patch I applied five years ago works everywhere.

Ian


More information about the Gcc-patches mailing list