A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1564 ====================================================================== Reported By: calestyo Assigned To: ====================================================================== Project: Issue 8 drafts Issue ID: 1564 Category: Shell and Utilities Type: Clarification Requested Severity: Editorial Priority: normal Status: New Name: Christoph Anton Mitterer Organization: User Reference: Section: 2.13 Pattern Matching Notation Page Number: 2351 Line Number: 76099 Final Accepted Text: ====================================================================== Date Submitted: 2022-02-23 01:54 UTC Last Modified: 2022-04-11 13:55 UTC ====================================================================== Summary: clariy on what (character/byte) strings pattern matching notation should work ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- related to 0001561 clarify what kind of data shell variabl... ======================================================================
---------------------------------------------------------------------- (0005796) geoffclare (manager) - 2022-04-11 13:55 https://austingroupbugs.net/view.php?id=1564#c5796 ---------------------------------------------------------------------- Suggested changes... On page 2351 line 76098 section 2.13 Pattern Matching Notation, change:<blockquote>The pattern matching notation described in this section is used to specify patterns for matching strings in the shell.</blockquote>to:<blockquote>The pattern matching notation described in this section is used to specify patterns for matching character strings in the shell.</blockquote> After page 2351 line 76102 section 2.13 Pattern Matching Notation, add a new paragraph:<blockquote>If an attempt is made to use pattern matching notation to match a string that contains one or more bytes that do not form part of a valid character, the behavior is unspecified. Since pathnames can contain such bytes, portable applications need to ensure that the current locale is the C or POSIX locale when performing pattern matching (or expansion) on arbitrary pathnames.</blockquote> Issue History Date Modified Username Field Change ====================================================================== 2022-02-23 01:54 calestyo New Issue 2022-02-23 01:54 calestyo Name => Christoph Anton Mitterer 2022-02-23 01:54 calestyo Section => 2.13 Pattern Matching Notation 2022-02-23 01:54 calestyo Page Number => 2351 2022-02-23 01:54 calestyo Line Number => 76099 2022-02-25 04:57 calestyo Note Added: 0005716 2022-02-25 20:54 mirabilos Note Added: 0005719 2022-03-03 03:37 calestyo Note Added: 0005729 2022-04-07 16:30 geoffclare Relationship added related to 0001561 2022-04-11 13:55 geoffclare Note Added: 0005796 ======================================================================