summaryrefslogtreecommitdiff
path: root/print_cmd.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-12 21:53:04 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-12 21:53:04 -0500
commit68dfe178e929a589393f63a3778d4e5d337c1e32 (patch)
treeaf8a9861a376bebb152fdffe0a05e9edeff1eda6 /print_cmd.c
parent5cdaaf76eca01f174af19f0c4ecca595b05e4f4f (diff)
downloadbash-68dfe178e929a589393f63a3778d4e5d337c1e32.tar.gz
commit bash-20100121 snapshot
Diffstat (limited to 'print_cmd.c')
-rw-r--r--print_cmd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/print_cmd.c b/print_cmd.c
index 9a41dcbd..bf405c68 100644
--- a/print_cmd.c
+++ b/print_cmd.c
@@ -1120,6 +1120,10 @@ print_redirection (redirect)
cprintf ("{%s}", redir_word->word);
else if (redirector != 0)
cprintf ("%d", redirector);
+#if 0
+ /* Don't need to check whether or not to requote, since original quotes
+ are still intact. The only thing that has happened is that $'...'
+ has been replaced with 'expanded ...'. */
if (ansic_shouldquote (redirect->redirectee.filename->word))
{
char *x;
@@ -1128,6 +1132,7 @@ print_redirection (redirect)
free (x);
}
else
+#endif
cprintf ("<<< %s", redirect->redirectee.filename->word);
break;