From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10892 invoked from network); 23 Sep 1999 15:12:50 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Sep 1999 15:12:50 -0000 Received: (qmail 11766 invoked by alias); 23 Sep 1999 15:12:35 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8034 Received: (qmail 11759 invoked from network); 23 Sep 1999 15:12:34 -0000 From: "Bart Schaefer" Message-Id: <990923151211.ZM26950@candle.brasslantern.com> Date: Thu, 23 Sep 1999 15:12:11 +0000 In-Reply-To: Comments: In reply to Tanaka Akira "Re: Chatty little precompiler for _arguments" (Sep 23, 11:12pm) References: <199909231028.MAA24049@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: Tanaka Akira , zsh-workers@sunsite.auc.dk Subject: Re: Chatty little precompiler for _arguments MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sep 23, 11:12pm, Tanaka Akira wrote: } Subject: Re: Chatty little precompiler for _arguments } } In article <199909231028.MAA24049@beta.informatik.hu-berlin.de>, } Sven Wischnowsky writes: } } > The result is maybe not want one wants exactly, e.g. a NUL is printed } > as `^@' (its the format used by `bindkey'). Is that ok? } } No. I want the form which result of expansion is original string. Well, somebody offline just asked me about implementing "cat -v" entirely within zsh, so I'm actually pretty happy with what Sven did. Although I begin to think that five q might be going a little overboard to add what Tanaka wants as well. Further, with extendedglob, the output of ${(qqqq)...} can't be "eval"d without quoting it yet again, because ^ is a metacharacter. So maybe we should use a different letter -- perhaps ${(v)...} like cat? -- for Sven's (qqqq). -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com