Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Why this doesn't work in zsh?
- X-seq: zsh-workers 18116
- From: DervishD <raul@xxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: Why this doesn't work in zsh?
- Date: Tue, 14 Jan 2003 18:57:08 +0100
- Cc: Zsh <zsh-workers@xxxxxxxxxx>
- In-reply-to: <25.1042565949@xxxxxxx>
- Mail-followup-to: Peter Stephenson <pws@xxxxxxx>, Zsh <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: Pleyades
- References: <20030114160434.GB1630@DervishD> <25.1042565949@xxxxxxx>
Hi Peter :)
> > It has to work with both bash and zsh, but zsh says, when the
> > assignment is done, '* not found'.
> You can stick a backslash before the =; that works in bash, too, since
> you can quote any character, even if it's not special.
OK, then, that's the solution :)) Thanks a lot :)
> The problem is that it's using path expansion `=prog', but I couldn't
> tell you why it should at that point; in fact, I suspect it shouldn't.
> Hence `setopt noequals' or `setopt nonomatch' would remove the problem,
> if you can live with the side effects.
Yes, the problem is noequals, I discovered after sending the
message. I can live with side effects, of course, but the problem is
that I cannot tell the script users to set appropriate options when
running this on their systems. The better solution is to quote the
character. Thanks a lot :)))
Raúl
Messages sorted by:
Reverse Date,
Date,
Thread,
Author