A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1941 ====================================================================== Reported By: dwheeler Assigned To: ajosey ====================================================================== Project: 1003.1(2008)/Issue 7 Issue ID: 1941 Category: Shell and Utilities Type: Enhancement Request Severity: Objection Priority: normal Status: Under Review Name: David A. Wheeler Organization: User Reference: Section: grep Page Number: 1 Line Number: 1 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2025-08-30 21:51 UTC Last Modified: 2025-09-01 17:18 UTC ====================================================================== Summary: Add widely-implemented options to grep ======================================================================
---------------------------------------------------------------------- (0007251) dwheeler (reporter) - 2025-09-01 17:18 https://austingroupbugs.net/view.php?id=1941#c7251 ---------------------------------------------------------------------- I think we should do our best to avoid conflicting options. However, once a massive consensus emerges among many widely-used systems, we should consider that. Not having grep -o in the standard (to extract just what was matched) is *crippling*. People just use it anyway. The lack of -H can be worked around with /dev/null, but it's an ugly hack that isn't necessary in the BSD-ish systems of OpenBSD, NetBSD, FreeBSD, and MacOS, nor in GNU nor in BusyBox. I propose standardizing on these, as these are the "general consensus", even among many widely used BSD systems. Reasonable minds can differ obviously, but here I state my position, and discussion can continue :-). Issue History Date Modified Username Field Change ====================================================================== 2025-08-30 21:51 dwheeler New Issue 2025-08-30 21:51 dwheeler Status New => Under Review 2025-08-30 21:51 dwheeler Assigned To => ajosey 2025-08-30 21:56 dwheeler Note Added: 0007240 2025-08-30 21:59 dwheeler Note Added: 0007241 2025-08-31 00:07 mirabilos Note Added: 0007242 2025-08-31 00:10 mirabilos Note Added: 0007243 2025-08-31 21:52 dwheeler Note Added: 0007244 2025-08-31 22:01 dwheeler Note Added: 0007245 2025-09-01 05:57 stephane Note Added: 0007246 2025-09-01 06:05 stephane Note Added: 0007247 2025-09-01 15:36 dwheeler Note Added: 0007249 2025-09-01 17:10 dwheeler Note Added: 0007250 2025-09-01 17:18 dwheeler Note Added: 0007251 ======================================================================
