Package: bash-completion Version: 1:1.1-3 Severity: normal File: /etc/bash_completion.d/tar Tags: patch
tar supports lzma-compressed archives (J-option). Files compressed like this will often have the extension .t(ar.)xz, like the uClibc upstream sources. The tar completion file already supports this when explicitly using the J option, but it's not included when compression auto-detect is used. This patch fixes the oversight. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.33-2-amd64 (SMP w/2 CPU cores) Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages bash-completion depends on: ii bash 4.1-3 The GNU Bourne Again SHell bash-completion recommends no packages. bash-completion suggests no packages. -- Configuration Files: /etc/bash_completion.d/tar changed [not included] -- no debconf information
--- /etc/bash_completion.d/tar.old 2009-10-10 18:13:19.000000000 +0200 +++ /etc/bash_completion.d/tar 2010-05-16 17:18:35.808616209 +0200 @@ -19,7 +19,7 @@ return 0 ;; +([^IZzJjy])f) - ext='t@(ar?(.@(Z|gz|bz?(2)|lz?(ma)))|gz|bz?(2)|lz?(ma))' + ext='t@(ar?(.@(Z|gz|bz?(2)|lz?(ma)|xz))|gz|bz?(2)|lz?(ma)|xz)' regex='t\(ar\(\.\(Z\|gz\|bz2\?\|lzma\|xz\)\)\?\|gz\|bz2\?\|lzma\|xz\)' ;; *[Zz]*f)