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 14:17 UTC
====================================================================== 
Summary:                    Add widely-implemented options to grep
====================================================================== 

---------------------------------------------------------------------- 
 (0007265) dwheeler (reporter) - 2025-09-17 14:17
 https://www.austingroupbugs.net/view.php?id=1941#c7265 
---------------------------------------------------------------------- 
I agree with hvd.

I think POSIX should not be *gratuitously* incompatible with historical and
hobbyist systems. However, at this point, there's a general consensus that there
needs to be a way to extract *just* the match from grep, and that "-o" is the
option that does that. OpenBSD intentionally switched and implemented that
change in 2011, which is *14* years ago. Changing the meaning of a flag is
pretty strong evidence of a general consensus among the systems that are in wide
use today. If there was agreement on a functionality but not the option flag,
then yes, I think it's reasonable to propose an unused option flag. However,
that is not the situation today. There's already a general consensus. POSIX
should make it easy to find that consensus so that application developers can
confidently build on it. 

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                          
2025-09-17 14:17 dwheeler       Note Added: 0007265                          
======================================================================


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

Reply via email to