Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Chatty little precompiler for _arguments
- X-seq: zsh-workers 8034
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Tanaka Akira <akr@xxxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Chatty little precompiler for _arguments
- Date: Thu, 23 Sep 1999 15:12:11 +0000
- In-reply-to: <rsqpuz9wwcl.fsf@xxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <199909231028.MAA24049@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <rsqpuz9wwcl.fsf@xxxxxxxxxxxxxxxxx>
On Sep 23, 11:12pm, Tanaka Akira wrote:
} Subject: Re: Chatty little precompiler for _arguments
}
} 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.
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author