complete initial implementation of nofork command substitution (${ command; })

This commit is contained in:
Chet Ramey
2023-05-15 13:30:18 -04:00
parent c375f8f45f
commit e44e3d50de
42 changed files with 4387 additions and 3516 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ struct dstack {
/* characters that can appear following ${ to introduce a function or value
substitution (this is mksh terminology and needs to be changed). */
#define FUNSUB_CHAR(n) ((n) == ' ' || (n) == '\t' || (n) == '\n' || (n) == '|')
#define FUNSUB_CHAR(n) ((n) == ' ' || (n) == '\t' || (n) == '\n' || (n) == '|' || (n) == '(') /* ) */
/* variable declarations from parse.y */
extern struct dstack dstack;