Bugs item #312466, was opened at 19.04.2010 02:15 by Igor Murzov
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312466&group_id=100114

Status: Open
Priority: 3
Submitted By: Igor Murzov (garik-guest)
Assigned to: Nobody (None)
Summary: [PATCH try2] Add .txz and .tlz to the list of known extensions to xz 
Distribution: --Distribution-Agnostic--
Originally reported in: None
Milestone: None
Status: None
Original bug number: 


Initial Comment:
xz as gzip understands not only .xz and .lzma extensions, but also .txz and 
.tlz.

PATCH:
>From 25159bdd502af2095eab1b19db14f8db0494a4bb Mon Sep 17 00:00:00 2001
From: Igor Murzov <i...@gplsoft.org>
Date: Mon, 19 Apr 2010 01:40:33 +0400
Subject: [PATCH] Add .txz and .tlz to the list of known extensions for xz

---
 contrib/xz |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/xz b/contrib/xz
index a689205..8f02b1d 100644
--- a/contrib/xz
+++ b/contrib/xz
@@ -20,7 +20,7 @@ _xz()
     local split=false
     _split_longopt && split=true
 
-    local xspec="*.@(xz|lzma)"
+    local xspec="*.@(xz|lzma|txz|tlz)"
 
     case $prev in
         --decompress|--list|--test|!(-*)[dlt]*)
-- 
1.7.0.2



----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312466&group_id=100114

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to