Fix $(...) construction. Noted and patched by Larry Doolittle
<ldoolitt@recycle.lbl.gov>. I'm just a patch whore. :)
This commit is contained in:
parent
bafd94f154
commit
9f8caf134f
1
hush.c
1
hush.c
@ -1950,6 +1950,7 @@ static int handle_dollar(o_string *dest, struct p_context *ctx, struct in_str *i
|
||||
lookup_param(dest, ctx, &alt);
|
||||
break;
|
||||
case '(':
|
||||
b_getch(input);
|
||||
process_command_subs(dest, ctx, input, ')');
|
||||
break;
|
||||
case '*':
|
||||
|
@ -1950,6 +1950,7 @@ static int handle_dollar(o_string *dest, struct p_context *ctx, struct in_str *i
|
||||
lookup_param(dest, ctx, &alt);
|
||||
break;
|
||||
case '(':
|
||||
b_getch(input);
|
||||
process_command_subs(dest, ctx, input, ')');
|
||||
break;
|
||||
case '*':
|
||||
|
Loading…
Reference in New Issue
Block a user