diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-31 18:03:05 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-31 18:03:05 -0400 |
| commit | a0ac652cd1eebdc42425b34f1685f8cb20cb4eea (patch) | |
| tree | b41c99f8f0fa62eb03d1f5df44d2c501cd5f2976 /lib/shell/shell.tm | |
| parent | a571ccffd795a595e990a3405dcf977aafc33c6c (diff) | |
Simplify quotes by limiting to `,',"
Diffstat (limited to 'lib/shell/shell.tm')
| -rw-r--r-- | lib/shell/shell.tm | 2 |
1 files changed, 1 insertions, 1 deletions
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])) |
