Gentoo Archives: gentoo-user

From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling)
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] lzma archives
Date: Fri, 07 Nov 2008 10:15:13
Message-Id: 4914152d./bdbFNWek/tuJKkR%Joerg.Schilling@fokus.fraunhofer.de
In Reply to: Re: [gentoo-user] lzma archives by Dirk Heinrichs
1 Dirk Heinrichs <dirk.heinrichs.ext@×××.com> wrote:
2
3 > Am Freitag 07 November 2008 09:50:45 schrieb Joerg Schilling:
4 >
5 > > The "correct" official tar syntax does not use '-'. If you like to be 100%
6 > > that a tar command should work, ddon't use '-' in front of options.
7 >
8 > Yes, sure. That's why
9 >
10 > % tar --lzma tvf /gentoo/distfiles/texlive-module-context-
11 > vim.doc-2008.tar.lzma
12 > tar: You must specify one of the `-Acdtrux' options
13 > Try `tar --help' or `tar --usage' for more information.
14 >
15 > just works. Or does it need to be -tvf? The "correct" syntax is the one used
16 > by the version of tar one is using. For the most of us, this is GNU tar.
17
18 GNU tar is not 100% with parsing command lines in a standard compliant way,
19 but omitting the '-' is correct.
20
21 It you add "--lzma" you use a 100% on-portable command line.
22
23 Jörg
24
25 --
26 EMail:joerg@××××××××××××××××××××××××.de (home) Jörg Schilling D-13353 Berlin
27 js@××××××××××××.de (uni)
28 schilling@××××××××××××××××.de (work) Blog: http://schily.blogspot.com/
29 URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

Replies

Subject Author
Re: [gentoo-user] lzma archives Dirk Heinrichs <dirk.heinrichs.ext@×××.com>