View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001553 | 1003.1(2016/18)/Issue7+TC2 | Shell and Utilities | public | 2022-01-17 03:05 | 2024-06-11 09:07 |
Reporter | andras_farkas | Assigned To | |||
Priority | normal | Severity | Editorial | Type | Error |
Status | Closed | Resolution | Accepted As Marked | ||
Name | Andras Farkas | ||||
Organization | |||||
User Reference | |||||
Section | find | ||||
Page Number | |||||
Line Number | |||||
Interp Status | --- | ||||
Final Accepted Text | 0001553:0005759 | ||||
Summary | 0001553: find has two references to -n option that should be about -name | ||||
Description | On: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/find.html There are two references to an "-n option" that should be "-name primary" > Determine the locale for the behavior of ranges, equivalence classes, and multi-character collating elements used in the pattern matching notation for the -n option and in the extended regular expression defined for the yesexpr locale keyword in the LC_MESSAGES category. > This variable determines the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as opposed to multi-byte characters in arguments), the behavior of character classes within the pattern matching notation used for the -n option, and the behavior of character classes within regular expressions used in the extended regular expression defined for the yesexpr locale keyword in the LC_MESSAGES category. This error is also in previous versions of the standard. They should instead say "-name primary". It is quite possible that "-n option" should be changed to "-name and -path primaries" instead. Should LC_COLLATE and LC_MESSAGES also apply to -path? | ||||
Desired Action | Change > Determine the locale for the behavior of ranges, equivalence classes, and multi-character collating elements used in the pattern matching notation for the -n option and in the extended regular expression defined for the yesexpr locale keyword in the LC_MESSAGES category. to: Determine the locale for the behavior of ranges, equivalence classes, and multi-character collating elements used in the pattern matching notation for the -name primary and in the extended regular expression defined for the yesexpr locale keyword in the LC_MESSAGES category. Change: > This variable determines the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as opposed to multi-byte characters in arguments), the behavior of character classes within the pattern matching notation used for the -n option, and the behavior of character classes within regular expressions used in the extended regular expression defined for the yesexpr locale keyword in the LC_MESSAGES category. to This variable determines the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as opposed to multi-byte characters in arguments), the behavior of character classes within the pattern matching notation used for the -name primary, and the behavior of character classes within regular expressions used in the extended regular expression defined for the yesexpr locale keyword in the LC_MESSAGES category. | ||||
Tags | tc3-2008 |
related to | 0001031 | Closed | 1003.1(2013)/Issue7+TC1 | Add -iname (case-insensitive name search) to the find utility. |
|
These problems have been fixed in the Issue 8 drafts as a side-effect of adding the -iname primary. See bug 0001031. The are two options for handling this new bug: 1. Close it as a dup of 1031. 2. Resolve it with the same change that was made in 1031 but omitting -iname, and tag it tc3-2008. Effectively the only difference between these options is what would happen in the unlikely event that we end up doing a TC3. |
|
I see: thanks for pointing out bug 1031 to me. I'd prefer the 2nd option, myself, for I feel bug fixes are generally useful. |
|
On page 2800 line 92074 (XCU section find (LC_COLLATE)), change:used in the pattern matching notation for the -n optionto: used in the pattern matching notation for the -name and -path primaries On page 2800 line 92079 (XCU section find (LC_CTYPE)), change: within the pattern matching notation used for the -n optionto: within the pattern matching notation used for the -name and -path primaries Note to the editor: this does not need to be merged into the Issue 8 branch as it has already been fixed there. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-01-17 03:05 | andras_farkas | New Issue | |
2022-01-17 03:05 | andras_farkas | Name | => Andras Farkas |
2022-01-17 03:05 | andras_farkas | Section | => find |
2022-01-17 10:00 | geoffclare | Note Added: 0005614 | |
2022-01-17 10:00 | geoffclare | Relationship added | related to 0001031 |
2022-01-17 18:42 | andras_farkas | Note Added: 0005618 | |
2022-03-24 16:00 | geoffclare | Note Added: 0005759 | |
2022-03-24 16:01 | geoffclare | Interp Status | => --- |
2022-03-24 16:01 | geoffclare | Final Accepted Text | => 0001553:0005759 |
2022-03-24 16:01 | geoffclare | Status | New => Resolved |
2022-03-24 16:01 | geoffclare | Resolution | Open => Accepted As Marked |
2022-03-24 16:01 | geoffclare | Tag Attached: tc3-2008 | |
2022-05-19 08:41 | geoffclare | Status | Resolved => Applied |
2024-06-11 09:07 | agadmin | Status | Applied => Closed |