Browse Source

BUG: Added carrot (^) to characters that need quoting. The solaris shell needs it.

Brad King 18 years ago
parent
commit
07fe611fc6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/kwsys/System.c

+ 1 - 1
Source/kwsys/System.c

@@ -71,7 +71,7 @@ static int kwsysSystem_Shell__CharNeedsQuotesOnUnix(char c)
   return ((c == '\'') || (c == '`') || (c == ';') || (c == '#') ||
           (c == '&') || (c == '$') || (c == '(') || (c == ')') ||
           (c == '~') || (c == '<') || (c == '>') || (c == '|') ||
-          (c == '*') || (c == '\\'));
+          (c == '*') || (c == '^') || (c == '\\'));
 }
 
 /*--------------------------------------------------------------------------*/