Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Can zsh `else` reserved keyword command be aliased and the lexem itself be repurposed as `fi` keyword command?

Le 30/12/2017 à 02:07, Bart Schaefer a écrit :
On Fri, Dec 29, 2017 at 3:45 PM, Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
Mathieu wants execution to begin as soon as there is
some code in the buffer, without waiting for the final keyword to
Where odes this quote come from, it seems I missed a message. Did someone replied to "zsh-workers@"?

Not-so-incidentally, the fact that zsh does NOT do this is one of the
primary reasons that zsh exists at all.  Paul Falstad found it
distasteful that csh DOES that, and set out to create a shell that had
the interactive advantages of csh while preserving the separation of
parse and execution as found in sh and ksh.
I was, of course, completely unaware of that. I would be interested with more technical details if you could provide me some links.

And, just for memory, forcing execution at some explicit point is not my goal, but just a possible mean I considered to bypass the lake of a "keyword" reserved-keyword-command, similar to `command` and `builtin`. Implenting such a thing wouldn't require de abandon the separation of parse and execution, would it?


Messages sorted by: Reverse Date, Date, Thread, Author