From e5e0eac42c55b007766221e1971fceda3a64bb08 Mon Sep 17 00:00:00 2001 From: ritikrajdev Date: Tue, 14 Sep 2021 04:27:14 +0530 Subject: [PATCH] more - Bug Resolve - new line separated command execution --- text-utils/more.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text-utils/more.c b/text-utils/more.c index 6c538f7246..72953fd8fd 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -1285,7 +1285,7 @@ static void run_shell(struct more_control *ctl, char *filename) putchar('!'); fflush(NULL); if (ctl->previous_command.key == more_kc_run_shell && ctl->shell_line) - fputs(ctl->shell_line, stdout); + fputs(ctl->shell_line, stderr); else { ttyin(ctl, cmdbuf, sizeof(cmdbuf) - 2, '!'); if (strpbrk(cmdbuf, "%!\\")) -- 2.47.3