From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 57 invoked by alias); 26 Feb 2015 15:16:37 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19927 Received: (qmail 21602 invoked from network); 26 Feb 2015 15:16:34 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 X-AuditID: cbfec7f5-b7fc86d0000066b7-dc-54ef383aa64f Date: Thu, 26 Feb 2015 15:16:10 +0000 From: Peter Stephenson To: zsh-users@zsh.org Subject: Re: [KEYWORD?] end() Message-id: <20150226151610.38761d47@pwslap01u.europe.root.pri> In-reply-to: References: Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrCLMWRmVeSWpSXmKPExsVy+t/xa7pWFu9DDNYfFbXYcXIlowOjx6qD H5gCGKO4bFJSczLLUov07RK4Muac28lesJC14un2aYwNjH0sXYycHBICJhLHmo+xQ9hiEhfu rWfrYuTiEBJYyiixZfM+KGcRk8SJs8fYQKqEBLYxSvQerQSxWQRUJZ6d2ssMYrMJGEpM3TSb EcQWERCVWL5iM9hUYQFZib4zn8FqeAXsJRZubWYFsTkFgiVur1zL1MXIATQzQOLa8wKQML+A vsTVv5+YIA6yl5h55QwjRKugxI/J98COZhbQkti8rYkVwpaX2LzmLTPEaeoSN+7uZp/AKDQL ScssJC2zkLQsYGRexSiaWppcUJyUnmukV5yYW1yal66XnJ+7iRESsl93MC49ZnWIUYCDUYmH d4bq2xAh1sSy4srcQ4wSHMxKIrzChu9DhHhTEiurUovy44tKc1KLDzEycXBKNTCqrdL79Wb/ 11V28w/evLdRZM/lOfJur+M/L9zGcsXQ+BLj4vQbUyyZV9hdZf7U766/7Mgpo4hbbhX/49de PDPJqf5CUGPiJfcPruHX0tY/zK4tWb1I9x5DUazlYuY3NZFub0QOb/rCfkXPNCbxx7lbuRzt ZUnG8df/60/qUKx0MldY8fck1wF/JZbijERDLeai4kQAGrw4UTcCAAA= On Thu, 26 Feb 2015 15:15:50 +0100 toki clover wrote: > I'm just having an issue defining a simple end() function, > zsh throws a parsing error... which doesn't come up when > renaming the function name e.g End. > > Any idea on this? > > Googled quickly this to no avail and now I am looking for > any special treatment of 'end' keyword in zshmisc(1). You're looking in the right place, the information's in there if you look far enough. "end" is used by csh-style syntax, which isn't really recommended any more. You can disable the keyword: disable -r end ('r' for reserved word) without any further problems. pws