bin/sh/redir.c
1185
static const char *redir_sym[MAX_REDIR - MIN_REDIR + 1] = {
bin/sh/redir.c
1186
[NTO - MIN_REDIR]= ">",
bin/sh/redir.c
1187
[NFROM - MIN_REDIR]= "<",
bin/sh/redir.c
1188
[NTOFD - MIN_REDIR]= ">&",
bin/sh/redir.c
1189
[NFROMFD - MIN_REDIR]= "<&",
bin/sh/redir.c
1190
[NCLOBBER - MIN_REDIR]= ">|",
bin/sh/redir.c
1191
[NAPPEND - MIN_REDIR]= ">>",
bin/sh/redir.c
1192
[NHERE - MIN_REDIR]= "<<",
bin/sh/redir.c
1193
[NXHERE - MIN_REDIR]= "<<",
bin/sh/redir.c
1194
[NFROMTO - MIN_REDIR]= "<>",
bin/sh/redir.c
1202
if (n->type < MIN_REDIR || n->type > MAX_REDIR ||
bin/sh/redir.c
1203
redir_sym[n->type - MIN_REDIR] == NULL)
bin/sh/redir.c
1213
if ((redir_sym[n->type - MIN_REDIR][0] == '<' && n->nfile.fd != 0) ||
bin/sh/redir.c
1214
(redir_sym[n->type - MIN_REDIR][0] == '>' && n->nfile.fd != 1))
bin/sh/redir.c
1217
outstr(redir_sym[n->type - MIN_REDIR], out);