summaryrefslogtreecommitdiff
path: root/bin/sh/parser.c
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2001-03-05 11:05:49 +0000
committerJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2001-03-05 11:05:49 +0000
commit9bd5190caa30ac09a0832c55bfa05ff211f82be5 (patch)
treea0b543f444a1c07e45449352ba84d66299b07270 /bin/sh/parser.c
parent74d89837e7842004ac17c6960f25cdae4a797e77 (diff)
Notes
Diffstat (limited to 'bin/sh/parser.c')
-rw-r--r--bin/sh/parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/sh/parser.c b/bin/sh/parser.c
index a65dfb3b4253..08d25696ffc2 100644
--- a/bin/sh/parser.c
+++ b/bin/sh/parser.c
@@ -1138,6 +1138,8 @@ parseredir: {
}
} else if (c == '&')
np->type = NFROMFD;
+ else if (c == '>')
+ np->type = NFROMTO;
else {
np->type = NFROM;
pungetc();