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: Mon, 2 May 2016 14:59:27 -0400


On Mon, May 2, 2016 at 2:48 PM, Chet Ramey <address@hidden> wrote:
and this one throws away the nameref attribute:

typeset -n foo ; typeset -i foo ; foo=7*6 ; typeset -p foo

I think it's important to note that the nameref attribute is thrown away at the `typeset -i foo' step, which makes some sense since `typeset -n -i' does not seem to be valid in ksh.

reply via email to

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