diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-12-12 21:53:04 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-12-12 21:53:04 -0500 |
commit | 68dfe178e929a589393f63a3778d4e5d337c1e32 (patch) | |
tree | af8a9861a376bebb152fdffe0a05e9edeff1eda6 /print_cmd.c | |
parent | 5cdaaf76eca01f174af19f0c4ecca595b05e4f4f (diff) | |
download | bash-68dfe178e929a589393f63a3778d4e5d337c1e32.tar.gz |
commit bash-20100121 snapshot
Diffstat (limited to 'print_cmd.c')
-rw-r--r-- | print_cmd.c | 5 |
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; |