Lines Matching refs:envlen
365 int *urd, envlen, pid, exit, flags, job, dash;
2747 int envlen, skiplen, funk = TT.funcslen, ii, jj = 0, prefix = 0; in run_command() local
2751 for (envlen = skiplen = 0; envlen<arg->c; envlen++) in run_command()
2752 if ((ss = varend(arg->v[envlen]))==arg->v[envlen] || ss[*ss=='+']!='=') in run_command()
2756 if ((s = arg->v[envlen])) { in run_command()
2758 else if (!strcmp(s, "[[")) while (strcmp(arg->v[envlen+skiplen++], "]]")); in run_command()
2760 pp = expand_redir(arg, envlen+skiplen, 0); in run_command()
2773 if (expand_arg(&pp->arg, arg->v[envlen+ii], NO_PATH|NO_SPLIT, &pp->delete)) in run_command()
2786 if (funk != TT.funcslen || (envlen && pp->arg.c) || TT.ff->blk->pipe) { in run_command()
2798 if (envlen) for (; jj<envlen && !pp->exit; jj++) { in run_command()
2813 if (pp->exit || envlen==arg->c) s = 0; // leave $_ alone in run_command()