Re: [RFC] shred: --verbose output to stdout

2008-01-12 Thread Steven Schubiger
Jim Meyering <[EMAIL PROTECTED]> wrote: > shred uses stdout when FILE is "-", so its verbose output > must continue to go to stderr. TODO patch attached. Steven Schubiger diff --git a/TODO b/TODO index 473eeca..b7e8a69 100644 --- a/TODO +++ b/TODO @@ -43,6 +43,8 @@ See if we can be consistent ab

Re: [RFC] shred: --verbose output to stdout

2008-01-12 Thread Jim Meyering
Steven Schubiger <[EMAIL PROTECTED]> wrote: > After skimming through a bit of code from shred, I was eager > to see how easy it would be to change the corresponding calls > of error() that are relevant to verbosity output to call some > "equivalent" function, which outputs to stdout, i.e. > > stat

[RFC] shred: --verbose output to stdout

2008-01-11 Thread Steven Schubiger
After skimming through a bit of code from shred, I was eager to see how easy it would be to change the corresponding calls of error() that are relevant to verbosity output to call some "equivalent" function, which outputs to stdout, i.e. static void output (const char const *fmt, ...) { va_l