View Issue Details

IDProjectCategoryView StatusLast Update
00009611003.1(2013)/Issue7+TC1Shell and Utilitiespublic2024-06-11 09:02
Reporterrhansen Assigned To 
PrioritynormalSeverityEditorialTypeEnhancement Request
Status ClosedResolutionAccepted 
NameRichard Hansen
Organization
User Reference
Sectionsed
Page Number3182
Line Number106404-106407
Interp Status---
Final Accepted Text
Summary0000961: permit <semicolon> to terminate {...} command
DescriptionAs reported in 0000944, the following is widely supported by existing implementations:
    sed '{=;};{=;}'
However, the following is not:
    sed '/a/{/b/{=;=;};}'
It is unclear why there is a difference in behavior in these two cases; perhaps the nesting has something to do with it.

From a user's perspective, it would be nice if all implementations were required to support terminating brace groups with a semicolon regardless of where they appeared.
Desired ActionAfter applying the changes from 0000944, change page 3182 line 106404 from:
Editing commands other than {...}, a, b, c, i, r, t, w, :, and # can be followed by a <semicolon>, optional <blank> characters, and another editing command.
to:
Editing commands other than a, b, c, i, r, t, w, :, and # can be followed by a <semicolon>, optional <blank> characters, and another editing command.
Tagsissue8

Relationships

related to 0000944 Closed sed: relax requirement for } to be preceded by newline 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2015-06-18 16:19 rhansen New Issue
2015-06-18 16:19 rhansen Name => Richard Hansen
2015-06-18 16:19 rhansen Section => sed
2015-06-18 16:19 rhansen Page Number => 3182
2015-06-18 16:19 rhansen Line Number => 106404-106407
2015-06-18 16:19 rhansen Interp Status => ---
2015-06-18 16:21 rhansen Description Updated
2015-06-18 16:21 rhansen Desired Action Updated
2015-06-18 16:22 rhansen Relationship added related to 0000944
2015-06-18 16:39 eblake Tag Attached: issue8
2016-04-07 16:34 Don Cragun Status New => Resolved
2016-04-07 16:34 Don Cragun Resolution Open => Accepted
2020-04-08 15:33 geoffclare Status Resolved => Applied
2024-06-11 09:02 agadmin Status Applied => Closed