A NOTE has been added to this issue. 
====================================================================== 
https://www.austingroupbugs.net/view.php?id=1941 
====================================================================== 
Reported By:                dwheeler
Assigned To:                ajosey
====================================================================== 
Project:                    1003.1(2024)/Issue8
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-17 07:29 UTC
====================================================================== 
Summary:                    Add widely-implemented options to grep
====================================================================== 

---------------------------------------------------------------------- 
 (0007264) hvd (reporter) - 2025-09-17 07:29
 https://www.austingroupbugs.net/view.php?id=1941#c7264 
---------------------------------------------------------------------- 
Re https://www.austingroupbugs.net/view.php?id=1941#c7263:

> MirBSD’s is what OpenBSD had for the longest time, so it’s been in use for
ages.

OpenBSD dropped it in 4.8 (released in 2010) and added the -o option requested
here in 5.0 (released in 2011). The removal was accompanied by the message "For
the most part, our grep tries to be compatible with the defacto gnu standard for
grep, but there's no need to blaze our own trail." If you've got an
implementation that tries to be compatible with GNU grep, but isn't, that should
just be regarded as a bug, not standardised as a feature, and OpenBSD had no
issue changing that.

> But since people want a -o with arguments anyway, why not use -O for that and
leave -o explicitly unspecified?

That requires changes on every implementation, but let's imagine. Imagine POSIX
did that, GNU grep changed today, and we're twenty years down the line. How many
legacy systems do you imagine would be out there where -O does not work? How
many MirBSD systems do you imagine would be out there where -o does not work? I
imagine the former would still far exceed the latter and because of that, I
imagine it would be unlikely that people would switch to that new -O option. 

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                          
2025-09-11 15:31 lanodan        Note Added: 0007253                          
2025-09-11 15:36 lanodan        Note Edited: 0007253                         
2025-09-11 15:37 lanodan        Note Edited: 0007253                         
2025-09-11 15:37 lanodan        Note Edited: 0007253                         
2025-09-11 15:50 geoffclare     Project                  1003.1(2008)/Issue 7 =>
1003.1(2024)/Issue8
2025-09-11 18:01 dwheeler       Note Added: 0007256                          
2025-09-12 16:28 stephane       Note Added: 0007258                          
2025-09-15 02:03 dwheeler       Note Added: 0007259                          
2025-09-15 02:04 dwheeler       Note Edited: 0007259                         
2025-09-15 02:08 dwheeler       Note Edited: 0007259                         
2025-09-15 09:14 stephane       Note Added: 0007260                          
2025-09-16 13:47 dwheeler       Note Added: 0007261                          
2025-09-16 16:55 collinfunk     Note Added: 0007262                          
2025-09-17 00:06 mirabilos      Note Added: 0007263                          
2025-09-17 07:29 hvd            Note Added: 0007264                          
======================================================================


  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group

Reply via email to