seltsamer tar-effekt
Achim Neumann
Achim.Neumann at CIMTEXTIL.DE
Fri Sep 22 14:55:12 CEST 2000
On Fri, Sep 22, 2000 at 10:51:37AM +0200, Hans-Joachim Hoetger wrote:
> On Fri, Sep 22, 2000 at 10:35:48AM +0200, Achim Neumann wrote:
> > > > > tar -c * | gzip -c > bla.tar.gz
> > > > >
> >
> > Der obrige Aufruf klappt bei mir nur wenn $TAPE nicht gesetzt ist.
>
> Moin
> Du meinst: "its not a bug - it's a feature!"
> gtar impliziert also 'f' wenn das Environment "TAPE" nicht
> gesetzt ist, und schreibt auf STDOUT wenn der filename nicht
> angegeben ist?
Wenn die Option file (f) mit Parameter nicht angegeben ist, wird
$TAPE genommen.
Aus der info page:
If you do not specify the target archive, `tar' uses the value of
the environment variable `TAPE', or, if this has not been set, the
default archive name.
und weiter:
Verbose output appears on the standard output except when an archive
is being written to the standard output, as with
`tar --create --file=- --verbose' (`tar cfv -', or even
`tar cv'--if the installer let standard output be the default archive).
Also hat dein Installer (Distributor) das default Archive auf stdout
gesetzt.
--
Achim Neumann
-
Hinweise zur Benutzung dieser (und anderer Mailing-Listen) bitte beachten:
--> http://lug-owl.de/mailinglist_hints.html <--
More information about the Linux
mailing list