util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] pull: more - Bug Resolve - new line separated command re execution
@ 2021-09-14 22:04 ritikrajdev
  2021-09-14 22:04 ` [PATCH 1/1] more - Bug Resolve - new line separated command execution ritikrajdev
  0 siblings, 1 reply; 2+ messages in thread
From: ritikrajdev @ 2021-09-14 22:04 UTC (permalink / raw)
  To: util-linux; +Cc: ritikrajdev


The following changes since commit 78001b7af36f685265e21feaf384a4be12118c64:

  Merge branch 'master' of https://github.com/yugart/util-linux (2021-09-07 12:30:15 +0200)

are available in the Git repository at:

  git://github.com/ritikrajdev/util-linux.git more-shell-execution

for you to fetch changes up to e5e0eac42c55b007766221e1971fceda3a64bb08:

  more - Bug Resolve - new line separated command execution (2021-09-14 04:27:14 +0530)

----------------------------------------------------------------
ritikrajdev (1):
  more - Bug Resolve - new line separated command execution

 text-utils/more.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] more - Bug Resolve - new line separated command execution
  2021-09-14 22:04 [PATCH 0/1] pull: more - Bug Resolve - new line separated command re execution ritikrajdev
@ 2021-09-14 22:04 ` ritikrajdev
  0 siblings, 0 replies; 2+ messages in thread
From: ritikrajdev @ 2021-09-14 22:04 UTC (permalink / raw)
  To: util-linux; +Cc: ritikrajdev

---
 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 6c538f724..72953fd8f 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.33.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-14 22:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-14 22:04 [PATCH 0/1] pull: more - Bug Resolve - new line separated command re execution ritikrajdev
2021-09-14 22:04 ` [PATCH 1/1] more - Bug Resolve - new line separated command execution ritikrajdev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).