diff options
author | Jille Timmermans <bitbucket@junk.quis.cx> | 2018-12-01 17:02:29 +0000 |
---|---|---|
committer | Michael Fromberger <michael.j.fromberger+bit@gmail.com> | 2018-12-01 17:02:29 +0000 |
commit | d1f7d07f50f1fdcfd7ebea2566176055729c48b6 (patch) | |
tree | 595c33dd8bab739ddcb07928009a8738458c5d11 | |
parent | a37ff396dbd8cd3e0420f5c33ac8e17f826e6d5e (diff) | |
download | go-creachadair-shell-d1f7d07f50f1fdcfd7ebea2566176055729c48b6.tar.gz |
Merged in JilleT/shell/JilleT/always-quote--1543682744303 (pull request #1)
Always quote '&'. This character was accidentally omitted from the list of
characters requiring quotation.
-rw-r--r-- | shell.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ import ( // These characters must be quoted to escape special meaning. This list // doesn't include the single quote. -const mustQuote = "|^;<>()$\\\"\t\n`" +const mustQuote = "|^;&<>()$\\\"\t\n`" // These characters should be quoted to escape special meaning, since in some // contexts they are special (e.g., "x=y" in command position, "*" for globs). |