Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: a few question about named reference
- X-seq: zsh-workers 51941
- From: Jun T <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: a few question about named reference
- Date: Sun, 16 Jul 2023 14:09:56 +0900
- Archived-at: <https://zsh.org/workers/51941>
- In-reply-to: <CAH+w=7bT_i8K+znzeJHNGohqw8evVmgGxcrjkC6gNyR8Emq5tg@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <083477A3-A5D3-49B1-BF6F-D148C6BCAA54@kba.biglobe.ne.jp> <CAH+w=7bT_i8K+znzeJHNGohqw8evVmgGxcrjkC6gNyR8Emq5tg@mail.gmail.com>
> 2023/07/13 15:12、Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>のメール:
>
> On Wed, Jul 12, 2023 at 9:06 PM Jun T <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:
>> [2] readonly named reference
>>
>> So we can't remove the readonly attribute (and will not be able
>> to remove/unset it). Is this intentional?
>
> Yes, that's how it works in ksh.
With ksh (Version AJM 93u+m/1.0.4 2022-10-22):
$ typeset -n -r ref=i
ksh: typeset: -n cannot be used with other options except -g
But it's OK if it is intentional.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author