summaryrefslogtreecommitdiff
path: root/print_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'print_cmd.c')
-rw-r--r--print_cmd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/print_cmd.c b/print_cmd.c
index 7524f3d..d1dfd1a 100644
--- a/print_cmd.c
+++ b/print_cmd.c
@@ -879,13 +879,13 @@ print_redirection (redirect)
case r_output_direction:
if (redirector != 1)
cprintf ("%d", redirector);
- cprintf (">%s", redirectee->word);
+ cprintf ("> %s", redirectee->word);
break;
case r_input_direction:
if (redirector != 0)
cprintf ("%d", redirector);
- cprintf ("<%s", redirectee->word);
+ cprintf ("< %s", redirectee->word);
break;
case r_inputa_direction: /* Redirection created by the shell. */
@@ -895,7 +895,7 @@ print_redirection (redirect)
case r_appending_to:
if (redirector != 1)
cprintf ("%d", redirector);
- cprintf (">>%s", redirectee->word);
+ cprintf (">> %s", redirectee->word);
break;
case r_deblank_reading_until:
@@ -975,7 +975,7 @@ print_redirection (redirect)
case r_input_output:
if (redirector != 1)
cprintf ("%d", redirector);
- cprintf ("<>%s", redirectee->word);
+ cprintf ("<> %s", redirectee->word);
break;
case r_output_force: