|
From: | Chet Ramey |
Subject: | Re: It is possible to remove the readonly attribute from {BASH, SHELL}OPTS |
Date: | Fri, 16 Feb 2024 15:31:36 -0500 |
User-agent: | Mozilla Thunderbird |
On 2/16/24 12:14 PM, Grisha Levit wrote:
Let's say we take the approach of restricting attribute changes on readonly variables to export/trace/local. Should it be an error to attempt to set other attributes (it already is with nameref), or should declare silently ignore it?I think an error (probably just the usual sh_readonly one) would be good.
I agree. -- ``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/
OpenPGP_signature.asc
Description: OpenPGP digital signature
[Prev in Thread] | Current Thread | [Next in Thread] |