On 4/28/16 5:20 PM, Grisha Levit wrote:
>
> On Thu, Apr 28, 2016 at 3:14 PM, Piotr Grzybowski <narsil...@gmail.com
> <mailto:narsil...@gmail.com>> 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.
Interesting that ksh93 throws a usage error when presented with that (using
typeset, of course).
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/