From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id LsJyB9B5wGgGCz4AWB0awg (envelope-from ) for ; Tue, 09 Sep 2025 15:02:40 -0400 Received: by simark.ca (Postfix, from userid 112) id F38941E0BA; Tue, 09 Sep 2025 15:02:39 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 1E3121E04C for ; Tue, 09 Sep 2025 15:02:39 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AB1883858C78 for ; Tue, 9 Sep 2025 19:02:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AB1883858C78 Received: from mail-out.m-online.net (mail-out.m-online.net [IPv6:2001:a60:0:28:0:1:25:1]) by sourceware.org (Postfix) with ESMTPS id 776D23858D35 for ; Tue, 9 Sep 2025 19:02:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 776D23858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nefkom.net ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 776D23858D35 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:a60:0:28:0:1:25:1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1757444525; cv=none; b=A/d0vUscbRXFS0RHQqctMCIoqYqC0a/gZC2PhSw23Y0TrtKOurJiNYTZ8bAEBBGcYq+nz86D5wEdNOtpUCtJ1yX5mGf6e058ps2NzL8UjYZ/VNmkV3Qj5YvLRvN51nbxX7ajLXuaEfrv10ZAR+Ie7Zus5kXP9cf/SHbvO5+M8yA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1757444525; c=relaxed/simple; bh=3kIckYcesjcWgm6SWW8PyGEg1jy8IH8ELNPGHYHQnAc=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=Nx83xpSJLT/lTCcYW2UFalnLmgzkFJfV95EZUn4Ag5hvzROPJIRcsS7pXQX1m/3tZNEnC2NqCm7oEEJ1b6i3D40uYau2c2YjEAlbcPCWvTVpa2Mn2ytQWuNZFI+hyR/ryrQv8aRbFmJtERvgb+qcPV66tuoP0zsxMYIzACJ+Dps= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 776D23858D35 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4cLtV36hRMz1sMfT; Tue, 9 Sep 2025 21:02:03 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4cLtV36BJ1z1qqlW; Tue, 9 Sep 2025 21:02:03 +0200 (CEST) X-Virus-Scanned: amavis at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavis, port 10024) with ESMTP id 3ijYm9FANog9; Tue, 9 Sep 2025 21:01:55 +0200 (CEST) X-Auth-Info: TnOigiQmiMdcT1PmlYLkE8JjHI19BE9omfI2mdDtbSecrDvZITYGMfV9PnqRupsZ Received: from igel.home (aftr-82-135-83-199.dynamic.mnet-online.de [82.135.83.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 9 Sep 2025 21:01:55 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id E68082C1951; Tue, 9 Sep 2025 21:01:54 +0200 (CEST) From: Andreas Schwab To: Tom Tromey Cc: Tom de Vries , Tom Tromey , gdb-patches@sourceware.org Subject: Re: [PATCH] Don't nest double quotes in tuiterm.exp In-Reply-To: <87ms73pl12.fsf@tromey.com> (Tom Tromey's message of "Tue, 09 Sep 2025 11:56:25 -0600") References: <20250730180715.3443362-1-tromey@adacore.com> <33d74239-c166-4d5a-897d-977c000327df@suse.de> <0028f712-43b2-4faa-a65f-b173e6bfaabb@suse.de> <87ms73pl12.fsf@tromey.com> Date: Tue, 09 Sep 2025 21:01:54 +0200 Message-ID: <87ldmnphzx.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On Sep 09 2025, Tom Tromey wrote: > I wouldn't be overly surprised if I was mistaken about this, but on the > other hand, nested double-quotes seems quite strange and I'd prefer us > to avoid it even if it is legal somehow. There are no nested double quotes in tcl, but a nested command substitution can contain any valid tcl script, including double quoted words (Tcl(n) explains this pretty well). This is similar to how command substitutions are handled in the posix shell (when using $(...)) when they occur in a double quoted context. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."