<div dir="ltr">This came up trying to build kernels. Worked around for now by<br><a href="https://android-review.googlesource.com/c/kernel/build/+/1558655">https://android-review.googlesource.com/c/kernel/build/+/1558655</a>. POSIX<br>says nothing about this, but the GNU grep man page explicitly mentions<br>this behavior.<br><br>Bug: <a href="https://issuetracker.google.com/178191979">https://issuetracker.google.com/178191979</a><br>---<br> tests/grep.test   |  8 ++++++++<br> toys/posix/grep.c | 25 +++++++++++++++----------<br> 2 files changed, 23 insertions(+), 10 deletions(-)<br></div>