Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <vlf7ph$19b4m$1@dont-email.me>
Deutsch   English   Français   Italiano  
<vlf7ph$19b4m$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups: comp.unix.shell
Subject: Re: An interesting little quirk - difference between "bash" and
 "dash" (Linux)
Date: Mon, 6 Jan 2025 01:23:11 +0100
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <vlf7ph$19b4m$1@dont-email.me>
References: <vldshb$2jmh6$1@news.xmission.com>
 <slrnvnlqqf.esd.naddy@lorvorc.mips.inka.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 06 Jan 2025 01:23:14 +0100 (CET)
Injection-Info: dont-email.me; posting-host="6777d06973de0b590fb8533f9ecd101b";
	logging-data="1354902"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/X7iua/uU98xi02FzCDXGT"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.8.0
Cancel-Lock: sha1:g6UuyCo0X7PUwCNxTnimzNfDHS0=
In-Reply-To: <slrnvnlqqf.esd.naddy@lorvorc.mips.inka.de>
X-Enigmail-Draft-Status: N1110
Bytes: 1788

On 05.01.2025 21:27, Christian Weisgerber wrote:
> 
> Surprisingly, "local" isn't part of the POSIX shell language at all.
> 
> [...]
> 
> Is there any POSIX-y shell that does not implement "local"?

In Kornshell variable-attributes/properties are regularly specified
using 'typeset' and thus the 'typeset' keyword is also used to create
function-"local" variables.

There's no 'local' keyword in Kornshell, and there's also no alias of
that name defined for 'typeset'[*].

Janis

[*] As opposed to the predefined aliases
nameref='typeset -n'
integer='typeset -i'
float='typeset -E'
etc.