View Issue Details

IDProjectCategoryView StatusLast Update
00019461003.1(2024)/Issue8Base Definitions and Headerspublic2025-09-18 16:29
Reportercalestyo Assigned To 
PrioritylowSeverityEditorialTypeClarification Requested
Status NewResolutionOpen 
NameChristoph Anton Mitterer
Organization
User Reference
Section5 or 7.3
Page Number113 or 129
Line Number3513, ff. or 4157-4162
Interp Status
Final Accepted Text
Summary0001946: do locale definition file global keywords allow 1-n blanks after the keyword or does it have to be 1 space
DescriptionHey.

Merely a cosmetic issue:

The
  "comment_char %c\n", <comment character>
and
  "escape_char %c\n", <escape character>
(as well as perhaps their analogues in Character Set Description File)
look just like the syntax format defined in 5 File Format Notation:
   "<format>", [<arg1>, <arg2>,..., <argn>]
where " " is one or more blanks and ∆ is exactly one space.

However, it doesn't seem to me as if that format is defined to also apply to e.g. 7.3 Locale Definition

So AFAICS, it's not really clear here, whether the escape_char keyword and friends need to be followed by a single space, or whether multiple blanks are allowed.

PS: I don't want to open separate issues about these (as they're not really issues, IMO):
1) Maybe it should be mention that ISO/IEC TR 14652 goes beyond what POSIX specifies, not only in terms of more categories but also in adding keywords to existing ones and even extending the definitions of existing keywords (like "abday" and "day" where POSIX always starts with Sunday, but the TR not necessarily)
2) Throughout the whole standard there are symbols like: _POSIX2_LOCALEDEF, where however also a form without the leading _ is used.
Maybe I got it wrong, but I thought the symbol is always *with* the leading _ and just some utilities also accept the name without? If so, there would be some places where the standard still talks about `symbol foo` where `foo` has no leading _.
Desired ActionClarify the above :-)
TagsNo tags attached.

Activities

geoffclare

2025-09-18 16:29

manager   bugnote:0007270

On the leading underscore thing, you are probably thinking of getconf, which is required to accept some of these symbols without the leading underscore for backwards compatibility.

Issue History

Date Modified Username Field Change
2025-09-13 02:27 calestyo New Issue
2025-09-18 16:29 geoffclare Note Added: 0007270