[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: declare +attribute in help

From: Chet Ramey
Subject: Re: declare +attribute in help
Date: Thu, 30 Jun 2022 10:11:54 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0

On 6/29/22 2:50 PM, Dennis Williamson wrote:
In help declare it says:

     Using `+' instead of `-' turns off the given attribute.

In the Bash man page it says:

     Using `+' instead of `-' turns off the attribute instead, with the
exceptions that +a and +A may not be used  to  destroy  array variables and
+r will not remove the readonly attribute.

The help text needs to be updated to reflect this limitation. Something

     Using `+' instead of `-' turns off the given attribute except for a, A
and r.

Thanks for the report. I'll change this after bash-5.2 is released; I'm not
making more work for the translators when we're already into release

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]