Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
local/typeset stupidity
- X-seq: zsh-users 8303
- From: Nikolai Weibull <mailing-lists.zsh-users@xxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: local/typeset stupidity
- Date: Mon, 20 Dec 2004 12:20:26 +0100
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Why the <profanity> doesn't local work like one would expect? If i
write
func () {
local s="..."
}
then I don't expect zsh to respond with
func:local:1: not valid in this context: 100
right? Even with
setopt typesetsilent # (how can't this be the default?)
this bitches at me.
local s; s="..."
works fine, though, even with typesetsilent off. I'm nonplused by
this...
nikolai
--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author