bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] split: --verbose output to stdout


From: Steven Schubiger
Subject: [PATCH] split: --verbose output to stdout
Date: Sat, 12 Jan 2008 18:10:36 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Patch attached (tested).

Steven Schubiger

diff --git a/src/split.c b/src/split.c
index 5807a1c..2ad0baf 100644
--- a/src/split.c
+++ b/src/split.c
@@ -208,7 +208,7 @@ cwrite (bool new_file_flag, const char *bp, size_t bytes)
 
       next_file_name ();
       if (verbose)
-       fprintf (stderr, _("creating file %s\n"), quote (outfile));
+       fprintf (stdout, _("creating file %s\n"), quote (outfile));
       output_desc = open (outfile,
                          O_WRONLY | O_CREAT | O_TRUNC | O_BINARY,
                          (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP




reply via email to

[Prev in Thread] Current Thread [Next in Thread]