From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,TRACKER_ID autolearn=no autolearn_force=no version=3.4.4 Received: from tb-ob0.topicbox.com (tb-ob0.topicbox.com [64.147.108.117]) by inbox.vuxu.org (Postfix) with ESMTP id DE1922CC41 for ; Mon, 30 Sep 2024 18:38:46 +0200 (CEST) Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob0.topicbox.com (Postfix) with ESMTP id 970382BFDD for ; Mon, 30 Sep 2024 12:38:45 -0400 (EDT) (envelope-from bounce.mM1635aab43645d33b023a7894.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 92C8B2798C72; Mon, 30 Sep 2024 12:38:45 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=from:to :message-id:date:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:subject:list-unsubscribe; s=dkim-1; t= 1727714325; x=1727800725; bh=VO+bnmr5FHGbOb3Zj5TuehqtaUHuWopLbJw pPUDiJ9M=; b=gqFTObYPSBaygxN3E06AF8BSJXgRlCTyJ0ICW6nMYykm4v4VJ6Z eX1KahAQL0bjGa0rzc2qpGtW33JQeH9FDVdX9XZCiUX/2eMfZ7S8SL05wpubAqY2 pCz6CbS1CiKm0lYWXVEjkZvfxMceVCVnhw1lwQ5Le6Qa7uldctcOLBlA= From: kalterdev@gmail.com To: 9fans <9fans@9fans.net> Message-Id: <17277143160.5558.614893@composer.9fans.topicbox.com> Date: Mon, 30 Sep 2024 12:38:36 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=17277143161.De820a.614893 Content-Transfer-Encoding: 7bit Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 71046f1a-7f4a-11ef-a630-23142b2d11b0 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UODdjNjczNTUzZDJjZDgyOS1NMTYzNWFhYjQzNjQ1ZDMzYjAyM2E3?= =?UTF-8?B?ODk0Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Subject: [9fans] Bug: Acme: 2-1 chord fails to escape its argument List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M1635aab43645d33b023a7894:1:V4iPDDbqwyIG4erp_7iWpCwt07htfk9mrioygEusASA --17277143161.De820a.614893 Date: Mon, 30 Sep 2024 12:38:36 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Expected behavior 2-1 chord must always escape its argument, so that the shell doesn't mangle it. Unexpected behavior It fails to escape the argument. I haven't yet succeeded at breaking 2-1 chord with rc shell. But it's easy to break it with acmeshell=3D/bin/sh. Steps to reproduce the problem Run Acme with acmeshell=3D/bin/sh. Run 2-1 chord on
Expected behavior

=
2-1 chord must always escape its argument, so that the shell doesn'= ;t
mangle it.

Unexpected b= ehavior

It fails to escape the argument.

I haven't yet succeeded at breaking 2-1= chord with rc shell. But it's
easy to break it with ac= meshell=3D/bin/sh.

Steps to reproduce the = problem

Run Acme with acmeshell=3D/bin/sh.= Run 2-1 chord on <echo with '$HOME'
as its argu= ment. '$HOME'\n must be printed. Instead, it prints the
=
actual value of home directory.

plan9= port version

a2567fcac9851e5cc965a236679f5= 68b0e79cff2

OS version
macOS 14.5 (23F79)

= --17277143161.De820a.614893--