A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1630 ====================================================================== Reported By: mirabilos Assigned To: ====================================================================== Project: 1003.1(2016/18)/Issue7+TC2 Issue ID: 1630 Category: Base Definitions Type: Clarification Requested Severity: Objection Priority: normal Status: New Name: mirabilos Organization: mksh User Reference: Section: 3.10 Page Number: (page or range of pages) Line Number: (Line or range of lines) Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2023-01-20 21:39 UTC Last Modified: 2023-02-24 14:05 UTC ====================================================================== Summary: Alias names ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- related to 0001050 Add support for the hyphen character in... ======================================================================
---------------------------------------------------------------------- (0006174) ormaaj (reporter) - 2023-02-24 14:05 https://austingroupbugs.net/view.php?id=1630#c6174 ---------------------------------------------------------------------- Relatedly, the `-p` option used by several implementations is absolutely required in order to properly save and restore alias definitions, so `alias` must support handling them. -p causes each output alias to be prefixed with an alias command so that the string may be eval'd. The format prescribed by POSIX renders the output completely useless in spite of the paradoxically impossible requirement that "the value string shall be written with appropriate quoting so that it is suitable for reinput to the shell". One could theoretically interpret that in a reasonable manner once $'' becomes available as it could then be inferred that the shell must force each definition onto a single line to be subsequently parsed by newline delimiters. That could only happen safely if each definition is required to be represented on a single line. Issue History Date Modified Username Field Change ====================================================================== 2023-01-20 21:39 mirabilos New Issue 2023-01-20 21:39 mirabilos Name => mirabilos 2023-01-20 21:39 mirabilos Organization => mksh 2023-01-20 21:39 mirabilos URL => https://austingroupbugs.net/view.php?id=1050 2023-01-20 21:39 mirabilos Section => 3.10 2023-01-20 22:30 kre Note Added: 0006122 2023-01-20 22:36 kre Note Added: 0006123 2023-01-20 22:38 kre Note Edited: 0006123 2023-02-09 17:08 nick Relationship added related to 0001050 2023-02-09 17:09 geoffclare Project Online Pubs => 1003.1(2016/18)/Issue7+TC2 2023-02-13 17:19 geoffclare Note Added: 0006149 2023-02-18 20:33 mirabilos Note Added: 0006156 2023-02-24 10:03 geoffclare Note Added: 0006171 2023-02-24 12:24 hvd Note Added: 0006172 2023-02-24 12:25 hvd Note Edited: 0006172 2023-02-24 13:45 geoffclare Note Added: 0006173 2023-02-24 14:05 ormaaj Note Added: 0006174 ======================================================================