Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Defining commands to not evaluate certain metacharacters
- X-seq: zsh-users 6949
- From: Philippe Troin <phil@xxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Defining commands to not evaluate certain metacharacters
- Date: 21 Dec 2003 20:29:14 -0800
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <1031221065317.ZM3399@xxxxxxxxxxxxxxxxxxxxxxx>
- Mail-copies-to: nobody
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <m3y8t7jpv5.fsf@xxxxxxxxxx> <1031221013206.ZM3220@xxxxxxxxxxxxxxxxxxxxxxx> <87fzffvtk5.fsf@xxxxxxxxxxxxxxxx> <1031221065317.ZM3399@xxxxxxxxxxxxxxxxxxxxxxx>
- Sender: Philippe Troin <phil@xxxxxxxx>
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> writes:
> On Dec 20, 5:38pm, Philippe Troin wrote:
> }
> } How hard would it be implementing a "noparse" precommand modifier?
>
> What does "noparse" mean? It's got to begin parsing before it can
> recognize a precommand modifier. Even splitting into words at whitespace
> is parsing, of a sort.
>
> Do backslashes still work? What about quotes of various flavors? Care
> to predict every possible question of this kind that I might ask?
I have no clue how it would work. I've just said I felt the need for
such a thing at some point, namely while trying to avoid quoting when
using zmv.
> If there isn't _some_ syntax, you're just using "cat" as your shell; the
> input can't be processed in any useful way.
>
> If you want to be able to define your own arbitrary syntax, you need a
> language-definition language (like a YACC grammar). How hard would it
> be to implement that?
Let's not put yacc into zsh (yet).
Phil.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author