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
0001443 [1003.1(2016/18)/Issue7+TC2] Base Definitions and Headers Objection Omission 2021-01-19 10:40 2021-01-19 10:40
Reporter geoffclare View Status public  
Assigned To
Priority normal Resolution Open  
Status New  
Name Geoff Clare
Organization The Open Group
User Reference
Section 3.274 Pattern
Page Number 77
Line Number 2224
Interp Status ---
Final Accepted Text
Summary 0001443: Definition of "pattern" omits some uses
Description The definition of "pattern" talks about pathname expansion, but not pathname matching or other uses of shell patterns, such as case statements or the four varieties of parameter expansion that provide for substring processing.

It should talk about shell pattern matching notation the same way it does about regular expression notation, including referring in the small-font note to the section that defines the notation (instead of the current reference to the section about pathname expansion).

The problem extends to the text "as a means of selecting various character strings or pathnames", which only covers a subset of the uses of patterns. It would be best just to omit this part, as the references in the small-font note can be followed to find out more about what each type of pattern is used for. (Although an addition to XCU 2.13 along the lines suggested below would help in this regard.)
Desired Action On page 77 line 2224 section 3.274 Pattern, change:
A sequence of characters used either with regular expression notation or for pathname expansion, as a means of selecting various character strings or pathnames, respectively.
to:
A sequence of characters used either with regular expression notation or with shell pattern matching notation.

On page 77 line 2227 section 3.274 Pattern, change:
See also [xref to XCU 2.6.6 Pathname Expansion].
to:
Shell pattern matching notation is defined in detail in [xref to XCU 2.13 Pattern Matching Notation].

On page 2308 line 74866 section 2.13 Pattern Matching Notation, after:
The pattern matching notation described in this section is used to specify patterns for matching strings in the shell.
add a sentence:
This notation is also used by some other utilities (find, pax, and optionally make) and by some system interfaces (fnmatch(), glob(), and wordexp()).

Tags No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2021-01-19 10:40 geoffclare New Issue
2021-01-19 10:40 geoffclare Name => Geoff Clare
2021-01-19 10:40 geoffclare Organization => The Open Group
2021-01-19 10:40 geoffclare Section => 3.274 Pattern
2021-01-19 10:40 geoffclare Page Number => 77
2021-01-19 10:40 geoffclare Line Number => 2224
2021-01-19 10:40 geoffclare Interp Status => ---


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