From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 585 invoked from network); 23 Sep 1999 01:51:49 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Sep 1999 01:51:49 -0000 Received: (qmail 20989 invoked by alias); 23 Sep 1999 01:39:34 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8009 Received: (qmail 20981 invoked from network); 23 Sep 1999 01:39:33 -0000 To: zsh-workers@sunsite.auc.dk Subject: Re: Chatty little precompiler for _arguments References: <199909200843.KAA06289@beta.informatik.hu-berlin.de> MIME-Version: 1.0 (generated by AKEMI 1.13.2 - =?ISO-2022-JP?B?Ig==?= =?ISO-2022-JP?B?GyRCQTA0Y0s8GyhCIg==?=) Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira 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)" Message-ID: User-Agent: Chao-gnus/6.12.5 AKEMI/1.13.2 (=?ISO-2022-JP?B?GyRCQTAbKEI=?= =?ISO-2022-JP?B?GyRCNGNLPBsoQg==?=) FLAM-DOODLE/1.12.6 (=?ISO-2022-JP?B?GyRCM3cbKEI=?= 10R4.0/5.0) Emacs/20.4 (sparc-sun-solaris2.6) MULE/4.0 (HANANOEN) In article <199909200843.KAA06289@beta.informatik.hu-berlin.de>, Sven Wischnowsky 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