[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bash-bug
Subject:    Re: $* vs ${ARRAY[*]} differences in some parameter expansions
From:       Chet Ramey <chet.ramey () case ! edu>
Date:       2017-02-26 1:49:07
Message-ID: f5090458-9fdb-dc94-480a-4dcf24147727 () case ! edu
[Download RAW message or body]

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 $@. 
> 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    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic