From d0b4a8c285c6fd79b397dd22131ef3a66d8f3d7f Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 6 Apr 2009 12:09:55 +0000 Subject: [PATCH] hush: add <> and () as "safe" arith chars --- shell/hush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/hush.c b/shell/hush.c index bad2c8044..3aae7d7c1 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -1791,7 +1791,7 @@ static int expand_vars_to_list(o_string *output, int n, char *arg, char or_mask) } if (isdigit(c)) continue; - if (strchr(" \t+-*/%_", c) != NULL) + if (strchr(" \t+-*/%<>()_", c) != NULL) continue; c |= 0x20; /* tolower */ if (c >= 'a' && c <= 'z')