Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug with parameter expansion
- X-seq: zsh-workers 8567
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Bug with parameter expansion
- Date: 05 Nov 1999 23:52:25 +0900
- In-reply-to: Sven Wischnowsky's message of "Fri, 5 Nov 1999 13:51:14 +0100 (MET)"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <199911051251.NAA03010@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
In article <199911051251.NAA03010@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:
> Hm. As far as I know, even though `=' is in `SPECCHARS', it is only
> special if it is at the beginning of a word. So the patch makes it be
> quoted only then.
It's also special just after colon or equal when magicequalsubst is
set.
Z:akr@is27e1u11% Src/zsh -f
is27e1u11% echo :=echo
:=echo
is27e1u11% echo a==echo
a==echo
is27e1u11% setopt magicequalsubst
is27e1u11% echo :=echo
:/bin/echo
is27e1u11% echo a==echo
a=/bin/echo
is27e1u11%
Maybe, `~' should be treated as `='?
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author