Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: array-=$value ?
- X-seq: zsh-workers 22636
- From: Matthias Kopfermann <matthi@xxxxxxxxxxxxxxxxx>
- To: Zsh-Workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: array-=$value ?
- Date: Sun, 20 Aug 2006 15:28:47 +0200
- In-reply-to: <20060820070150.GB27688@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20060820070150.GB27688@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Am Sonntag, dem 20. August 2006 um 09:01 Uhr, Matthias Kopfermann:
> A question i was not able to answer myself:
> array=( a b c d e)
> array+=f # works
> array-=a # does not work, but why exactly?
Ah, I guess, it's because then it should really delete the
last value and then in this case -=a would do something non
obvious to stay analogue to +=d.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author