From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7102 invoked from network); 19 Apr 2004 10:20:09 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 19 Apr 2004 10:20:09 -0000 Received: (qmail 13525 invoked by alias); 19 Apr 2004 10:20:01 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19794 Received: (qmail 13504 invoked from network); 19 Apr 2004 10:20:00 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 19 Apr 2004 10:20:00 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 19 Apr 2004 10:20:0 -0000 Received: (qmail 12207 invoked from network); 19 Apr 2004 10:20:00 -0000 Received: from mail36.messagelabs.com (193.109.254.211) by a.mx.sunsite.dk with SMTP; 19 Apr 2004 10:19:53 -0000 X-VirusChecked: Checked X-Env-Sender: okiddle@yahoo.co.uk X-Msg-Ref: server-13.tower-36.messagelabs.com!1082369962!5565991 X-StarScan-Version: 5.2.10; banners=-,-,- X-Originating-IP: [158.234.9.163] Received: (qmail 28604 invoked from network); 19 Apr 2004 10:19:25 -0000 Received: from iris.logica.co.uk (158.234.9.163) by server-13.tower-36.messagelabs.com with SMTP; 19 Apr 2004 10:19:25 -0000 Received: from trentino.logica.co.uk ([158.234.142.61]) by iris.logica.co.uk (8.12.3/8.12.3/Debian -4) with ESMTP id i3JAJMMO009150 for ; Mon, 19 Apr 2004 11:19:22 +0100 Received: from trentino.logica.co.uk (localhost [127.0.0.1]) by trentino.logica.co.uk (Postfix) with ESMTP id 8ED1D791B8FA for ; Mon, 19 Apr 2004 12:18:37 +0200 (CEST) X-VirusChecked: Checked X-StarScan-Version: 5.0.7; banners=.,-,- In-reply-to: <1040419001434.ZM9151@candle.brasslantern.com> From: Oliver Kiddle References: <1040410174430.ZM10891@candle.brasslantern.com> <1170.1081778412@athlon> <040412085942.ZM19035@candle.brasslantern.com> <3571.1081806187@athlon> <1040413053826.ZM20012@candle.brasslantern.com> <18035.1081870188@trentino.logica.co.uk> <1040413175111.ZM21011@candle.brasslantern.com> <13987.1082134179@trentino.logica.co.uk> <1040416173016.ZM1145@candle.brasslantern.com> <11049.1082231519@athlon> <1040419001434.ZM9151@candle.brasslantern.com> To: zsh-workers@sunsite.dk Subject: Re: PATCH: Re: Compsys and KSH_AUTOLOAD Date: Mon, 19 Apr 2004 12:18:37 +0200 Message-ID: <4175.1082369917@trentino.logica.co.uk> X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 Bart wrote: > > "cvs annotate" says I committed the firet-ever revision of this, which > included that test, but I'm afraid I don't remember why "declare" does > not support -m unless it's "just in case" bash's declare later starts > taking a -m option and we wanted to reserve it for future compatibility. declare not accepting -m goes back to before the mailing list archives so unless you have older archives, it won't be easy to find out. My suspicion is that it was an oversight when -m was added but it may have been bash compatibility. The oldest list of declare options I see in the mailing list is "LRUZfilrtux" (workers/1966). -U is the one non-ksh[1] option in there (bash has fewer but ksh options may have been considered safe). We've added a good few more since. -F is even incompatible with bash and that's ksh93 too. So I really don't see much harm in adding -m to declare's options. Or do you disagree? Oliver [1] ksh88 or 93. -U is unsigned integer in pdksh