The GNU Bourne-Again SHell - Patches: patch #10162, Minor changes to help until, while...
You are not allowed to post comments on this tracker with your current authentication level.
patch #10162: Minor changes to help until, while message.
Submitter: | Paxsali <paxsali> | ||
Submitted: | Sun 19 Dec 2021 05:44:54 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | Done | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2021-12-21 | chet | Status | None | Done |
Powered by Savane 3.13-bb6a.
Corresponding source code
Hi all,
I noticed a minor inconsistency in the help messages of until and while.
Comparing both of them directly with the help message for if one notices quickly that the if help message clearly distinguished between three different occurrences of COMMANDS.
The full syntax for if being:
In contrast to if, here are the syntaxes of until and while:
until:
while:
Both have two occurrences of COMMANDS, however their help messages aren't 100% clear which one's are meant and can potentially be mixed up or misunderstood.
You and I know how it's meant, ofc. But I'm not sure this is the best way to explain what it does to other people.
I think the following wording might be better and I'd like to put it up for discussion:
until:
while:
patch:
I believe above wording will be more accessible for beginners while still being correct.
This is a very minor change.
Thanks for discussing in advance.
PS:
the patch above deliberately only consideres the file builtins/reserved.def, not all the other occurences under po/<language>.{po,pot}.
Since I don't understand how they're all related or generated, I thought it's enough to just mention this for anyone who does understand it.