[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] tar -vf /dev/stdout produces corrupted archives
From: |
Radek Brich |
Subject: |
Re: [Bug-tar] tar -vf /dev/stdout produces corrupted archives |
Date: |
Tue, 11 Dec 2007 13:38:22 +0100 |
User-agent: |
KMail/1.9.6 (enterprise 0.20071012.724442) |
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.
> -mike
Sure, it is dumb, but good programs should be foolproof, don't you think?
--
Radek Brich
/__\ Base OS/core services
~~~~~~~~ Red Hat Czech, Brno
signature.asc
Description: This is a digitally signed message part.
Re: [Bug-tar] tar -vf /dev/stdout produces corrupted archives, Radek Brich, 2007/12/11
- Re: [Bug-tar] tar -vf /dev/stdout produces corrupted archives, Sergey Poznyakoff, 2007/12/11
- Re: [Bug-tar] tar -vf /dev/stdout produces corrupted archives, Radek Brich, 2007/12/11
- Re: [Bug-tar] tar -vf /dev/stdout produces corrupted archives, Radek Brich, 2007/12/11
- Re: [Bug-tar] tar -vf /dev/stdout produces corrupted archives, Jim Meyering, 2007/12/12
- Re: [Bug-tar] tar -vf /dev/stdout produces corrupted archives, Radek Brich, 2007/12/12
- Re: [Bug-tar] tar -vf /dev/stdout produces corrupted archives, Radek Brich, 2007/12/12