Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: requests
- X-seq: zsh-workers 14049
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Michal Politowski <mpol@xxxxxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Subject: Re: requests
- Date: Fri, 20 Apr 2001 03:04:51 +0000
- In-reply-to: <20010419170014.B1824@xxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20010414202410.A10021@xxxxxxxx> <1010415032859.ZM27364@xxxxxxxxxxxxxxxxxxxxxxx> <20010419170014.B1824@xxxxxxxxxxxxxxxxxxxx>
On Apr 19, 5:00pm, Michal Politowski wrote:
} Subject: Re: requests
}
} So, do I understand correctly that changing (r) to behave as I'd like
} could be rather difficult for the expected benefits (especially as
} there is the (q) workaround (at least for arrays at the moment))?
Yes, you understand correctly.
And I later discovered (in the course of fixing it) that the problem with
$scalar[(r)${(q)pattern}] occurs only if $pattern ends with a `*'.
} ${param#foo*$bar} treating the $bar differently than
} ${param[(r)foo*$bar]} is rather surprising for the casual user
If that's the only thing about zsh that surprises a casual user, we're in
better shape than I thought. :-)
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author