Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ${...%%=*} problem
- X-seq: zsh-workers 14781
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: ${...%%=*} problem
- Date: Thu, 7 Jun 2001 09:02:20 +0200 (MET DST)
- In-reply-to: <000601c0ef1c$fa138580$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Andrej Borsenkow wrote:
> bor@itsrm2% print ${foo%%=*}
> zsh: * not found
>
> Why?
Because it does expansion, include the one after an equal sign:
% echo =*
zsh: * not found
Yeah, I know, this seems silly, and I had to learn that the hard way,
too (when starting with the completion system I sometimes forgot to
quote that `=' with a backslash...).
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author