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-18 20:33 UTC ====================================================================== Summary: Alias names ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- related to 0001050 Add support for the hyphen character in... ======================================================================
---------------------------------------------------------------------- (0006156) mirabilos (reporter) - 2023-02-18 20:33 https://austingroupbugs.net/view.php?id=1630#c6156 ---------------------------------------------------------------------- I honestly don’t remember any more :| The last mention of this is from March 2020: | allow ‘+’ in alias names (just not as first character, like ‘-’) mksh’s getopt has + and - as flag starters both, hence handling them the same. The last change of “valid characters in alias names” before that was in April 2017 (: and [ but not exactly "[[")… and shortly before, - was re-added but not as first character (after we had stripped the list down to what POSIX said at that time). That was shortly before that, and I *think* it was done in response to some user or researcher (Stéphane Chazelas is good at doing so) finding some issue with allowing “too much” in alias names. So, sorry, I don’t recall details after five years. I do appreciate the note asking applications not to do it; I’d appreciate it even more if an alias name beginning with [+-] could have implementation-specified behaviour (so I could continue rejecting them) but I understand if you’re reluctant to do so on the vague amount of reason I can give. 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 ======================================================================