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.
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 29 May 2014 19:16:47 +0000 (15:16 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 29 May 2014 19:16:47 +0000 (15:16 -0400)
commit48a72c671eb9f7f8ec040f42bacfe62436e37ee1
tree83d131979f456e96af555f8775d4f21fb2357635
parent9adb283733962776a24565b5e2bf9bdfb135b968
Get rid of "grep empty(sub)expression" noise.

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.
Configure