Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How sensible is ... ?
- X-seq: zsh-workers 4901
- From: Phil Pennock <comet@xxxxxxxx>
- To: Zsh Development Workers <zsh-workers@xxxxxxxxxxxxxxx>
- Subject: Re: How sensible is ... ?
- Date: Wed, 13 Jan 1999 17:02:27 +0000
- In-reply-to: <990113081146.ZM17374@xxxxxxxxxxxxxxxxxxxxxxx>; from "Bart Schaefer" on Wed 13 Jan 1999 (8:11 -0800)
- Mail-followup-to: Zsh Development Workers <zsh-workers@xxxxxxxxxxxxxxx>
- Organisation: Organisation? Here? No, over there ---->
- References: <19990113102626.A6200@xxxxxxxx> <19990113110951.A6955@xxxxxxxx> <9901131117.AA60050@xxxxxxxxxxxxxxxxx> <19990113120153.A7542@xxxxxxxx> <9901131245.AA35423@xxxxxxxxxxxxxxxxx> <990113081146.ZM17374@xxxxxxxxxxxxxxxxxxxxxxx>
Typing away merrily, Bart Schaefer produced the immortal words:
> I don't have ksh handy, but `foo=bar;local foo` in bash produces the error
> message "bash: local: can only be used in a function" unless you are in a
> function, in which case it produces nothing.
On SunOS 5.5.1 ksh that is accepted at top level.
No error.
--
--> Phil Pennock ; GAT d- s+:+ a23 C++(++++) UL++++/I+++/S+++/H+ P++@ L+++
E-@ W(+) N>++ o !K w--- O>+ M V !PS PE Y+ PGP+ t-- 5++ X+ R !tv b++>+++ DI+ D+
G+ e+ h* r y?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author