commit bash-20040205 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 12:54:32 -05:00
parent 704a1a2a9b
commit f9732a0465
12 changed files with 279 additions and 87 deletions
+7
View File
@@ -775,6 +775,13 @@ print_redirection_list (redirects)
else
hdtail = heredocs = newredir;
}
else if (redirects->instruction == r_duplicating_output_word && redirects->redirector == 1)
{
/* Temporarily translate it as the execution code does. */
redirects->instruction = r_err_and_out;
print_redirection (redirects);
redirects->instruction = r_duplicating_output_word;
}
else
print_redirection (redirects);