Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: Compsys and KSH_AUTOLOAD
- X-seq: zsh-workers 19794
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: Re: Compsys and KSH_AUTOLOAD
- Date: Mon, 19 Apr 2004 12:18:37 +0200
- In-reply-to: <1040419001434.ZM9151@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <1040410174430.ZM10891@xxxxxxxxxxxxxxxxxxxxxxx> <1170.1081778412@athlon> <040412085942.ZM19035@xxxxxxxxxxxxxxxxxxxxxxx> <3571.1081806187@athlon> <1040413053826.ZM20012@xxxxxxxxxxxxxxxxxxxxxxx> <18035.1081870188@xxxxxxxxxxxxxxxxxxxxx> <1040413175111.ZM21011@xxxxxxxxxxxxxxxxxxxxxxx> <13987.1082134179@xxxxxxxxxxxxxxxxxxxxx> <1040416173016.ZM1145@xxxxxxxxxxxxxxxxxxxxxxx> <11049.1082231519@athlon> <1040419001434.ZM9151@xxxxxxxxxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author