bug-bash
[Top][All Lists]
Advanced

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

Re: $* vs ${ARRAY[*]} differences in some parameter expansions


From: Chet Ramey
Subject: Re: $* vs ${ARRAY[*]} differences in some parameter expansions
Date: Sat, 25 Feb 2017 20:49:07 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.1

On 2/24/17 5:59 PM, Grisha Levit wrote:
> bash currently handles all parameter expansions with $* and $@ as described
> in interpretation 888, and the behavior when using an array subscripted
> with @ matches identically the behavior of the examples concerning 
> address@hidden 
> However, the behavior when using an array subscripted with * does not
> always match the behavior of the examples concerning $*.

Thanks for the report.  I'll see what I can do about that, since the two
are supposed to behave identically.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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