if (c & TC_GRPSTART) {
while(next_token(TC_GRPSEQ | TC_GRPTERM) != TC_GRPTERM) {
+ if (t.tclass & TC_NEWLINE) continue;
rollback_token();
chain_group();
}
memcpy(b+len, s, l);
len += l;
}
- b[len] = '\0';
+ if (b) b[len] = '\0';
setvar_p(V[F0], b);
is_f0_split = TRUE;
if (! exiting) {
exiting = TRUE;
+ nextrec = FALSE;
evaluate(endseq.first, &tv);
}
for (envp=environ; *envp; envp++) {
s = bb_xstrdup(*envp);
s1 = strchr(s, '=');
+ if (!s1) {
+ goto keep_going;
+ }
*(s1++) = '\0';
setvar_u(findvar(iamarray(V[ENVIRON]), s), s1);
+keep_going:
free(s);
}