From a0ac652cd1eebdc42425b34f1685f8cb20cb4eea Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 31 Aug 2025 18:03:05 -0400 Subject: Simplify quotes by limiting to `,'," --- lib/shell/shell.tm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/shell/shell.tm') diff --git a/lib/shell/shell.tm b/lib/shell/shell.tm index f9476161..08b36f1a 100644 --- a/lib/shell/shell.tm +++ b/lib/shell/shell.tm @@ -2,7 +2,7 @@ use commands_v1.0 lang Shell convert(text:Text -> Shell) - return Shell.from_text("'" ++ text.replace($/'/, `'"'"'`) ++ "'") + return Shell.from_text("'" ++ text.replace(`'`, `'"'"'`) ++ "'") convert(texts:[Text] -> Shell) return Shell.from_text(" ".join([Shell(t).text for t in texts])) -- cgit v1.2.3