Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001578 [Issue 8 drafts] Base Definitions and Headers Editorial Error 2022-04-17 01:40 2024-06-11 09:12
Reporter calestyo View Status public  
Assigned To
Priority normal Resolution Accepted As Marked  
Status Closed   Product Version Draft 2.1
Name Christoph Anton Mitterer
Organization
User Reference
Section Utilities, sed
Page Number 3138
Line Number 106249
Final Accepted Text See Note: 0005828.
Summary 0001578: sed y-command: error in description about the number of characters in string1 and string2
Description Hey.

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 Action Perhaps simply write "If the number of characters (after resolving any escape sequences)..." or so?
Tags tc3-2008
Attached Files

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

-  Notes
(0005828)
Don Cragun (manager)
2022-05-05 15:11

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 Note: 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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker