Herbert, this is clearly [1], the old versions had a bug.

If you want to rename a variable use typeset -m, e.g. typeset -m
newname=oldname.

Olga

On Tue, Aug 2, 2011 at 7:52 PM, Herbert van den Bergh
<[email protected]> wrote:
>
> David,
>
> What is your position on this change in behavior?
>
> 1. The ksh-93s behavior is a bug, and it is fixed in the latest versions,
>
> or
>
> 2. the old behavior is the desired behavior, and the new versions have a
> bug.
>
> Thanks,
> Herbert.
>
>
> On 07/28/2011 08:25 AM, Herbert van den Bergh wrote:
>>
>> On 7/28/11 6:46 AM, David Korn wrote:
>>>>
>>>> It looks like typeset -u -n used to work in 93s, but has been broken
>>>> since 93t.  Is this expected, or a bug?
>>>>
>>>>
>>>
>>> Did you mean
>>>    typeset -u -i
>>> for unsigned integer?  The -n option means name reference and doesn't
>>> work with other options.
>>
>> No, I meant typeset -u -n.  As you can see in the example, it did work in
>> previous ksh versions.  It converts the referenced name to uppercase.  Any
>> particular reason this behavior was removed?
>>
>> Thanks,
>> Herbert.
>> _______________________________________________
>> ast-developers mailing list
>> [email protected]
>> https://mailman.research.att.com/mailman/listinfo/ast-developers
>
> _______________________________________________
> ast-developers mailing list
> [email protected]
> https://mailman.research.att.com/mailman/listinfo/ast-developers
>



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     [email protected]   \-`\-'----.
 `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
      /\/\     Solaris/BSD//C/C++ programmer   /\/\
      `--`                                      `--`

_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to