This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Get rid of "grep empty(sub)expression" noise.
authorH.Merijn Brand - Tux <h.m.brand@xs4all.nl>
Thu, 29 May 2014 19:52:37 +0000 (21:52 +0200)
committerH.Merijn Brand - Tux <h.m.brand@xs4all.nl>
Thu, 29 May 2014 19:52:37 +0000 (21:52 +0200)
commitd910675c1d94c8d3137593d70ce3cc359fe2257b
tree6eda9a4907ee1db78063690334738c84b17993f5
parent9bdd8903b9d9e63617f3730e50ad464a42df629b
Get rid of "grep empty(sub)expression" noise.

Backport 48a72c671eb9f7f8ec040f42bacfe62436e37ee1

In OS X (and assumedly *BSD) Configure output starts with:

grep empty(sub)expression

apparently because plain 'grep' understands the 'os\(/\|\)2'
somewhat differently (BRE vs ERE, RTFM re_format(7))

Cure: redirect the stderr of grep to stdout (which is then promptly
redirected to /dev/null).  The grep will still fail, and not take
the OS/2 (or DJGPP) branch.
U/modified/Head.U