Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zparseopts (Re: PATCH: _urls and _rpm)
- X-seq: zsh-workers 11767
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: zparseopts (Re: PATCH: _urls and _rpm)
- Date: Tue, 6 Jun 2000 09:15:30 +0200 (MET DST)
- In-reply-to: "Bart Schaefer"'s message of Tue, 6 Jun 2000 04:08:13 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> ...
>
> What I can't decide is whether I like the behavior of emptying the array
> when no matching option is found. E.g. sometimes I think I'd like to be
> able to say
>
> glob=(-g '*(^/)')
> zparseopts -D -E g:=glob
>
> and have $glob be unchanged unless a -g really was given. Then I think
> about it some more and decide maybe not. Then I think about it some more
> and ...
<Grin> I once had that, then took it out again, then put it in again,
then...
Should we add an option for this?
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author