commit | 0d18c694878223037452043deb22644e63f53eaa | [log] [tgz] |
---|---|---|
author | Kevin Ballard <kevin@sb.org> | Tue Jul 10 23:02:16 2012 -0700 |
committer | Kevin Ballard <kevin@sb.org> | Tue Jul 10 23:02:16 2012 -0700 |
tree | e84494f244665ff39601c75f177af0e0c55908f8 | |
parent | 67f2f295c77597330425b3a75862893e27417d5b [diff] |
Remove \r from the special chars list Bash doesn't actually interpret \r specially at all, so remove it from the list of characters that need escaping.
diff --git a/quote.go b/quote.go index 2cfa912..f45f198 100644 --- a/quote.go +++ b/quote.go
@@ -22,7 +22,7 @@ const ( specialChars = "\\'\"`${[|&;<>()*?!" - extraSpecialChars = " \t\r\n" + extraSpecialChars = " \t\n" prefixChars = "~" )