Nelson Beebe reported privately that some of grep's foad1 tests failed on many different *BSD systems. It was a legitimate bug, introduced since the 2.25 release. Here's the fix: