View Issue Details

IDProjectCategoryView StatusLast Update
00005331003.1(2008)/Issue 7Shell and Utilitiespublic2019-06-10 08:55
Reportergeoffclare Assigned Toajosey  
PrioritynormalSeverityEditorialTypeError
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionsed
Page Number3158
Line Number104978
Interp Status---
Final Accepted Text
Summary0000533: backslash newline in sed s replacement string
DescriptionThe description of the s command in the sed EXTENDED DESCRIPTION
includes the following:

    The meaning of a <backslash> immediately followed by any character
    other than '&' , <backslash>, a digit, or the delimiter character
    used for this command, is unspecified.

but the paragraph after that describes how backslash can be used
to escape a newline.

This appears to be a simple editorial omission in the list in the
quote above. The propose change adds newline to the list, but
also moves the sentence to after all of the uses of backslash
have been described, and inserts "unescaped".
Desired ActionDelete:

    The meaning of a <backslash> immediately followed by any character
    other than '&', <backslash>, a digit, or the delimiter character
    used for this command, is unspecified.

At line 104982 after:

    The application shall escape the <newline> in the replacement by
    preceding it by a <backslash>.

add as a separate paragraph:

    The meaning of an unescaped <backslash> immediately followed by
    any character other than '&', <backslash>, a digit, <newline>, or
    the delimiter character used for this command, is unspecified.
Tagstc2-2008

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2012-01-04 16:58 geoffclare New Issue
2012-01-04 16:58 geoffclare Status New => Under Review
2012-01-04 16:58 geoffclare Assigned To => ajosey
2012-01-04 16:58 geoffclare Name => Geoff Clare
2012-01-04 16:58 geoffclare Organization => The Open Group
2012-01-04 16:58 geoffclare Section => sed
2012-01-04 16:58 geoffclare Page Number => 3158
2012-01-04 16:58 geoffclare Line Number => 104978
2012-01-04 16:58 geoffclare Interp Status => ---
2012-01-12 16:53 msbrown Status Under Review => Resolution Proposed
2012-01-12 16:53 msbrown Resolution Open => Accepted
2012-01-12 16:54 Don Cragun Tag Attached: tc2-2008
2012-01-12 18:30 Don Cragun Status Resolution Proposed => Resolved
2019-06-10 08:55 agadmin Status Resolved => Closed