[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash does filename expansion when assigning to array member in compo
From: |
Chet Ramey |
Subject: |
Re: bash does filename expansion when assigning to array member in compound form |
Date: |
Wed, 29 Aug 2012 16:46:04 -0400 |
> > > That means you can do things like
> > >
> > > [{0,1,2,3}]=foo
> > >
> > > to set the first four elements to the same value
This does work, but only in this context. It's a hard sell to say that
it should work when using compound assignments and not any other time.
I'm inclined to either disable it for consistency's sake or make it
dependent on the compatibility level.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
- Re: bash does filename expansion when assigning to array member in compound form, (continued)
- Re: bash does filename expansion when assigning to array member in compound form, Dan Douglas, 2012/08/18
- Message not available
- Re: bash does filename expansion when assigning to array member in compound form, Gundi Cress, 2012/08/20
- Re: bash does filename expansion when assigning to array member in compound form, Roman Rakus, 2012/08/20
- Re: bash does filename expansion when assigning to array member in compound form, Dan Douglas, 2012/08/20
- Re: bash does filename expansion when assigning to array member in compound form, Chet Ramey, 2012/08/22
- Re: bash does filename expansion when assigning to array member in compound form, Chet Ramey, 2012/08/24
- Re: bash does filename expansion when assigning to array member in compound form, Dan Douglas, 2012/08/29
- Re: bash does filename expansion when assigning to array member in compound form,
Chet Ramey <=
- Re: bash does filename expansion when assigning to array member in compound form, Stephane Chazelas, 2012/08/21
- Re: bash does filename expansion when assigning to array member in compound form, Dan Douglas, 2012/08/21