View Issue Details

IDProjectCategoryView StatusLast Update
00002641003.1(2008)/Issue 7Shell and Utilitiespublic2010-06-25 16:31
Reportereblake Assigned Toajosey  
PrioritynormalSeverityObjectionTypeError
Status ClosedResolutionDuplicate 
NameEric Blake
OrganizationRed Hat
User Referenceebb.sed2
Sectionsed
Page Number3156
Line Number104908
Interp Status---
Final Accepted Text
Summary0000264: sed addr in braces
DescriptionThe description of the { command verb begins:

     [2addr] {function
     function
     ...
     }
         Execute a list of sed functions only when the pattern space is
         selected.

 Since it refers to "function(s)", and the beginning of the EXTENDED
 DESCRIPTION says a function is a command verb followed by any
 applicable arguments, this means sed is not required to support the
 use of addresses within braces. It seems likely that this is
 unintentional, as such usage is common in applications (and
 applications which use it do not appear to be having any portability
 problems). For example:

     sed -n '1,/^$/{
                 /^Subject: /p
            }'

 To require sed to support the use of addresses within braces, the
 description should use the term "editing command" instead of "function".
Desired ActionChange "function" to "editing command" throughout the description of
 the { command verb.
TagsNo tags attached.

Relationships

duplicate of 0000269 Closedajosey 1003.1(2004)/Issue 6 sed addr in braces 

Activities

eblake

2010-06-23 03:17

manager   bugnote:0000431

This request was originally raised against the previous version as ERN181, and received the following disposition:
Accept_X___ Accept as marked below_____ Duplicate_____ Reject_____
 Rationale for rejected or partial changes:

Send down the interps track
std is clear, std is wrong

However, it was accepted too late for inclusion in the 2008 edition of the standard, and appears to have been overlooked until now when converting the old database to this bug tracker.

Issue History

Date Modified Username Field Change
2010-06-23 03:15 eblake New Issue
2010-06-23 03:15 eblake Status New => Under Review
2010-06-23 03:15 eblake Assigned To => ajosey
2010-06-23 03:15 eblake Name => Eric Blake
2010-06-23 03:15 eblake Organization => Red Hat
2010-06-23 03:15 eblake User Reference => ebb.sed2
2010-06-23 03:15 eblake Section => sed
2010-06-23 03:15 eblake Page Number => 3156
2010-06-23 03:15 eblake Line Number => 104908
2010-06-23 03:17 eblake Note Added: 0000431
2010-06-25 16:31 geoffclare Interp Status => ---
2010-06-25 16:31 geoffclare Status Under Review => Closed
2010-06-25 16:31 geoffclare Resolution Open => Duplicate
2010-06-25 16:31 geoffclare Relationship added duplicate of 0000269