aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2002-10-08 11:22:49 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2002-10-08 11:22:49 +0000
commitc121fd80b89629b9b50242cbc8fb0fc6f4c48946 (patch)
treeca04efa366286bf2ecbc3dd250f40bef3ebcd13c /bin
parentae02ceb621563eafd0b3f0bc13453d7069841602 (diff)
Notes
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/expand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/expand.c b/bin/sh/expand.c
index a8cad11e59b6..73cedc079354 100644
--- a/bin/sh/expand.c
+++ b/bin/sh/expand.c
@@ -213,7 +213,7 @@ STATIC void
argstr(char *p, int flag)
{
char c;
- int quotes = flag & (EXP_FULL | EXP_CASE); /* do CTLESC */
+ int quotes = flag & (EXP_FULL | EXP_CASE | EXP_REDIR); /* do CTLESC */
int firsteq = 1;
if (*p == '~' && (flag & (EXP_TILDE | EXP_VARTILDE)))