On Mon 05 Sep 2005 at 14:20:43 +0200, you wrote:

> X-Loop: [EMAIL PROTECTED]
> Reply-To: Javier Kohen <[EMAIL PROTECTED]>,
>       [EMAIL PROTECTED]
> X-Debian-PR-Message: report 310102
> X-Debian-PR-Package: bash
> X-Debian-PR-Keywords: 
> X-Comment: RFC 2476 MSA function at avas-mr01.fibertel.com.ar logged sender 
> identity as: jkohen
> X-Mailer: reportbug 3.12
> X-Fib-Al-Info: Al
> X-Fib-Al-MRId: ee140254badeb3796f6e648c8893e684
> X-Fib-Al-From: [EMAIL PROTECTED]
> Delivered-To: [EMAIL PROTECTED]
> X-Virus-Scanned: by amavisd-new at cs.tu-berlin.de (including spamassassin)
> X-Spam-Status: No, hits=0 tagged_above=0 required=3 tests=
> X-Spam-Level: 
> Resent-From: Javier Kohen <[EMAIL PROTECTED]>
> Resent-To: debian-bugs-dist@lists.debian.org
> Resent-Cc: Matthias Klose <[EMAIL PROTECTED]>
> Resent-Date: Sat, 21 May 2005 16:03:02 UTC
> Resent-Message-ID: <[EMAIL PROTECTED]>
> Resent-Sender: Debian BTS <[EMAIL PROTECTED]>
> From: Javier Kohen <[EMAIL PROTECTED]>
> To: Debian Bug Tracking System <[EMAIL PROTECTED]>
> Subject: Bug#310102: completion: tar 1.15+ handles compressed files without 
> [zj] switches
> Date: Sat, 21 May 2005 12:45:16 -0300
> 
> Package: bash
> Version: 3.0-14
> Severity: minor
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Since version 1.15, tar is able to detect the compression method used to
> pack tar archives, hence the z and j switches are not really needed.
> Completion still assumes that tar xf <complete> can only complete .tar
> files and not tar.gz, tar.bz2, etc.
> 
> 
> - -- System Information:
> Debian Release: 3.1
> Architecture: amd64 (x86_64)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.11-ck6
> Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
> 
> Versions of packages bash depends on:
> ii  base-files                  3.1.2        Debian base system miscellaneous 
> f
> ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries 
> an
> ii  libncurses5                 5.4-4        Shared libraries for terminal 
> hand
> ii  passwd                      1:4.0.3-32   change and administer password 
> and
> 
> - -- no debconf information

This is only true for GNU tar. To retain compatibility with the largest
number of systems, I will have to leave the completion as it is for now.

On the other hand, we could detect the version of tar at source time and
install a modified version of the function if tar >= 1.15. The question
is: is it worth it? People are so used to having to specify the archive
type in the form of a command line option that it will probably take
years before this becomes a significant annoyance.

Opinions?

Ian
-- 
Ian Macdonald               | You can't go home again, unless you set
[EMAIL PROTECTED]             | $HOME. 
http://www.caliban.org/     | 
                            | 
                            | 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to