Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Chatty little precompiler for _arguments
- X-seq: zsh-workers 8009
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Chatty little precompiler for _arguments
- Date: 23 Sep 1999 10:39:25 +0900
- In-reply-to: Sven Wischnowsky's message of "Mon, 20 Sep 1999 10:43:51 +0200 (MET DST)"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <199909200843.KAA06289@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
In article <199909200843.KAA06289@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:
> I would be against this because its much less useful in cases where
> you stuff together string from multiple parameters. However, in its
> first life `:q' did that and we could use the doubled-flag convention
> so that `${(qq)foo}' would emit stuff in single quotes. (Tripled for
> double quotes?)
I found a problem about quoting.
Z(2):akr@is27e1u11% Src/zsh -f
is27e1u11% a=$'\n\n\n\n\n\n'
is27e1u11% print -lr - ${(q)a}
zsh: segmentation fault (core dumped) Src/zsh -f
Also I suppose that `${(qqqq)foo}' should quote foo in $'...' style.
# I really want this because I frequently use dangeraous characters
# such as NUL.
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author