diff options
author | M. J. Fromberger <michael.j.fromberger@gmail.com> | 2018-12-01 10:09:45 -0800 |
---|---|---|
committer | M. J. Fromberger <michael.j.fromberger@gmail.com> | 2018-12-01 10:09:45 -0800 |
commit | b625bb4113c0c4bd0bb9d96802240f2f97cbf214 (patch) | |
tree | 600f39d1d1f3db985f8050af1c64ee5bbae23e20 | |
parent | 770891e827f86a200e5b53e2353ac63b1c3851c7 (diff) | |
download | go-creachadair-shell-b625bb4113c0c4bd0bb9d96802240f2f97cbf214.tar.gz |
Remove ^ from the list of quote-requiring characters.
In retrospect, when we added & in commit d1f7d07f, we should have been
replacing ^ with it instead. It looks like I typo'd the list.
-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). |