bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] tar -vf /dev/stdout produces corrupted archives


From: Mike Frysinger
Subject: Re: [Bug-tar] tar -vf /dev/stdout produces corrupted archives
Date: Tue, 11 Dec 2007 03:44:18 -0500
User-agent: KMail/1.9.7

On Tuesday 11 December 2007, fedusr wrote:
> Why is 'tar --create --verbose' output not sent to <stderr>? There could
> be a default value switching <stdout> to <stderr> in '--create'
> operations, and '--list' keeps operating in <stdout> stream mode.
>
> But it remains a little bit strange resp. a dilemma. The 'GNU Coreutils
> Manual' says:

not that this is coreutils ...

verbose output is not error output, thus it goes to stdout.

i'd just say outputting to stdout while attempting to use verbose output is 
kind of dumb.  if you need this voodoo, just use "-" like everyone else 
instead of messing around with /dev/stdout or /proc/self/fd/1 or whatever 
other silly idea pops into your head.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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