Re: POSIX xgettext: -K option description

2022-06-23 Thread Geoff Clare via austin-group-l at The Open Group
Bruno Haible wrote, on 23 Jun 2022:
>
> https://posix.rhansen.org/p/gettext_draft
> Lines 1202..1211
> 
> In line 1164, the argument to the -K option is called 'pattern'.
> 
> Issue: In lines 1202..1211 it is called 'keyword'.
> 
> Suggestion: Use the same term 'pattern' here as well, instead of 'keyword'.
> 
> Rationale: In the 1st, 3rd, and 4th case, it is a misnomer to call the
> argument a "keyword".

I take your point about "keyword" not being appropriate when the
option-argument is an empty string or has a colon and number(s)
after the id. However, "pattern" isn't appropriate either as there
is no pattern matching operation performed.

I would suggest "keyword-spec", and I have put that in for now.

-- 
Geoff Clare 
The Open Group, Apex Plaza, Forbury Road, Reading, RG1 1AX, England



POSIX xgettext: -K option description

2022-06-23 Thread Bruno Haible via austin-group-l at The Open Group
https://posix.rhansen.org/p/gettext_draft
Lines 1202..1211

In line 1164, the argument to the -K option is called 'pattern'.

Issue: In lines 1202..1211 it is called 'keyword'.

Suggestion: Use the same term 'pattern' here as well, instead of 'keyword'.

Rationale: In the 1st, 3rd, and 4th case, it is a misnomer to call the
argument a "keyword".