The following issue has been SUBMITTED. ====================================================================== https://www.austingroupbugs.net/view.php?id=1578 ====================================================================== Reported By: calestyo Assigned To: ====================================================================== Project: Issue 8 drafts Issue ID: 1578 Category: Base Definitions and Headers Type: Error Severity: Editorial Priority: normal Status: New Name: Christoph Anton Mitterer Organization: User Reference: Section: Utilities, sed Page Number: 3138 Line Number: 106249 Final Accepted Text: ====================================================================== Date Submitted: 2022-04-17 01:40 UTC Last Modified: 2022-04-17 01:40 UTC ====================================================================== Summary: 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? ====================================================================== 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 ======================================================================