bug-bash
[Top][All Lists]
Advanced

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

Re: Is typeset -a broken if I initialize?


From: Steven W. Orr
Subject: Re: Is typeset -a broken if I initialize?
Date: Wed, 31 Mar 2004 08:58:57 -0500 (EST)

On Wednesday, Mar 31st 2004 at 08:37 -0500, quoth Chet Ramey:

=>> Machine Type: i386-redhat-linux-gnu
=>> 
=>> Bash Version: 2.05b
=>> Patch Level: 0
=>> Release Status: release
=>> 
=>> Description:
=>>     If I declare an array using typeset -a and initialize it I get the 
wrong result.
=>>     But if I either do not use typeset or initialize seperately it works 
fine.
=>
=>This was the intended behavior through version 2.05b.  I received enough
=>reports, however, to convince me to change it for the next release.
=>
=>Chet

Thanks for replying. But my question still remains: Why did you do it this 
way in the first place? What was the desired functionality? Your response 
indicates that what is happening was deliberate and not an accident.

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net




reply via email to

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