zsh-workers
 help / color / mirror / code / Atom feed
From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Chatty little precompiler for _arguments
Date: 23 Sep 1999 23:12:10 +0900	[thread overview]
Message-ID: <rsqpuz9wwcl.fsf@crane.jaist.ac.jp> (raw)
In-Reply-To: Sven Wischnowsky's message of "Thu, 23 Sep 1999 12:28:16 +0200 (MET DST)"

In article <199909231028.MAA24049@beta.informatik.hu-berlin.de>,
  Sven Wischnowsky <wischnow@informatik.hu-berlin.de> 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


  reply	other threads:[~1999-09-23 14:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-23 10:28 Sven Wischnowsky
1999-09-23 14:12 ` Tanaka Akira [this message]
1999-09-23 15:12   ` Bart Schaefer
1999-09-25  2:53     ` Tanaka Akira
  -- strict thread matches above, loose matches on Subject: below --
1999-09-23 14:07 Sven Wischnowsky
1999-09-23  9:13 Sven Wischnowsky
1999-09-23 13:57 ` Tanaka Akira
1999-09-21  7:15 Sven Wischnowsky
1999-09-20 12:57 Sven Wischnowsky
1999-09-20  8:43 Sven Wischnowsky
1999-09-20 12:15 ` PATCH: was: " Sven Wischnowsky
1999-09-20 16:36   ` Bart Schaefer
1999-09-23  1:39 ` Tanaka Akira
1999-09-19 22:57 Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=rsqpuz9wwcl.fsf@crane.jaist.ac.jp \
    --to=akr@jaist.ac.jp \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).