Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Chatty little precompiler for _arguments
- X-seq: zsh-workers 8031
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Chatty little precompiler for _arguments
- 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)"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <199909231028.MAA24049@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
In article <199909231028.MAA24049@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author