[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Re: how to start in "overwrite-mode"

From: Chet Ramey
Subject: Re: [OT] Re: how to start in "overwrite-mode"
Date: Wed, 28 Oct 2009 09:00:59 -0400

> zle-line-init() zle overwrite-mode
> zle -N zle-line-init
> To get back on topic, bash is the only Bourne-like shell that I
> know that doesn't allow that function definition syntax above,
> I've always wondered why.

The Posix grammar has never allowed it (a `function_body' must be a
compound command, and that's what bash implements), and there has
never been sufficient demand to add it as an extension. 


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]