Dirk Heinrichs <[EMAIL PROTECTED]> wrote: > Am Freitag 07 November 2008 09:50:45 schrieb Joerg Schilling: > > > The "correct" official tar syntax does not use '-'. If you like to be 100% > > that a tar command should work, ddon't use '-' in front of options. > > Yes, sure. That's why > > % tar --lzma tvf /gentoo/distfiles/texlive-module-context- > vim.doc-2008.tar.lzma > tar: You must specify one of the `-Acdtrux' options > Try `tar --help' or `tar --usage' for more information. > > just works. Or does it need to be -tvf? The "correct" syntax is the one used > by the version of tar one is using. For the most of us, this is GNU tar.
GNU tar is not 100% with parsing command lines in a standard compliant way, but omitting the '-' is correct. It you add "--lzma" you use a 100% on-portable command line. Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED] (uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily