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 12:00:31 -0500
User-agent: KMail/1.9.7

On Tuesday 11 December 2007, Radek Brich wrote:
> On Tue 11. of December 2007 09:44:18 Mike Frysinger wrote:
> > 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.
>
> Sure, it is dumb, but good programs should be foolproof, don't you think?

foolproof and over engineering for fools is a fine line
-mike

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


reply via email to

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