diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1555,7 +1555,7 @@ quote_as_word (out, in, double_dollars) { if (index ("^;'\"*?[]$<>(){}|&~`\\ \t\r\n\f\v", *in) != 0) *out++ = '\\'; - if (*in == '$') + if (double_dollars && *in == '$') *out++ = '$'; *out++ = *in++; } |