Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How sensible is ... ?



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