bug-bash
[Top][All Lists]
Advanced

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

Re: param expansion with single-character special vars in the environmen


From: Grisha Levit
Subject: Re: param expansion with single-character special vars in the environment
Date: Thu, 28 Apr 2016 17:20:41 -0400


On Thu, Apr 28, 2016 at 3:14 PM, Piotr Grzybowski <address@hidden> wrote:
 b. we can forbid
   # declare -n T
   when T is a readonly variable

This is the one that makes the most sense to me.  It shouldn't however be forbidden to do `declare -nr RO=foo' if RO is not already a readonly variable.

This feels similar to the restriction that forbids removing the readonly attribute from a readonly variable.

reply via email to

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