[Bug 293217] grep(1) reads EOF twice from interactive stdin before quitting

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 22 Feb 2026 11:27:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293217

Viacheslav Chimishuk <vchimishuk@yandex.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vchimishuk@yandex.ru

--- Comment #2 from Viacheslav Chimishuk <vchimishuk@yandex.ru> ---
If I type `foo` without hitting Enter it requires three ^D to exit. 

  $ grep x
  foo^D^D^D
  $

-- 
You are receiving this mail because:
You are the assignee for the bug.