View Issue Details

IDProjectCategoryView StatusLast Update
0001578Issue 8 draftsBase Definitions and Headerspublic2024-06-11 09:12
Reportercalestyo Assigned To 
PrioritynormalSeverityEditorialTypeError
Status ClosedResolutionAccepted As Marked 
Product VersionDraft 2.1 
NameChristoph Anton Mitterer
Organization
User Reference
SectionUtilities, sed
Page Number3138
Line Number106249
Final Accepted TextSee 0001578:0005828.
Summary0001578: sed y-command: error in description about the number of characters in string1 and string2
DescriptionHey.

I noted this originally in https://austingroupbugs.net/view.php?id=1551#c5780 and there in my point (VI) (at the very bottom of that note):

The description of the y-command contains on page 3138, line 106249:
"If the number of characters in string1 and string2 are not equal, or if any of the characters in string1 appear more than once, the results are undefined."

That is strictly speaking wrong, namely in the case when string1 and/or string2 contains '\'-escaped 'n' (for newline) or a '\'-escaped delimiters, and the number of occurrences in both strings don't even out.
Desired ActionPerhaps simply write "If the number of characters (after resolving any escape sequences)..." or so?
Tagstc3-2008

Relationships

related to 0001550 Closed clarifications/ambiguities in the description of context addresses and their delimiters for sed 
child of 0001551 Closed sed: ambiguities in the how BREs/EREs are parsed/interpreted between delimiters (especially when these are special characters) 

Activities

Don Cragun

2022-05-05 15:11

manager   bugnote:0005828

On P3138, L106249-106251 (sed Extended Description), change:
If the number of characters in string1 and string2 are not equal, or if any of the characters in string1 appear more than once, the results are undefined.
to:
If (after resolving any escape sequences) the numbers of characters in string1 and string2 are not equal, or if any of the characters in string1 appear more than once, the results are undefined.

Issue History

Date Modified Username Field Change
2022-04-17 01:40 calestyo New Issue
2022-04-17 01:40 calestyo Name => Christoph Anton Mitterer
2022-04-17 01:40 calestyo Section => Utilities, sed
2022-04-17 01:40 calestyo Page Number => 3138
2022-04-17 01:40 calestyo Line Number => 106249
2022-05-05 14:59 nick Relationship added child of 0001551
2022-05-05 15:00 nick Relationship added related to 0001550
2022-05-05 15:11 Don Cragun Note Added: 0005828
2022-05-05 15:12 Don Cragun Final Accepted Text => See 0001578:0005828.
2022-05-05 15:12 Don Cragun Status New => Resolved
2022-05-05 15:12 Don Cragun Resolution Open => Accepted As Marked
2022-05-05 15:13 Don Cragun Tag Attached: tc3-2008
2022-05-26 10:17 geoffclare Status Resolved => Applied
2024-06-11 09:12 agadmin Status Applied => Closed