From a09dadf1004aa07e2c31d95d6c80247fec1fa646 Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Wed, 6 Feb 2008 08:25:24 +0100 Subject: mkdir, split: write --verbose output to stdout, not stderr. * src/mkdir.c (verbose_output): New function. (announce_mkdir): Use it. * src/split.c (usage): Update. * src/split.c (cwrite): Write to stdout, not stderr. * doc/coreutils.texi (split invocation): Remove the mention of --verbose output being printed to stderr. * tests/mkdir/p-v: Redirect stdout, not stderr. * tests/misc/split-a: Likewise. * NEWS: Mention this change. * TODO: Remove this item. --- tests/mkdir/p-v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/mkdir') diff --git a/tests/mkdir/p-v b/tests/mkdir/p-v index 2c84b41d6..569e9b072 100755 --- a/tests/mkdir/p-v +++ b/tests/mkdir/p-v @@ -1,7 +1,7 @@ #!/bin/sh # Test mkdir -pv. -# Copyright (C) 2006, 2007 Free Software Foundation, Inc. +# Copyright (C) 2006-2008 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -24,7 +24,7 @@ fi . $srcdir/../lang-default . $srcdir/../test-lib.sh -mkdir -pv foo/a/b/c/d 2>out || exit +mkdir -pv foo/a/b/c/d >out || exit diff - out <<\EOF mkdir: created directory `foo' -- cgit v1.2.3-70-g09d2