From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8168 invoked from network); 23 Sep 1999 14:12:22 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Sep 1999 14:12:22 -0000 Received: (qmail 6112 invoked by alias); 23 Sep 1999 14:12:17 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8031 Received: (qmail 6104 invoked from network); 23 Sep 1999 14:12:13 -0000 To: zsh-workers@sunsite.auc.dk Subject: Re: Chatty little precompiler for _arguments References: <199909231028.MAA24049@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 23:12:10 +0900 In-Reply-To: Sven Wischnowsky's message of "Thu, 23 Sep 1999 12:28:16 +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 <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. is27e1u11% print -lr - ${(qqqq):-$'\0'} ^@ is27e1u11% should be is27e1u11% print -lr - ${(qqqq):-$'\0'} $'\0' is27e1u11% My expected use is in _regex_arguments. It generate cache file containing zsh function and it validates itself by comparing the arguments between compile time and load time when it is sourced. So the cache file contains NULs because arguments contain NULs. I want to avoid NULs from cache files because it makes viewing (and editing) the file bit hard. -- Tanaka Akira