From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8828 invoked from network); 4 Jan 2022 16:57:37 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 4 Jan 2022 16:57:37 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1641315457; b=URM6HviWsbAf+k/riY7AsIlVA0kVtglFjnJDfOxhNZOLbE7XqR4hnnpHPwWwNTjARcIUINR48h wn6QCOQem1+0OpfU4TAbqC+opMt2Fs1aKTa2xwfursI6vGqPjmzS6lRnmVuiXAHRjDte64Grhj Zk1jzVehLcFuTMeRdGlEO3bs4EOBbgLYSo79YEl+R2bu/AS42i7USz9IqsjYfdV/H7FZg0yPre 8J5xndsU+5oxgRbI104dXi49BjcUSFUqKGiAzBy6LIZEBv2YJ55T6SxzGNfGdlELHdYM9IhaTp 2udifB+OcCV+iWppQJQOFFVZ/v1yQber+5sp/Gc2vI4R8A==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (smtpq1.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.96; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1641315457; bh=yIFPlvrJpWwoJK6+qCwRG4CyV5Dbfd5ufk8oyIO0VVU=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: References:In-Reply-To:Message-ID:To:From:Date:DKIM-Signature: DKIM-Signature; b=TmNW2luX5h7wcbrOUO1LfCNo6RLa7ooI0EH+3POrxy3PaXBldbzFPfhFCTYix4VnAy8iCXKRQl UUnx+QMnfE/rATomgDCGIC8QdIRoK2UL813n+gs1yvkhkTlqt9B3FTJUIdfWIzEDK1zxFFpFyC KCGso06PrOlwo57rSu3rzvqxrCyX5hQ6YfJdar8CFEBaL0RW/GAnmKjEze8Qh4nU/Xx9oh8cvu 5G4FX/YirEKJ0LIlXAnNkBYEW4Z7/pyQ3Bwqtj0V12GJi9frd/ukIQtClrbuj6fGGqg7Z94uYT cCmE+NOeAUR5UuuPW6CXEpLJe68drSjGEEj4lBAPJPYU6Q==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Subject:References:In-Reply-To:Message-ID:To:From: Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=MOIO6leO19wj47x/KFCIAHcuNdsj2z/NENuEsci4UEY=; b=p5r/ePILw/5VWIQItFpr8pZVdn HOACkQ6CKSDVLGe+R0d0rIq8YqrC3HJ7iw3JNoQIdI4XBFuaHUuVWAfzItPH8zLZV62GsrnVydpa7 NyWMpr+JGQAM1Yh4QDL9HTlfGuPCT8BQTw/CXKn35z4YzUyNBy/JqYCs3C5LeD4v5nXZj8fgEgNY2 uNUD87YnDeVX556fOCwzw1ZjGjFt4Mk7puwKHlwzzwJZ6DHIvs2IT/QuOEkKdT/T4qBe5gDGitIEF NmyLGnHMdjW62nyFD2emfmZv2i5wpLUZoUJRtD2xOYc5NTBsc5JATseCW9eaQ/b03M73qg6oMGPAj WG3J/92g==; Received: from authenticated user by zero.zsh.org with local id 1n4n7w-00090q-RT; Tue, 04 Jan 2022 16:57:36 +0000 Authentication-Results: zsh.org; iprev=pass (smtpq1.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.96; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from smtpq1.tb.ukmail.iss.as9143.net ([212.54.57.96]:56872) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1n4n7g-0008ie-HM; Tue, 04 Jan 2022 16:57:20 +0000 Received: from [212.54.57.82] (helo=smtp3.tb.ukmail.iss.as9143.net) by smtpq1.tb.ukmail.iss.as9143.net with esmtp (Exim 4.90_1) (envelope-from ) id 1n4n7g-0004vT-7G for zsh-workers@zsh.org; Tue, 04 Jan 2022 17:57:20 +0100 Received: from oxbe3.tb.ukmail.iss.as9143.net ([172.25.160.134]) by smtp3.tb.ukmail.iss.as9143.net with ESMTP id 4n7fnSPn6lejn4n7gnAozA; Tue, 04 Jan 2022 17:57:20 +0100 X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-workers@zsh.org X-SourceIP: 172.25.160.134 X-CNFS-Analysis: v=2.4 cv=LMt1/ba9 c=1 sm=1 tr=0 ts=61d47c70 cx=a_exe a=rX2mKgs1IZJU9lF6pltyEQ==:117 a=I_Av47A-8eYA:10 a=IkcTkHD0fZMA:10 a=vinPr5In5y8A:10 a=pGLkceISAAAA:8 a=XCUQbFLJ7ONwKte8RIYA:9 a=QEXdDO2ut3YA:10 X-Authenticated-Sender: p.w.stephenson@ntlworld.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntlworld.com; s=meg.feb2017; t=1641315440; bh=yIFPlvrJpWwoJK6+qCwRG4CyV5Dbfd5ufk8oyIO0VVU=; h=Date:From:To:In-Reply-To:References:Subject; b=E8GC+cyi2DGjNM2fMTE8jdKLiM40SUGRQM452syrT+DU3osJstqS5uhwabwY47z4w vmXIdTrFLLgfPH4LzmMBkXTzzDraQyOtI8qgbUxsfVb+JBUpsb9yEP6TFiCpLc6Ki8 Lft16riv7cLv9wQvZS7hulLIFS7qnXjTRRQ8kj+uo129fWlKacb4xwPU3RQLlIG51x 2gegqFm47ZE24i+jThZTiomDIrD2CY1r3TvmshxrBSkF6KeNepCzc9qG4tnHg07XXY C+5Qn61QrzfCwMpeQ8xNw4tRHIlR/XnATYNCJXwAeedfP24/mK4i/OpJTLrs2wFhgB U39k1455+BflQ== Date: Tue, 4 Jan 2022 16:57:19 +0000 (GMT) From: Peter Stephenson To: linuxtechguy@gmail.com, Jim , devs Message-ID: <750958709.583242.1641315439945@mail2.virginmedia.com> In-Reply-To: References: <859283910.580170.1641310386474@mail2.virginmedia.com> Subject: Re: Missing keyword 'tied' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev72 X-Originating-IP: 165.225.17.146 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4xfJ3whlW12UQWL1YujWYVmZO1cJkkEbdD8hfFBkV0TlA6806VoYJ3GlRi5htVsX7Up/ykCJYB263XbINNpMnF+QlLXCv5J6bf4jZJPf50dQHoTUl8PZX5 wGIIYkcmFkZh5mUbIjNDBcc43ac18po8AjFLzAhaGWjJ4Lm2abqwQnQ+nwbAbX7ag2u9NKoEbKSgHzMlJuI1YdbcDZjcVgNd3zT+xGEeaDwN96n8aiejxqZx yHiTH3u2gxoDUEBVBJ9LRN8pO8WZLtaIoXL5OWOSJp9hjtoBDLyEarwjKgWaxRsW X-Seq: 49674 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: > On 04 January 2022 at 16:22 Jim wrote: > Your patch triggered something. The keyword 'special' for the parameter > flag 't' is defined as "for special parameters defined by the shell". > Should it > also include user-defined parameters? Case in point, parameters used by > ztie to "tie" to a gdbm file. Technically, the parameter itself is defined > by the > user, yet it has the 'special' keyword. Sorry if this seems to be > nitpicking, > but 57 years of computer logic it's hard to break the habit. > > Also when I first started using ztie I expected the parameter to include the > key word 'tied'. Had to train myself to check parameter zgdbm_tied. In this case the generic parameter code is getting confused by the details of the ztie interface, so that would take some special casing to sort out --- unless we simply document that ztie creates special parameters, which is probably the way to go. If the (t) flag says they're special, they're special, no matter how they were created; it's the same flag that the shell uses everywhere to test this. "Tied" in the sense in the generic parameter code has a different meaning, which doesn't apply to database ties (we should have been more careful about the language). I don't think it's possible for the (t) code to detect the existence of a database link without doing a lot more work than it's designed for. pws