9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Bug: Acme: 2-1 chord fails to escape its argument
@ 2024-09-30 16:38 kalterdev
  0 siblings, 0 replies; only message in thread
From: kalterdev @ 2024-09-30 16:38 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 813 bytes --]

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=/bin/sh.

Steps to reproduce the problem

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

plan9port version

a2567fcac9851e5cc965a236679f568b0e79cff2

OS version

macOS 14.5 (23F79)

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T87c673553d2cd829-M1635aab43645d33b023a7894
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1713 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-09-30 16:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-30 16:38 [9fans] Bug: Acme: 2-1 chord fails to escape its argument kalterdev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).