Lines Matching refs:redir
482 exphere(union node *redir, struct arglist *fn) in exphere() argument
490 redir->nhere.expdoc = ""; in exphere()
500 expandarg(redir->nhere.doc, fn, 0); in exphere()
501 redir->nhere.expdoc = fn->args[0]; in exphere()
522 union node *redir; in expredir() local
524 for (redir = n ; redir ; redir = redir->nfile.next) { in expredir()
527 switch (redir->type) { in expredir()
533 expandarg(redir->nfile.fname, &fn, EXP_TILDE); in expredir()
534 redir->nfile.expfname = fn.args[0]; in expredir()
538 if (redir->ndup.vname) { in expredir()
539 expandarg(redir->ndup.vname, &fn, EXP_TILDE); in expredir()
540 fixredir(redir, fn.args[0], 1); in expredir()
544 exphere(redir, &fn); in expredir()