Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: PATCH: Re: Shell-word splitting (was: Re: Proposed _history completer)
- X-seq: zsh-workers 11115
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "Sven Wischnowsky" <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>, <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: PATCH: Re: Shell-word splitting (was: Re: Proposed _history completer)
- Date: Wed, 3 May 2000 16:38:59 +0400
- Importance: Normal
- In-reply-to: <200005031220.OAA00376@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
>
> Anyway, here's the patch, implementing the (z) flag which makes the
> parameter value be zplitted uzing zsh zhell zyntax. This works a bit
> like the (s) flag (or the `=' before the name) and is done at the very
> end, so to access words resulting from the splitting:
>
Why is it so similar ... is it not the same as was implemented for
copy-prev-shell-word? I mean, in this case c-p-s-w may well be
implemented as pure shell-level widget ... may be, it is not worth it
now ...
The only problem is, what happens if current line is incomplete? That
is, is this modifier useful in widgets that deal with current line?
Suppose, we have something like ``echo "foo '' - what will be the result
of (z) modifier?
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author