[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: |
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
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