bug-bash
[Top][All Lists]
Advanced

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

declare +attribute in help


From: Dennis Williamson
Subject: declare +attribute in help
Date: Wed, 29 Jun 2022 13:50:36 -0500

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
like:

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


-- 
Visit serverfault.com to get your system administration questions answered.


reply via email to

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