Lines Matching defs:redir
63 #include "redir.h"
493 exphere(union node *redir, struct arglist *fn)
501 redir->nhere.expdoc = "";
511 expandarg(redir->nhere.doc, fn, 0);
512 redir->nhere.expdoc = fn->args[0];
533 union node *redir;
535 for (redir = n ; redir ; redir = redir->nfile.next) {
538 switch (redir->type) {
544 expandarg(redir->nfile.fname, &fn, EXP_TILDE);
545 redir->nfile.expfname = fn.args[0];
549 if (redir->ndup.vname) {
550 expandarg(redir->ndup.vname, &fn, EXP_TILDE);
551 fixredir(redir, fn.args[0], 1);
555 exphere(redir, &fn);